cargo-ebuild VS pyflow

Compare cargo-ebuild vs pyflow and see what are their differences.

cargo-ebuild

cargo extension that can generate ebuilds using the in-tree eclasses (by cardoe)

pyflow

An installation and dependency system for Python (by David-OConnor)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cargo-ebuild pyflow
6 12
79 1,306
- -
0.9 0.0
over 2 years ago about 1 year ago
Rust Rust
GNU General Public License v3.0 or later MIT License
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.

cargo-ebuild

Posts with mentions or reviews of cargo-ebuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-04.
  • diziet | Debian’s approach to Rust
    2 projects | /r/rust | 4 Jan 2022
    In Gentoo, Rust crates are just normal files to be downloaded in order to build a given package. The package pins (and checks the hashes of) the crate deps, and builds using cargo --offline. There is no serde/clap/etc packages, just ripgrep/librsvg/etc packages. There is no need to patch all packages to use the same serde crate version. Packaging a Rust program in gentoo is pretty much automatic.
  • How do I adjust fan curves on AMDGPU?
    5 projects | /r/Gentoo | 11 Nov 2021
    Then, I went through like 3 different pages on gentoo and learned how to make my own rebuild using this... But after setting up my custom repo and making sure it had the right permissions, manifest, etc. the ebuild failed on account of not being able to find the Config.yoml file it needed, which exists in the directory I built the ebuild from. I think I am just SOL on this, and will have to probably find a different approach
  • Cooperative Package Management for Python
    5 projects | news.ycombinator.com | 1 Sep 2021
    FWIW it's worth for portage (Gentoo) there is g-sorcery[0], which can create ebuilds for Emacs (m/elpa) and python packages automatically. Similarly there is also cargo-ebuild[1] which can create ebuilds for rust programs/libraries, including a list of all dependencies with hashes.

    I've successfully used cargo-ebuild in the past to create ebuilds automatically, it's a breeze. I'd be surprised if similar tools didn't exist for deb/rpm based distros.

    [0]:https://github.com/jauhien/g-sorcery

    [1]: https://github.com/cardoe/cargo-ebuild

  • Can Anybody Help Me With My Custom Ebuild for xplr?
    4 projects | /r/Gentoo | 25 Jun 2021
    I'm working on a custom repository where I intend to write ebuild files for packages that's not supported by Gentoo's repository. Right now, I'm trying to write an ebuild file for xplr, which is a Rust project that uses the Cargo build system. Initially, I used the cargo-ebuild tool, which generated the file xplr-0.14.3.ebuild.
  • Wrote my first ebuild and created an overlay
    1 project | /r/Gentoo | 23 Feb 2021
    Maybe you already know, but specifically for making Rust ebuilds and filling the CRATES variable there's a tool cargo-ebuild to automatically extract that from Cargo.toml.
  • In the full retrospect what are some pros and cons on converting to gentoo from the blue distro?
    1 project | /r/Gentoo | 28 Jan 2021
    I have zero issues with Gentoo's Rust and Rust-using packages. I use rustup's Rust and cargo install for development, and maintain a gentoo package using cargo ebuild.

pyflow

Posts with mentions or reviews of pyflow. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-15.
  • Uv: Python Packaging in Rust
    9 projects | news.ycombinator.com | 15 Feb 2024
    Very cool! Of note, I made something along these lines a few years ago, although with a slightly broader scope to also include managing and installing python versions. I abandoned it due to lack of free time, and edge cases breaking things. The major challenge is that Python packages that aren't wheels can do surprising things due to setup.py running arbitrary code. (https://github.com/David-OConnor/pyflow)
  • Incompatible Child Dependencies -- how are they resolved?
    2 projects | /r/learnpython | 21 Oct 2022
    Pyflow
  • Freezing Requirements with Pip-Tools
    10 projects | news.ycombinator.com | 15 Jul 2022
    Pyflow takes care of the use when you need pyenv to isolate different python versions, pipx to isolate some global python-based tools, and isolated, reproducible builds per project with on tool. I highly recommend people to give it go.

    https://github.com/David-OConnor/pyflow#a-thoroughly-biased-...

  • Empty npm package '-' has over 700,000 downloads
    6 projects | /r/programming | 7 Mar 2022
    Pyflow is a similar implementation of PEP582. NGL I wonder if it's better because of how good Rust stuff is. Probably a lot faster. Looks like you can install it via Pypi. I should've tested it before moving to PDM. Though it seems dev is a bit slow. Hmmm.
  • pip and cargo are not the same
    5 projects | /r/rust | 23 Feb 2022
    I’m personally complaining that pip is so much behind cargo. I have some hope with Pyflow though.
  • XKCD | Python Environment
    6 projects | /r/Python | 12 Jan 2022
    I literally stumbled into this issue again today. Has anyone leveraged Pyflow before? It looks pretty slick for keeping things organized. I don't do heavy dev work, just need something to keep things generally tidy. Was curious if anyone had used it and their opinion on it.
  • Moving from pipenv to poetry or PDM
    6 projects | /r/Python | 19 Dec 2021
    PDM is pretty new so it’s not entirely clear how it’ll play out but if you’re interested in PEP 582 then it’s really that or pyflow.
  • Python: Please stop screwing over Linux distros
    5 projects | news.ycombinator.com | 16 Nov 2021
  • Pyflow: An Alternative to Poetry and Pyenv
    1 project | news.ycombinator.com | 1 Sep 2021
  • Cooperative Package Management for Python
    5 projects | news.ycombinator.com | 1 Sep 2021
    It's a good safeguard, and it's going in the direction of the other initiatives to make python package management default behavior saner.

    PEP 852 is the another one to follow up: https://www.python.org/dev/peps/pep-0582/

    It basically uses the concept of node_modules, making python interpreters local any local __pypackages__ directory. There are 2 differences though:

    - unlike JS, python can only have one version of one lib

    - but since having several versions of python often matters, you may have several __pypackages__/X.Y sub dirs to catter to each of them

    It does also force you to use "-m" to use commands, which is the best practice anyway. I hope it will make jupyter fix "-m" on windows for them because that's a blocker for beginners.

    If you are not already using "-m", start now. It solves a lot of different problems with running python cli programs.

    E.G: instead of running "black" or "pylint", do "python -m black" or "python -m pylint". Or course you may want to chose a specific version of python, so "python3.8 -m black" for unix, or "py -3.8 -m black" on windows.

    To test out __pypackages__, give a try to the pdm project: https://github.com/pdm-project/pdm

    At last, some other tools that I wish people knew more about that solves packaging issues:

    - pyflow (https://github.com/David-OConnor/pyflow): it's a package manager like poetry, but it also install whatever python you want like pyenv. Except it provides the binary, no need to compile anything. It's a young project, but I wish it succeeds because it's really a great concept.

    - shiv (shiv.readthedocs.io/): it leverage the concept of zipapp, meaning the ability that python has to execute python inside a zip file. It's a successor to pex. Basically it lets you bundle your code + all deps from virtualenv inside a zip, like a Java .war file. You can then run the resulting zip, a .pyz file, like if it was a regular .py file. It will unzip on the first run automatically. It makes deployment almost as easy as with golang.

    - nuitka (shiv.readthedocs.io/): take your code and all dependancies, turn them into C, and compiles it. Although it does require a bit of setup, since it needs headers and a compiler, it results reliably in a standalone compiled executable that will run on the same architecture with no need for anything else. Also it will speed up your Python program, up to 4 times.

What are some alternatives?

When comparing cargo-ebuild and pyflow you can also consider the following projects:

cargo-bitbake - cargo extension that can generate BitBake recipes utilizing the classes from meta-rust

Poetry - Python packaging and dependency management made easy

cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.

PDM - A modern Python package and dependency manager supporting the latest PEP standards

cargo-update - A cargo subcommand for checking and applying updates to installed executables

dephell - :package: :fire: Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.

cargo-make - Rust task runner and build tool.

pants - The Pants Build System

cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml

Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.

cargo-benchcmp - A small utility to compare Rust micro-benchmarks.

WinPython - A free Python-distribution for Windows platform, including prebuilt packages for Scientific Python.