mach-nix-template
nialov-py-template
mach-nix-template | nialov-py-template | |
---|---|---|
7 | 1 | |
67 | 4 | |
- | - | |
0.0 | 5.3 | |
over 1 year ago | 7 months ago | |
Nix | Jinja | |
- | - |
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
-
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 :)
nialov-py-template
-
how to install Python packages not yet in the Nix repo?
And if poetry2nix does not work, the flake.nix file here defines a development environment where you can use poetry instead of nix for installing Python packages. Of course you have none of the advantages of nix when using poetry directly.
What are some alternatives?
templates - Flake templates
copier-poetry - Copier template for Python projects managed by Poetry.
pypi-deps-db - Dependency DB for python packages on pypi
pyt2 - My second attempt at making a Python template. Formerly used CookieCutter; now uses Copier
scan-build - Clang's scan-build re-implementation in python
mach-nix - Create highly reproducible python environments
nix-starter-configs - Simple and documented config templates to help you get started with NixOS + home-manager + flakes. All the boilerplate you need!
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
orionsdk-python - Python client for interacting with the SolarWinds Orion API