Registry / devops / pyston-autoload

pyston-autoload

JSON →
library2.3.5pypypiunverified

Pyston-Autoload automatically detects and enables the Pyston JIT compiler when imported, aiming to provide performance improvements for Python applications. It acts as a bootstrap mechanism for the Pyston runtime. The current version is 2.3.5, and it generally follows the release cadence of the underlying Pyston project.

pip install pyston-autoload
INSTALL
IMPORT
SIG · PYSTON-AUTOLOAD
P
pyston-autoload
devopspythonv2.3.5
Install
1.8s avg
Import
—
Disk
23MB
Pass rate
2/ 10
Env Coverage2 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v2.3.5 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 1.74s
py 3.11
✕ build_error
✕ build_error
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 1.8s
23MB installed
● package 23MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pyston_autoload
✓ import pyston_autoload

This quickstart demonstrates the core usage of `pyston-autoload`: a simple import at the beginning of your script. This import will automatically enable the Pyston JIT if a compatible Pyston runtime is found in the environment. If Pyston is not detected, the import will succeed, but the JIT will not be active.

import pyston_autoload import sys print(f"Pyston Autoload imported. This enables the Pyston JIT if the Pyston runtime is detected.") print(f"Current Python version: {sys.version}") # Run some typical Python code. If Pyston is active, it may run faster. def fib(n): if n <= 1: return n else: return fib(n-1) + fib(n-2) print(f"Calculating fib(10): {fib(10)}")
Debug
Known issues
gotchaPyston-Autoload only *enables* an existing Pyston runtime; it does not install Pyston itself. Pyston often requires platform-specific installation methods (e.g., .deb packages, portable archives, or conda environments) which need to be set up independently.
fix
Ensure Pyston (or Pyston-Lite) is correctly installed for your system architecture and distribution *before* installing and importing `pyston-autoload`.
affects: All versions
gotchaA distinction exists between `pyston-autoload` and `pyston_lite_autoload`. `pyston-autoload` is for the full Pyston distribution, while `pyston_lite_autoload` (introduced in v2.3.4) is for `pyston_lite`, which is distributed as a Python extension module via PyPI.
fix
Choose the correct autoload package based on your Pyston installation strategy: `pyston-autoload` for full Pyston, `pyston_lite_autoload` if you're installing `pyston_lite` via `pip install pyston_lite_autoload`.
affects: >=2.3.4
gotchaTo ensure Pyston's JIT is active for the entire application, `import pyston_autoload` should be one of the very first statements in your main application script.
fix
Place `import pyston_autoload` at the top of your primary Python script or module that runs your application.
affects: All versions
breakingSupport for Ubuntu 16.04 was removed due to dependencies removing support. This means portable releases are now based on Ubuntu 18.04.
fix
Upgrade your operating system to Ubuntu 18.04 or newer, or use a portable Pyston release based on a supported OS version.
affects: >=2.3.2
gotchaPyston is distributed with architecture-specific packages (e.g., `amd64` for Intel/AMD x86_64, `arm64` for aarch64 ARM CPUs). Ensure the underlying Pyston runtime matches your system's architecture.
fix
When installing the Pyston runtime, download the package corresponding to your CPU architecture (e.g., `amd64` or `arm64`). This is particularly important for the full Pyston distribution.
affects: All versions
Upgrade
Version history
2.3.5latest on PyPI · released Sep 26, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
pyston-autoload — pip install pyston-autoload · libregistry