Run Python scripts using the local virtual environment without activating it
Project description
localpython
localpython is a simple CLI tool that runs Python scripts using the local project's virtual environment without requiring manual activation.
Features
- 🧠 Automatically finds
.venv,venv, orenv - 📁 Supports searching parent directories with
-p - ⚡ Fast, clean, cross-platform
Usage
localpython script.py --your-args
localpython -p script.py --search
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file localpython-0.1.0.tar.gz.
File metadata
- Download URL: localpython-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d419cd27474360e0585e7690cc85bbafc6bc1957ed4c2287243e2cddb2c041d
|
|
| MD5 |
c707cfdde6d028fd472046afdfd50e1f
|
|
| BLAKE2b-256 |
90bf022069bd4f37a6a444c886764e4a183ad9945a552d790eff0e959da34329
|
Provenance
The following attestation bundles were made for localpython-0.1.0.tar.gz:
Publisher:
publish.yml on YaliAch/localpython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localpython-0.1.0.tar.gz -
Subject digest:
8d419cd27474360e0585e7690cc85bbafc6bc1957ed4c2287243e2cddb2c041d - Sigstore transparency entry: 264769626
- Sigstore integration time:
-
Permalink:
YaliAch/localpython@8eabcefd385ff998d20013409df9bb2b3466350f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/YaliAch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8eabcefd385ff998d20013409df9bb2b3466350f -
Trigger Event:
push
-
Statement type:
File details
Details for the file localpython-0.1.0-py3-none-any.whl.
File metadata
- Download URL: localpython-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b69bf8645fff26cb47d62a57caaaa7e3619d9a24d5c60642fd978207e433ab5
|
|
| MD5 |
0e0debd11530b9d25d05ef6f306119b3
|
|
| BLAKE2b-256 |
dae94b042f3630314bcb8ae9c86eca8c58be610b86cdd3a2ed1391489fecd1b0
|
Provenance
The following attestation bundles were made for localpython-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on YaliAch/localpython
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
localpython-0.1.0-py3-none-any.whl -
Subject digest:
8b69bf8645fff26cb47d62a57caaaa7e3619d9a24d5c60642fd978207e433ab5 - Sigstore transparency entry: 264769628
- Sigstore integration time:
-
Permalink:
YaliAch/localpython@8eabcefd385ff998d20013409df9bb2b3466350f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/YaliAch
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8eabcefd385ff998d20013409df9bb2b3466350f -
Trigger Event:
push
-
Statement type: