Skip to main content
pylax logo

pylax

Zero-friction Python environment orchestrator.

Never activate. Never guess. Always be correct.


Buy Me A Coffee
Sponsor on GitHub

pylax removes the need for source .venv/bin/activate by directly dispatching commands to your project's virtual environment.

The Core Idea

Most Python projects start with:

python -m venv .venv
source .venv/bin/activate  # <-- The friction point
pip install -r requirements.txt

With pylax, you just do:

pylax init
pylax run app.py

pylax effectively runs .venv/bin/python app.py. It is not a shell tool; it is a dispatcher.

Installation

pip install pylax

Or for global safety (recommended):

pipx install pylax

Usage

Initialize a Project

Creates .venv, upgrades pip, and installs requirements.txt (if present).

cd myproject
pylax init

Run a Script

Runs the script using the project's virtual environment.

pylax run app.py

Equivalent to: .venv/bin/python app.py

Run a Command

Run any executable from the venv (like pip, black, pytest).

pylax run pip list
pylax run pytest

Spawn a Shell (Optional)

If you really need a shell where python and pip map to the venv versions:

pylax shell

Structure

Pylax enforces a standard, clean structure:

  • Virtual environments are always named .venv.
  • It relies on standard requirements.txt.
  • It works on macOS, Linux, and Windows.

Development & Testing

Running Tests

We use pytest for testing.

  1. Initialize the dev environment:

    # You can even use pylax to develop pylax!
    python3 -m venv .venv
    .venv/bin/pip install -e .[test]
    
  2. Run tests:

    pytest
    

License

MIT © Nuhman PK

Metadata

Release files for pylax 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylax 0.1.0
File Size Uploaded Provenance Actions
pylax-0.1.0.tar.gz 5.8 kB Without provenance Details for pylax-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pylax 0.1.0
File Interpreter ABI Platform Actions
pylax-0.1.0-py3-none-any.whl Python 3 none any Details for pylax-0.1.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / pylax-0.1.0.tar.gz

Download URL pylax-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3474fcbba3a7eddd401fd24fed22b558076851ce5a673497d247ed4e96b2f6e3
BLAKE2b-256 checksum
How to use checksums
d4a53281ceb2e9d329cac244114544a2ce6b8db8db7f4d2257923c639344cfbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / pylax-0.1.0-py3-none-any.whl

Download URL pylax-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1064dfb3f76e087a39a272bd38d9f804c2cf190f54100205d5df0dd53c6ed56c
BLAKE2b-256 checksum
How to use checksums
3308e2366a30b836de3baba0b7772a1e4633e5f842e1cec498a8576cdb05b1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for pylax 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page