Reduce them later. Tell your boss you found a 2x speedup.
Set it to -1000% and enjoy your new lightning-fast imports!
Hopefully it maxes out your CPU and memory for no reason.
Is there a way that I can enforce this as root to all of my users?
I don’t get why people share twitter screenshot instead of the image itself
I can play this game as well
This is a bluesky screenshot, not a twitter screenshot. This is to show, where I reposted this from.
This is the web: we can attribute source with link, and the original source in markdown could be quoted without breaking accessibility. The web is built for it.
👊 TARIFF 🔥
The GREATEST, most TREMENDOUS Python package that makes importing great again!
About
TARIFF is a fantastic tool that lets you impose import tariffs on Python packages. We’re going to bring manufacturing BACK to your codebase by making foreign imports more EXPENSIVE!
Installation
pip install tariff
Usage
import tariff # Set your tariff rates (package_name: percentage) tariff.set({ "numpy": 50, # 50% tariff on numpy "pandas": 200, # 200% tariff on pandas "requests": 150 # 150% tariff on requests }) # Now when you import these packages, they'll be TARIFFED! import numpy # This will be 50% slower import pandas # This will be 200% slower
Text: it’s accessible!
That’s what I don’t understand. Usually you quote the original source. What if it was a video?
Use the download picture there, use the upload picture here and post a link to the source?
🎶 Non, rien de rien. Non, je ne regrette rien. 🎶
Would it be for giving credit it to the Tweeter?
Twitter users don’t deserve credit.
Lol who downvoted this
The twitter guy didnt share the link to the source
Pandas was always 200% slow, nothing lost there.
If you can tariff penguin island you could also tariff polars, which isn’t slow.
Not feature complete, needs to be tied with a RNG to determine when TARIFF ON and TARIFF OFF
Hidden feature: Defines a
tariff.admin.impeach
function that increments a global counter and does absolutely nothing else
This sure as fuck better check locale for US only!
That’s called snap on ubuntu
Importing pandas and numpy without the pd and np aliases looks weird.
extra 4% tariff on aliased packages
This would actually be good for npm though…
Are you trying to say npm doesn’t implement this yet?
how so lol
The extra time is spent mining $TRUMP
Tap for spoiler
I know it’s PoS, it’s just funnier this way, don’t come at me.
You can smuggle imports using importlib.
We’re gonna build a firewall and importlib is gonna pay for it!
Having to import my tariff management solution is a critical national security risk. Needs to be built-in. PEP soon, please?