No project description provided
Project description
useenv
A tiny tool to merge values into your env file. Useful in some rare circumstances e.g. swapping variables in local development, when you don't want to maintain multiple separate env files.
pipx install useenv
- Create a
.useenv
config file in your project root.- If this contains secret values then make sure to add
.useenv
to your project or global.gitignore
.
- If this contains secret values then make sure to add
useenv <env_identifier>
Example .useenv
config file:
env_file: .env
envs:
foo:
DATABASE_HOST: "..."
DATABASE_NAME: "..."
DATABASE_USER: "..."
DATABASE_PASSWORD: "..."
bar:
DATABASE_HOST: "..."
DATABASE_NAME: "..."
DATABASE_USER: "..."
DATABASE_PASSWORD: "..."
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
useenv-0.2.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
useenv-0.2.0-py3-none-any.whl
(2.4 kB
view hashes)