• lmmarsano@lemmynsfw.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    6 hours 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!