Use env variables in python
Project description
snakenv
snakenv is a command line application to make it possible to access variables in .env
file as an environment variable in python script.
Installation
For installing snakenv type:
> pip install snakenv
Usage
You can use snakenv with following syntax:
> snakenv ENV_NAME
ENV_NAME
is name of env
file. You can enter file name with extension or it will use .env
extension for default. Example, prod
is equals prod.env
and prod.env
equals prod.env
.
If you leave ENV_NAME blank, it will use .env
file.
If file not exist, it will create it. You can disable autocreate with --not-create
flag.
Thanks for using snakenv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snakenv-1.2.1.tar.gz
(2.3 kB
view hashes)