Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.world

36 replies

lemmy.world

Not feature complete, needs to be tied with a RNG to determine when TARIFF ON and TARIFF OFF

96

Hidden feature: Defines a tariff.admin.impeach function that increments a global counter and does absolutely nothing else

57
lemm.ee

I don't get why people share twitter screenshot instead of the image itself

I can play this game as well

73
merari42reply
lemmy.world

This is a bluesky screenshot, not a twitter screenshot. This is to show, where I reposted this from.

10

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!

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 (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!

13

That's what I don't understand. Usually you quote the original source. What if it was a video?

6

Use the download picture there, use the upload picture here and post a link to the source?

6
techtreply
lemmy.world

Would it be for giving credit it to the Tweeter?

9

The twitter guy didnt share the link to the source

5

Set it to -1000% and enjoy your new lightning-fast imports!

21
lemm.ee

Pandas was always 200% slow, nothing lost there.

17

If you can tariff penguin island you could also tariff polars, which isn't slow.

7
lemmy.ca

This would actually be good for npm though…

17

Are you trying to say npm doesn't implement this yet?

7

The extra time is spent mining $TRUMP

::: spoiler Tap for spoiler I know it’s PoS, it’s just funnier this way, don’t come at me. :::

16

Having to import my tariff management solution is a critical national security risk. Needs to be built-in. PEP soon, please?

12

Is there a way that I can enforce this as root to all of my users?

6

What a great way to reduce external dependencies and mitigate supply chain attacks!

6

You reached the end