pipx
Pyjion
DISCONTINUED
Our great sponsors
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.
pipx
-
Implementing Quality Checks In Your Git Workflow With Hooks and pre-commit
Given how useful pre-commit is across projects I generally recommend installing via pip install --user, making it part of a tooling virtual environment, or using pipx:
-
pipx VS instld - a user suggested alternative
2 projects | 9 Dec 2023
-
Packaging a self contained CLI application for any environment?
I would recommend going with PipX. You toss in a setup.py file, put your project on github, and then anyone on any OS can pipx install your project. It's a glorious thing. The only thing they need is 1) some supported version of Python installed, 2) pipx installed. They can even get updates by calling pipx upgrade.
-
After using Python for over 2 years I am still really confused about all of the installation stuff and virtual environments
Pip is pretty simple and useful for me - you have your own environment for every script/program, requirements.txt is simple to understand too... It's kinda good solution for regular users... For more complex projects we have Poetry, PipX, that was inspired by NPM(x), I think...
-
Apple Unveils MacBook Pro Featuring M2 Pro and M2 Max
What benefit would joining your cult bestow upon me that brew does not already?
My brew list is intentionally very short and my faffing about desire is limited.
Generally I use brew to pull in asdf (https://github.com/asdf-vm/asdf) to install programming languages/tooling, it works flawlessly.
I use Pipx (https://github.com/pypa/pipx) to install python thingies (such as yt-dlp) as a cli. Go and Rust handle binaries in their languages beautifully and without issues.
-
Single-file scripts that download their dependencies
pipx might get this ability: https://github.com/pypa/pipx/pull/916
-
Underappreciated Challenges with Python Packaging
As detailed in the other answers, there are two parts to this: 1) Creating a python package from your project (and possibly share this on pypi), and 2) Making this package available as an end-user application.
For step 2 you can use nuitka or similar, but if your audience is somewhat developer-oriented, you can also propose for them to use pipx: https://github.com/pypa/pipx.
-
Overengineering
As they are Python, they are farily easily installable in user-space using pipx.
-
Can you install python on steam deck?
Looks like the github page for bcml recommends using pipx to manage python versions/dependencies but there are probably several ways to go about it.
-
What is the best way to manage Python so you don't break your system?
pipx if I want to install and use a Python application (i.e. a command that I can run)
Pyjion
-
Pyjion, a drop-in JIT compiler for Python 3.10 is now v1.0
Looks like it was started at Microsoft, the tonybaloney/Pyjion was forked from microsoft/Pyjion.
-
Why Python 4.0 might never arrive, according to its creator
Pyjion is a Microsoft project that adds a JIT leveraging CoreCLR.
-
Pyston v2.2: faster and open source
https://github.com/microsoft/Pyjion was a really nice attempt to marry CPython with JIT in a rather generic way, but it was abandoned quickly.
-
Cinder: Instagram's performance oriented fork of CPython
There are articles like https://instagram-engineering.com/dismissing-python-garbage-... which seem to confirm some problems. One of the people involved with this Cinder project was an original author of https://github.com/microsoft/Pyjion (it's now being revamped by a new dev.) Dino had deep .NET/CLR implementation experience and had been the lead for IronPython which I think spawned the interest in perf improvements through Cinder. I hope this effort is more successful for him.
What are some alternatives?
Poetry - Python packaging and dependency management made easy
PyPy
Cython - The most widely used Python to C compiler
opstrat - Option visualization python package
Pyston - A faster and highly-compatible implementation of the Python programming language.
Stackless Python
Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
PeachPy - x86-64 assembler embedded in Python
pypy - The unofficial GitHub mirror of PyPy (mirrored via https://github.com/mozillazg/job-mirror-hg-repos)
cinder - Cinder is Meta's internal performance-oriented production version of CPython.
dust - A more intuitive version of du in rust
private-pypi - private pypi server