venvarium
Installation
python -m pip install venvarium
Example
from venvarium import VEnv
# Create the virtual environment
ENV_PATH = 'myproject/myenv'
venv = VEnv(ENV_PATH)
# Run Python, PIP, or any other package or program
venv.python('-c', 'print("hello, world!")')
venv.pip('install', '--upgrade', 'pip')
venv.run_package('flask')
# See all installed packages
pkgs = venv.installed_packages()
print(pkgs)
# Get the entry points
entry_points = venv.entry_points().get('my_entry_point')
print(entry_points)
Metadata
Release files for venvarium 0.1.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| venvarium-0.1.0.post1.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| venvarium-0.1.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / venvarium-0.1.0.post1.tar.gz
| Download URL | venvarium-0.1.0.post1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc3d8329d83dd5d3d71ff865096e8d0abaa4a9a51a5083c696168357483103b7
|
|
BLAKE2b-256 checksum How to use checksums |
8d4442c465cff56edfe7d690afd24e3c382ad217bfeb214e44ae0e7321bf180c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Linux/5.10.70-1-MANJARO
|
Release files / venvarium-0.1.0.post1-py3-none-any.whl
| Download URL | venvarium-0.1.0.post1-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db9364066e6871d695a88881f24b68ec4605e79cf4163a0120ed4215bacc11b1
|
|
BLAKE2b-256 checksum How to use checksums |
74c00611a3f2d3a3f7b12be4b2a4b0ce169613169a698c24d043299c9b429344
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Linux/5.10.70-1-MANJARO
|