Tariff: A Python package that imposes tariffs on Python imports
a year ago
- #parody
- #python
- #import-tariff
- TARIFF is a parody Python package that imposes tariffs on imports to make them slower based on specified percentages.
- Install via pip: `pip install tariff`.
- Set tariff rates for packages (e.g., 50% on numpy, 200% on pandas).
- When importing a tariffed package, it runs slower and displays a message about the tariff.
- Example output: 'JUST IMPOSED a 50% TARIFF on numpy! Original import took 45000 us, now takes 67500 us.'
- Motivation: A humorous take on 'putting America first' by making foreign imports 'expensive'.
- License: Parody package, use at your own risk.
- Project details include download links, file sizes, and hashes for source and built distributions.