Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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.

Installation

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 setup.py install

Usage

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

This version
History Node

0.0.1

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting