👊 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! #MIPA
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!
Release files for tariff 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tariff-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tariff-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / tariff-1.0.0.tar.gz
| Download URL | tariff-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24a8d49034398a7820d6f9eb1d345476f0d0bfcb67f75ce266284943208596cd
|
|
BLAKE2b-256 checksum How to use checksums |
6e868a6d8b6c88cbfa42a7f20d7a0bf166ec621e4b0d4f89b2910a539452d587
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / tariff-1.0.0-py3-none-any.whl
| Download URL | tariff-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20d738a789f96146ae49de4fffc000ea9942bd4335f0cdc336d2c824e6aa063b
|
|
BLAKE2b-256 checksum How to use checksums |
8eae6f57db1138cfce911d19113e8d931a739858e0116ca3a2a3e391748cb5ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|