# hxu296/tariff

The official repository for tariff

Repository: https://github.com/hxu296/tariff
Canonical: https://ross.abutalabs.com/products/tariff
Homepage: https://pypi.org/project/tariff/
Language: Python
License: MIT
License Family: permissive
Last push: 2025-04-16T07:55:46+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 16, release rhythm 35, longevity 36
- inputs: {"age_days": 510, "days_push": 504, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3119, forks 41 (observed 2026-08-28T04:07:44.255990+00:00)

## What it is
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
- artifact type: library
- maturity: experimental
- function: developer-tools, plugin-system
- domain: developer-tools, programming-languages
- platform: python, cross-platform
- tags: parody, monkey-patch, import-hooks, novelty, humor

## Member repositories
- hxu296/tariff (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.255990+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:37.835279+00:00, confidence not recorded.
  - readme: https://github.com/hxu296/tariff (fetched 2026-08-28T04:07:44.255990+00:00, sha 1d8551544b94)
  - homepage: https://pypi.org/project/tariff/ (fetched 2026-08-29T09:41:45.501448+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/tariff/json (fetched 2026-08-29T09:41:45.510402+00:00, sha deb00634ef7b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
