strip comments and blank lines from env file
Project description
Installation
$ [sudo] pip install env-strip
Executable modules
usage | __doc__ |
---|---|
python -m env_strip path |
strip comments and blank lines from env file |
Examples
.env
SECRET_KEY="https://www.youtube.com/channel/UCTZUTvv_1Onm-f-533Hyurw"
# postgres settings:
DB_NAME="name"
DB_USER="postgres"
DB_HOST="127.0.0.1"
DB_PORT=5432
$ python -m env_strip .env
SECRET_KEY=https://www.youtube.com/channel/UCTZUTvv_1Onm-f-533Hyurw
DB_NAME=name
DB_USER=postgres
DB_HOST=127.0.0.1
DB_PORT=5432
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
env-strip-2019.4.13.tar.gz
(2.0 kB
view hashes)