mach-nix-template
Simple and straight-forward way to create python environments using PyPi in nix (by Quoteme)
poetry2nix-example
Playing around with poetry2nix to learn more about Nix for Python development (by carlthome)
mach-nix-template | poetry2nix-example | |
---|---|---|
7 | 1 | |
67 | 0 | |
- | - | |
0.0 | 7.8 | |
over 1 year ago | 9 days ago | |
Nix | Nix | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mach-nix-template
Posts with mentions or reviews of mach-nix-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-17.
-
Struggling with Python dependencies conflicts and NixOS
Hi! Yes, there is a solution to your problem! I used my popular project mach-nix-template to generate a python-environment.
-
Python Flake and Direnv
This happened, because you only copied the text from the flake.nix file you found here. You did not copy over the flake.lock file, which stores information about what version of nixpkgs and other dependencies your software uses. This led to an incompatibility. I am sorry, I forgot to mention that the flake.lock file needs to be present as well. I updated the readme accordingly.
-
Can't use pip to install packages
Hey, I had the same issues as you. Therefore I created the following nix flake: https://github.com/Quoteme/mach-nix-template
-
Development shell with pros-cli available
I started with this template.
- I created a super simple flake.nix template so you can finally use python painlessly in your nix projects. Just copy a few lines over into your flake.nix and you can use all of PyPi :)
poetry2nix-example
Posts with mentions or reviews of poetry2nix-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-04.
-
Can't use pip to install packages
poetry2nix sorta works (example) but I wish pip in a venv or virtualenv (or even with just --user) also "just worked" without having to introduce dynamic linking explanations to the ML developer.
What are some alternatives?
When comparing mach-nix-template and poetry2nix-example you can also consider the following projects:
templates - Flake templates
nixshells - Frequently used nix shells for Python, CUDA and more.
pypi-deps-db - Dependency DB for python packages on pypi
scan-build - Clang's scan-build re-implementation in python
mach-nix - Create highly reproducible python environments
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
nialov-py-template - My opionated copier template for Python development.