7 ms·
Tariff: A Python package that imposes tariffs on Python imports
- Imustaskforhelp 1y agooh boy I was thinking of doing something like this for the lolz but I genuinely didn't knew what it meant to put tariff in programming. The author however has it figured out. What an amazing job to create something so mematic I think. A perfect blend of politics and programming.
- akkartik 1y agoWhat is #mipa?
- khaledh 1y agoThere's a PR to fix that: https://github.com/hxu296/tariff/pull/11/files https://github.com/hxu296/tariff/pull/11/files
- alexwwang 1y ago[dead]
- lawrencejgd 1y agoMake Importing Peak Again?
- graemep 1y agoI was hoping this would be a way of penalising developers who add ridiculous numbers of dependencies.
- snvzz 1y agoOr automatically funding projects depended on.
- hughdbrown 1y agoBecause those packages are cheating us.
- 3eb7988a1663 1y agoThe issue tracker + pull requests are also worth browsing: https://github.com/hxu296/tariff/issues https://github.com/hxu296/tariff/issues
- elashri 1y agoThere should be a method to impose base tarrifs of 10% by default on all packages. Even if you are not importing non-existent packages from the penguin Islands.
- jogu 1y agoThe tariff definition is just a dict so it's pretty straightforward to pass a dict that has a default value instead.
- cosmicgadget 1y agoI am going to be so much more productive now that I'm incentivized to code everything from scratch.
- JodieBenitez 1y agoI don't have a horse in the white house race. I'm not even american, so my voice don't count here. But I wish developers would refrain from using the languages tooling to voice political opinions. At least this package I can ignore... but the last time I used npm my terminal looked like both a blend of a protest march and a craigslist page, completely drowning the relevant informations.
- 12_throw_away 1y agowow, sounds awful, you should probably ask for your money back
- decremental 1y ago[dead]
- edent 1y agoI'm pretty glad Alan Turing expressed his political opinions in code.
- sabslikesobs 1y agoYeah. I feel there's a kind of eternal serenity to be found in truly apolitical works. For everyone to put their connection to Today aside and share in something timeless---that really feels like genuine connection to others.
- exe34 1y agoI feel it's dehumanising to expect people to provide free work and hide their lived struggles. There are trans people contributing top notch code to the community - I don't want them to feel like they have to hide their existence and the ongoing persecution of their kind and produce apolitical code just because it makes some people uncomfortable to see somebody else suffer.
- Planktonne 1y ago> For everyone to put their connection to Today aside and share in something timeless This is a political position.
- moktonar 1y agoWell.. this might not be as silly as it seems..
- norskeld 1y agoroll-safe.jpg tariff.set({ "numpy": -100 })
- Lvl999Noob 1y agoFeature request! Could this automatically figure out which country the package is from, then impose the at-that-time current tariff? And maybe work out whether the dev is in USA or outside. A best effort is fine! (Actually, mid effort is probably better; more true to the source)
- touristtam 1y agoI feel I need this for node....