Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👊 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 (country: percentage)
tariff.set({
    "America": 0,  # NO tariffs on American-made packages!
    "China": 145,  # 145% tariff on Chinese packages
    "Vietnam": 47  # 47% tariff on Vietnamese packages
})

# Now when you import these packages, they'll be TARIFFED!
import numpy   # This might be tariffed or not depending on ChatGPT response!
import pandas  # This will almost always result in a 145% tariff because pandas are obviously Chinese to our state-of-the-art AI.

How It Works

When you import a package that has a tariff:

  1. TARIFF measures how long the original import takes
  2. TARIFF makes the import take longer based on your tariff percentage
  3. 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!

About

Fork of tariff with AI! 😭

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages