poetry2nix
repology-rules
poetry2nix | repology-rules | |
---|---|---|
21 | 29 | |
731 | 101 | |
3.6% | 5.0% | |
9.7 | 9.9 | |
4 days ago | 7 days ago | |
Nix | Python | |
MIT License | GNU General Public License v3.0 only |
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.
poetry2nix
-
Things I've learned about building CLI tools in Python
How about converting it to Nix derivation?
https://github.com/nix-community/poetry2nix
-
Poetry2nix: mismatch cryptography sha256 but unable to modify
This looks really strange because I do not know how to solve it and also because it looks like the sha256 that I am setting is not the one that Nix will match. I read also https://github.com/nix-community/poetry2nix/issues/413 but I was not able to solve the problem.
-
As if there weren't enough packaging tools already: mitsuhiko/rye: an experimental alternative to poetry/pip/pipenv/venv/virtualenv/pdm/hatch/…
There's a project that does this with using Nix: https://github.com/takeda/nix-cde (this is a wrapper around https://github.com/nix-community/poetry2nix)
-
Issue building pycairo in python flake
{ description = "Application packaged using poetry2nix"; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.poetry2nix = { url = "github:nix-community/poetry2nix"; inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, flake-utils, poetry2nix }: flake-utils.lib.eachDefaultSystem (system: let # see https://github.com/nix-community/poetry2nix/tree/master#api for more functions and examples. inherit (poetry2nix.legacyPackages.${system}) mkPoetryEnv; pkgs = import nixpkgs {inherit system;}; python = pkgs.python310; pythonEnv = mkPoetryEnv { inherit python; projectDir = ./.; preferWheels = true; }; in { #packages.default = mkPoetryEnv { # projectDir = ./.; # python = pkgs.python310; #}; devShells.default = pkgs.mkShell { buildInputs = [pythonEnv]; packages = [ poetry2nix.packages.${system}.poetry pkgs.cairo pkgs.pkg-config pkgs.gobject-introspection pkgs.tk ]; }; }); }
-
Setting up Stabe Diffusion on NixOS
A cleaner way might be to use https://github.com/nix-community/poetry2nix which can load poetry.lock inside Nix. I still need to try it for torch, but it does seem like a clean way to use it.
- Ask HN: Is anyone successfully self-hosting Firefox Sync?
-
How do I install dependencies for a python application
The README for poetry2nix (https://github.com/nix-community/poetry2nix) seems to indicate that all extras should be enabled by default.
-
how to install Python packages not yet in the Nix repo?
if it's for a project you're working on, i'd recommend just using poetry2nix
- What is the point of containers in prod if one can use Nix everywhere?
-
Issue when installing python packages
poetry2nix is another popular option.
repology-rules
-
Could you theoretically use other package managers on void?
A lot, it's (also) a complete linux distribution. See https://guix.gnu.org/en/packages/ and for comparison with other distros: https://repology.org/ It looks like they entered the top ten since last time I checked.
-
what OS do YOU use, as an emacs user?
I'm having a hard time believing it, but apparently nixpkgs is larger than AUR per https://repology.org/?
- Common denominator when developing widgets
-
How to deploy my FOSS to Linux users / repositories?
Generally, the easiest thing to do is to do nothing - if your software is useful and people are using it, then packagers will show up. You can track what distros packaged your project on https://repology.org/.
-
Discover Slitaz, a 50MB Lightweight Desktop Operating System
I remember when the internet was smaller (20 years ago?) some people would have a comparison of different package managers for linux distros where they would dive in to examples and use. Anyway, this is a high level of package currency : https://repology.org/
The last distros I've used that didn't really have their own package managers were Slackware (it is just a tarball) and PuppyLinux (adopted from slackware or debian).
Anyway, Slitaz is here https://repology.org/repository/slitaz_cooking
-
The problem raised by Linus Torvalds on package management
You can basically install nix packages on every Linux and even MacOS. They are imo better developed and less error prone. You are guaranteed to never have dependency issues. The hashing scheme and idea of representing and building packages from derivation logic is spectacular design. The design of Nix inherently supports atomic upgrades and the likes of an immutable system. Also, afaik, it has the largest package availability currently (at least as many pkgs as Arch's) https://repology.org/
-
Nix (the package manager of NixOS that can be installed on other distributions like Flatpak) releases version 2.4
Yep, it's no. 1 on https://repology.org/
- Ask HN: What useful unknown website do you wish more people knew about?
-
Distros
Most have it on their website, but you can also check here
- Is there a website that has all the "apt install <app>" apps?
What are some alternatives?
mach-nix - Create highly reproducible python environments
nix-darwin - nix modules for darwin
flake-utils-plus - Use Nix flakes without any fluff.
bgart - Set classic art for GNOME background
nixos-generators - Collection of image builders [maintainer=@Lassulus]
nixos-shell - Spawns lightweight nixos vms in a shell
age - A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
stylegan2 - StyleGAN2 - Official TensorFlow Implementation
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
nix - Nix, the purely functional package manager
jsmin - Javascript minifier