Skip to main content

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.

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)

Source distribution for nv 0.0.7
File Size Uploaded
nv-0.0.7.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nv 0.0.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

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