================
[](https://pypi.python.org/pypi/awsenviron)
[](https://travis-ci.org/douglasfarinelli/python-awsenviron)
[](https://coveralls.io/github/douglasfarinelli/python-awsenviron?branch=master)
[](https://pypi.python.org/pypi/awsenviron)
The `awsenviron` reads the key, value pair from [AWS Parameter Store](https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-paramstore.html) and adds them to environment variable. This was inspired by [python-dotenv](https://github.com/theskumar/python-dotenv) and [12-factor](https://12factor.net/config) principles.
Installation
============
```bash
pip install awsenviron
```
or
```bash
pipenv install awsenviron
```
Usage
=====
```python
awsenviron.load_from_parameter_store(path='<your-path>')
```
Now, you can access the variables either from system environment variable:
```python
import os
DATABASE_URI = os.environ.get('DATABASE_URI')
```
Authentication
==============
awsenviron use `boto3` to authentication, [click here](http://boto3.readthedocs.io/en/latest/guide/configuration.html) to see the methods.
Metadata
Release files for awsenviron 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| awsenviron-0.0.7.tar.gz | 2.5 kB | Without provenance | Details for awsenviron-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| awsenviron-0.0.7-py2-none-any.whl | Python 2 | none | any | Details for awsenviron-0.0.7-py2-none-any.whl |
Total release size: 6.6 kB
Release files / awsenviron-0.0.7.tar.gz
| Download URL | awsenviron-0.0.7.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53bef220e2b764a66b2a0939287b1a70948cabae8a433170b1a68d3a8fe8610f
|
|
BLAKE2b-256 checksum How to use checksums |
0e55073ce780ffb06d1fd6e27791640c4687bf40c87679aab82c28b5f276a752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / awsenviron-0.0.7-py2-none-any.whl
| Download URL | awsenviron-0.0.7-py2-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
9ebe6d7afee76f4c9b4e5910137771d63b5c166d77b00dbeba39c750a6f71ade
|
|
BLAKE2b-256 checksum How to use checksums |
b9ea251c8246fa7212e32ec9b70ee524ab482d1dcc79a6db967fa7a7eb4aa8ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for awsenviron 0.0.7
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.