hxu296/tariff
The official repository for tariff observed · 2026-08-28
Health v2 · maintenance only
27/100
- Activity 16
- Release rhythm 35
- Longevity 36
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 510
- days_rel: n/a
- days_push: 504
- n_releases_24m: 0
Adoption not part of the score
3119 stars · 41 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TARIFF is a parody Python package that imposes 'tariffs' on imports, artificially slowing down specified packages by a configurable percentage using import hooks. It announces each tariff with a humorous message, making it a joke tool rather than production software.
Use cases
- slow down imports of specific python packages as a joke
- prank coworkers by making numpy imports slower
- demonstrate python import hooks and monkey-patching
- add humorous messages to import statements
- learn how python import machinery works
When to choose
- you want a novelty or gag package for fun
- you're teaching or demoing python import hooks
- you want a lighthearted prank for a codebase
When to avoid
- you need real performance optimization or import profiling
- you're building production software
- you need serious dependency or import-time analysis
Facets
library · maturity experimental
developer-tools plugin-system developer-tools programming-languages python cross-platform parody monkey-patch import-hooks novelty humor
3 sources
- readme: https://github.com/hxu296/tariff · fetched 2026-08-28 · 1d8551544b94
- homepage: https://pypi.org/project/tariff/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/tariff/json · fetched 2026-08-29 · deb00634ef7b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hxu296/tariff | main | 27 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem