Skip to main content
Help us improve Python packaging – donate today!

Get/Set your env var in Redis

Project Description

toothbrush allows you to easily use environment variables for your app. Variables and values are stored in a centralized Redis.


Method with pip: if you have pip installed, just type this in a terminal (sudo is optional on some systems)

pip install toothbrush

Method by hand: download the sources, either on PyPI or (if you want the development version) on Github, unzip everything in one folder, open a terminal and type

python install


List available variables and values

toothbrush -h REDIS_HOST -a REDIS_PASSWORD list --app foo --stage production

Set a new variable

toothbrush -h REDIS_HOST -a REDIS_PASSWORD set --app foo --stage production --name foo --value bar

Unset a variable

toothbrush -h REDIS_HOST -a REDIS_PASSWORD unset --app foo --stage production --name foo

Export your variables to a file

toothbrush -h REDIS_HOST -a REDIS_PASSWORD export --app foo --stage production --target /path/to/your/env/file

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
toothbrush-0.0.1.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None Aug 7, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page