Skip to main content
# 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
```

Metadata

Release files for s3env 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s3env 0.0.4
File Size Uploaded Provenance Actions
s3env-0.0.4.tar.gz 2.5 kB Without provenance Details for s3env-0.0.4.tar.gz

Release files / s3env-0.0.4.tar.gz

Download URL s3env-0.0.4.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9089aa54b39bf62f797a2cc401cd7bce317fbf01a1a1bd767b6bb1eb8f6eec44
BLAKE2b-256 checksum
How to use checksums
5e4454ac5c0d83fcd452cf2734856bd22f519aaafe7de125232312b25ce9f84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for s3env 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page