Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Manipulate a key/value JSON object file in an S3 bucket through the CLI

Project description

# S3env

Manipulate a key/value JSON object file in an S3 bucket through the CLI. Built to ease setting [remote enviroment variables with Zappa](https://github.com/Miserlou/Zappa#remote-environment-variables).

## Usage

### Quick start.
```
$ s3env prod get
API_KEY=secret
FOO=bar

$ s3env prod set:BONJOUR=hello
Key successfully set.
Current configuration is...
API_KEY=secret
FOO=bar
BONJOUR=hello

$ s3env prod rm:BONJOIR
Key removed.
Current configuration is...
API_KEY=secret
FOO=bar
```

### Getting started.

Install via...
```
pip install s3env
```

Create an `s3env.json`.
```
{
"prod": "s3://zappa-private-github-pages-dev/prod.json"
}
````

Run commands.
```
$ s3env --help
```

## Development

After pulling down the repo locally, create a virtualenv, then install by running...
```
pip install -e .
```


## Deployment
Publish to pypi with...
```
python setup.py sdist upload -r pypi
```

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 s3env, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size s3env-0.0.4.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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