hxu296/tariff
hxu296/tariff has 3,108 GitHub stars and 43 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 19:33 UTC. Last push 2025-04-16.
The official repository for tariff
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original👊 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
How It Works
When you import a package that has a tariff:
- TARIFF measures how long the original import takes
- TARIFF makes the import take longer based on your tariff percentage
- TARIFF announces the tariff with a TREMENDOUS message
Example Output
JUST IMPOSED a 50% TARIFF on numpy! Original import took 45000 us, now takes 67500 us. American packages are WINNING AGAIN! #MIGA
Why TARIFF?
Because foreign packages have been STEALING our CPU cycles for TOO LONG! It's time to put AMERICA FIRST and make importing FAIR and BALANCED again!
License
This is a parody package. Use at your own risk. MAKE IMPORTING GREAT AGAIN!
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,444 starspublic-apis/public-apis
A collective list of free APIs
496,762 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
438,060 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,071 stars