home.social

#pixi — Public Fediverse posts

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

fetched live
  1. Today-I-have-done:

    - first login to the cluster I should work and teach on
    - installed #Snakemake and the #SLURM plugin, both using #pixi Noticed that I need to amend the docs for this.
    - installed the #Nanopub reporter plugin, too.
    - merged a couple of dependency PRs (those are auto-generated) for the Nanopub plugin.
    - Finished the onboarding part for the course which I intend to give. There still is no release.
    - saw a notice from the Snakemake announcement bot account (fediscience.org/@snakemake/117 ) and remembered, that I wanted to get rid of the serif font. Needs some tinkering. So, not this fix will not be there too soon, I'm afraid. @johanneskoester this is not forgotten!

    Something, I have not done, but Johannes, is to set up the Fediwall for Snakemake (see snakemake.github.io/fediwall/ ) - for which I need to include the announcement robot, too.

    (This series of posts is not a thread of posts - otherwise all Snakemake related stuff would not show up on the Fediwall.)

    3/n

  2. Apropos Kinder und Datenschutz bzw. Privatsphäre: es gibt ein Pixi, das erklärt was "privat" eigentlich bedeuten soll.

    Bekommt man kostenlos bei der/dem BfDi: bfdi.bund.de/SharedDocs/Videos
    #dcoghh #bfdi #pixi #privat

  3. Yesterday was just a fantastic day for me. I planned to post on it. Just overjoyed. Strongly tempered today by the acquisition of Astral, and therefore the uncertain future of #uv and #ty (and transitively, #pixi).

    I’m gonna focus on yesterday.

  4. My day job is all about #Python (which I love). Here are some personal rules, specific to working with Python projects:

    * Do **not** install or modify global tools, especially Python itself or any packages. This means a given system might not even **have** a global Python
    * Always use virtual environments (`uv` agrees with me, and doesn't need this but). I always set the global environment variable `PIP_REQUIRE_VIRTUALENV`.
    * The two rules above mean my virtual environment contains (not via a link, it's really there) Python itself (and of course, of the right version)
    * Virtual environments always live **inside** a project directory. Never global.
    * Activate virtual environments only **inside** the project directory (`direnv` #direnv makes this easy)
    * Don't install (let alone use) #Anaconda, #Miniconda, or #Mamba, because those violate all the rules above (but see the next rule)
    * Anaconda-based packages implies a `pixi` #Pixi project (it's the same people, but a better answer, and you still get what you want -- the correct packages)
    * No Anaconda-based packages implies a `uv` #UV project
    * Always use `pyproject.toml` #pyprojecttoml over any other config file (e.g., `requirements.txt` #requirementstxt), except where things just don't work, such as needing `pyrefly.toml`
    * `uv`, `pixi`, and `direnv` must exist outside of any project, so install them at the user level, or else globally if and only if that is appropriate and compelling enough to override rule one

    That was a wall of text, but in practice doing it this way is trivial. It's probably **less** work than you have been doing. This post is just about managing your Python versions, environments, and projects. Not about, e.g., using `pre-commit` #precommit, or doing type checking, etc. But if you follow these rules, your work will be easier, faster, more adaptable, and encounter fewer obstacles.

    #HowTo

  5. @bfdi
    Och nö. Warum kann man als Privatperson eure tollen Pixi-Bücher nicht mehr bestellen? Dann ist wohl klar, warum ich seit drei Monaten vergebens auf die Zustellung warte. 😥

    #Pixi #BfDI #kostenlos

  6. My first article for Towards Data Science!

    How sharded repodata (CEP-16) makes conda and Pixi 10x faster with 90% less bandwidth on conda-forge.

    Thanks to Bas Zalmstra, @dholth, and the teams at @prefix, Anaconda, and Quansight.
    towardsdatascience.com/why-pac

  7. The more I learn about #Direnv, the happier I become. It **already** works with #Pixi. It **already** helps you with secrets (ignore `.envrc` in your `.gitignore` or equivalent). I grabbed a `layout_uv` from the direnv wiki (made some small modifications), and it works basically everywhere I want it.

    If you're not using using `direnv` yet, you are doing yourself a disservice.

  8. Here’s your regular #CommandLine #PSA: #Starship helps you every time you hit return, in every shell. #Atuin makes history 10x more useful. #Direnv is becoming my friend but I need to understand better how to use it, and it needs additions to work in more situations.(e.g., #uv layout, #pixi layout, better path handling in #GitBashForWindows)

  9. RE: mastodon.social/@digiresacadem

    I attended the dry-run of this course* recently and it was pretty mind-blowing - I'd seen before how #pixi can be used for python packaging but this course introduced me to a few new example use cases:

    - Reproducible data analysis in #R
    - A new application in #C
    -Image processing with #Python
    - #Jupyter Notebook for exploratory analysis

  10. I am really enjoying the Pixi package manager, pixi.sh , made by @prefix. We have been using conda at my work for managing the dependencies of our python application. It involves scientific data analysis so there are lots of dependencies, and it has been a challenge to keep things up to date. Pixi has nice support for cleanly defining the direct dependencies in the pixi.toml file, and then it automatically generates a lock file. There is a command to upgrade all the dependencies too. It's amazing! I'm just starting to use it, but it is helpful so far.

    #conda
    #packageManagement
    #pixi
    #dependencyManagement

  11. I’ve made progress with #Direnv in #GitBashForWindows. It’s automatically setting environment variables and activating virtual environments in #uv projects. Not yet working with #Pixi. Not yet getting my `$PYTHONPATH` right in these uv projects.

  12. #Direnv is such a disappointment to me. I want it to work in #GitBashForWindows. I want it to automatically activate my chosen #Pixi virtual environment (and set up PYTHONPATH). I’ve put over two hours into it and it still isn’t functioning. I assume this all works fine everywhere that is **not** Windows. But it seems like a great idea!

  13. Habt ihr das schon gesehen?

    Finde nur ich das krass?
    Eigentlich finde ich das sogar skandalös!

    Warum?!?!

    #fedieltern #Pixi #carlsen #buch #lesen #lesefoerderung

  14. #Nix: "yeah we FOD and sandbox, and inshallah we'll switch from namespaces to ephemeral VMs, but bitwise reproducibility? Well the .iso yes, but actually not really, no can do, sorry. Maybe write a deterministic emulator of the kernel?"

    Cond... #Pixi: "yo just SAT faster and lock your lock-files, it 'ensure bit-by-bit #reproducibility across platforms', I swear on me mother" arxiv.org/abs/2511.04827