this post was submitted on 15 Apr 2025
88 points (97.8% liked)

Programmer Humor

23119 readers
741 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
 

๐Ÿ‘Š TARIFF ๐Ÿ”ฅ

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

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!

top 6 comments
sorted by: hot top controversial new old
[โ€“] Artyom@lemm.ee 1 points 1 day ago

Unironically, this is a very cool tool as an import profiler.

[โ€“] gex@lemmy.world 27 points 3 weeks ago

We import pandas in hundreds of classes, but they never import us. I'll impose a 200% tariff on pandas imports until they start depending on us.

Make All Dependencies Circular!

[โ€“] elvith@feddit.org 10 points 3 weeks ago

I should send a PR that applies the tariffs randomly and sometimes arbitrarily changes the numbers...

I might even make it so, that it calculates an import deficit by looking at how often your libraries are imported in the codebase of the projects, that the maintainers of your dependencies have vs. the number of imports your code has from them.

[โ€“] enemenemu@lemm.ee 8 points 3 weeks ago

This is awesome!

If maintainers not comply with our demands, we are going to put tariffs on each function call

[โ€“] Xanza@lemm.ee 5 points 3 weeks ago
[โ€“] abbadon420@lemm.ee 3 points 3 weeks ago

Saving this to share in my Python Basics class tomorrow