this post was submitted on 18 Apr 2025
856 points (98.1% liked)

Programmer Humor

22798 readers
1139 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] lmmarsano@lemmynsfw.com 11 points 1 week ago* (last edited 1 week ago)

This is the web: we can attribute source with link, and the original source in markdown could be quoted without breaking accessibility. The web is built for it.

๐Ÿ‘Š TARIFF ๐Ÿ”ฅ

The GREATEST, most TREMENDOUS Python package that makes importing great again!

MIGA: make importing great again. pip.

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!

meme: Breaking news: 34% tariff on python imports. pypi ecosystem thrown into turmoil.

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

Text: it's accessible!