Skip to main content

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

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for env-strip, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size env-strip-2019.4.13.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page