home.social

#pythonuv — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pythonuv, aggregated by home.social.

  1. Today I read (about uv):

    "Eggs were the pre-wheel binary format. pip still handles them; uv doesn’t even try. The format has been obsolete for over a decade."

    Over the years I have tried to keep a “working” installer for the GoPiGo3 API .eggs as the PiOS and Ubuntu OS released annual versions.

    Recently started to get message “setup.py deprecated”, and now I hear "obsolete for a decade"

    50 years ago I installed with paper tape. I'm so old I'm going to "Rust" (with uv)?

  2. @resingm
    Can't wait until they start paying back their vc investors. I wonder if they'll introduce some extra paid services barely associated with existing tools, like #pydantic has, or will they pull the plug somewhere

    #python #astral #pythonUv

  3. Just figured out how to set up #pythonUv to use #kwallet

    need env variables with user name and keyring provider (subprocess), keyring python package installed (pipx) and password set with command:
    keyring set ${API endpoint} ${remote user name}
    provide token when prompted. That's it!

  4. Python UV empowers developers to rapidly build multi-version Python environments for efficient Odoo setups. Learn step-by-step configuration, execute commands seamlessly, and adopt best practices in our detailed tutorial. #PythonUV #Odoo #Development

    teguhteja.id/python-uv-multi-v

  5. I'm really impressed with "uv", a Python package and project manager (written in Rust): docs.astral.sh/uv/

    I've been using pyenv (github.com/pyenv/pyenv) for years, but uv just ticks all the right boxes: fast, simple to use and lots of capabilities to make managing Python versions, virtual environments and accompanying dependencies a breeze.

    So, if you are a Python developer, and if you haven't already, then I highly recommend that you check it out. You will like it.

    #python #pythonuv

  6. #trusted_publishing with #pythonUv and #github_actions
    1. set up trusted publishing in pypi
    2. add `permissions: {id-token: write}` and `uv publish` step to the workflow,
    3. profit

  7. Setting up trusted publishing with uv in GHA:
    1. set up trusted publishing in pypi
    2. add `permissions: {id-token: write}` and `uv publish` step to the workflow,
    3. profit

    #TrustedPublishing #PythonUv #GithubActions

  8. Pierwsze koty za płoty - mój pierwszy projekt zarządzany i opublikowany z UV

    github.com/python-lapidary/ryb

    #PythonUv

  9. pipx run uv install uv 😄

    uv is a tool written in Rust that replaces as a 95% drop-in replacement pip, pipx, pip-tools and a few other things.

    So far it's looking pretty cool. It's faster, I guess, and the output is a bit neater and more "interactive" or "live".

    One great thing is that you can have a globally installed uv and it will operate correctly in whatever your current Python environment, whereas with pip-tools you always need to take care to run the one installed in the environment you're compiling the pinned dependencies for, or it will calculate python version wrong for the dependencies that are conditional on that.

    #uv #python
    #PythonUv #AstralUv #UvTool