Skip to main content

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, or env
  • 📁 Supports searching parent directories with -p
  • ⚡ Fast, clean, cross-platform

Usage

localpython script.py --your-args
localpython -p script.py --search

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

localpython-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

localpython-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for localpython-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d419cd27474360e0585e7690cc85bbafc6bc1957ed4c2287243e2cddb2c041d
MD5 c707cfdde6d028fd472046afdfd50e1f
BLAKE2b-256 90bf022069bd4f37a6a444c886764e4a183ad9945a552d790eff0e959da34329

See more details on using hashes here.

Provenance

The following attestation bundles were made for localpython-0.1.0.tar.gz:

Publisher: publish.yml on YaliAch/localpython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for localpython-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b69bf8645fff26cb47d62a57caaaa7e3619d9a24d5c60642fd978207e433ab5
MD5 0e0debd11530b9d25d05ef6f306119b3
BLAKE2b-256 dae94b042f3630314bcb8ae9c86eca8c58be610b86cdd3a2ed1391489fecd1b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for localpython-0.1.0-py3-none-any.whl:

Publisher: publish.yml on YaliAch/localpython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page