Publish asciinema 3.x on PyPI
asciinema 3.x is currently distributed through GitHub release binaries and source builds, while the PyPI asciinema package stops at 2.4.0.
Would you consider publishing the 3.x CLI on PyPI as platform-specific wheels?
Motivation: Python tools can depend on the asciinema CLI as part of their own install/release flow. For example, OmegaFlow builds terminal videos from versioned scripts and needs asciinema 3.x as the recorder. Today, pip install omegaflow cannot give users a complete working setup, and pip install asciinema installs the incompatible 2.x line.
A PyPI package for 3.x would make downstream Python tools simpler:
- declare/install the recorder in Python environments
- use the same install path in local dev and CI
- avoid custom binary download code in every downstream project
- avoid users accidentally installing asciinema 2.x from PyPI
It would be enough for the package to install the native asciinema executable; it does not need to expose a Python API. A first version could cover the same Linux/macOS targets already published as release assets.
I have published several native tools through PyPI via platform-specific wheels before, and in practice this setup is fairly straightforward. For example, reploy's Python packaging backend packages a native tool for Python distribution, and its publish workflow shows how the GitHub release assets and PyPI wheels can be published from the same release flow.
If PyPI distribution is something you would be open to, I would be happy to send a pull request for the Python packaging piece.
Source: asciinema/asciinema