A tool to help users manage multiple environments.
When launching a shell in the environment, it sets sets environment variables automatically.
It can also integrate with Python Virtual Environments, AWS Profiles (eg. Assume Role).
Once you’ve created an environment, edit the environment.json to configure additional environment variables.
Usage
$ nv
Usage: nv [OPTIONS] COMMAND [ARGS]...
Options:
-n, --environment-name _VALID_ENVIRONMENT_NAME
-d, --project-dir DIRECTORY Path to the project project (defaults to
current directory)
-P
-K
--help Show this message and exit.
Commands:
create Create a new environment in...
rm Remove an environment.
run Runs a command in the specified environment.
shell Launch a new shell in the specified...
$ nv create --help
Usage: nv create [OPTIONS]
Create a new environment in %PROJECT%/.nv-%ENVIRONMENT_NAME%
Options:
-p, --project-name TEXT Your project name (defaults to current directory
name)
-py, --python-virtualenv Activate a python virtualenv
--aws-profile TEXT Obtain credentials for the given profile.
--env <TEXT TEXT>... Name & Value of environment variables to set
--help Show this message and exit.
$ nv shell --help Usage: nv shell [OPTIONS] Launch a new shell in the specified environment. Options: --help Show this message and exit.
$ nv run --help Usage: nv run [OPTIONS] COMMAND [ARGS]... Runs a command in the specified environment. Options: --help Show this message and exit.
Metadata
Release files for nv 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nv-0.0.7.tar.gz | 6.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nv-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / nv-0.0.7.tar.gz
| Download URL | nv-0.0.7.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68e1869df464073dc6aa13cc15bd17cdacdd497de2869bd207f7317462959479
|
|
BLAKE2b-256 checksum How to use checksums |
31b08b8cdac3d8933f23b2549ed6bab7fbea81c6ea03b4421920fb984495d48d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / nv-0.0.7-py3-none-any.whl
| Download URL | nv-0.0.7-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff05154dd81a188420f24d302586a5fd0532c628b99678bec268b6e798a97507
|
|
BLAKE2b-256 checksum How to use checksums |
a3dc328688288b21d5a14cd1e5e0705882bdfd79bed8f2fa4bc021867f6347b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for nv 0.0.7
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.