aws-parameter-store-1.0.0
توضیحات
AWS SSM parameter store client that constructs nested dictionary out of hierarchical path
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aws-parameter-store-1.0.0 |
| نام | aws-parameter-store |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Amit Zigelman |
| ایمیل نویسنده | amit.zigelman@vonage.com |
| آدرس صفحه اصلی | https://github.com/Vonage/aws-parameter-store-py |
| آدرس اینترنتی | https://pypi.org/project/aws-parameter-store/ |
| مجوز | apache-2.0 |
# aws-parameter-store
AWS SSM parameter store client that constructs nested dictionary out of hierarchical path
## Features
- Gets parameters by path
- Collects all paged results automatically
- Lightweight
## Installation
Install with `pip`:
> `pip install aws-parameter-store `
## Getting started
Import the module and create a new instance of `AwsParameterStore`.
```python
from aws_parameter_store import AwsParameterStore
store = AwsParameterStore('us-east-1')
```
## API
### overview
By default
* JSON parameters are being evaluated
* Parameters are decrypted
### Examples
Given the parameters:
| Name | Value |
| ------------- | ------------- |
| key-a | wrong |
| example/key-b | flat |
| example/key-c | secret |
| example/path1/path2/key-d | deep |
```py
ret = store.get_parameters_dict('/example/')
assert ret == {
'key-b': 'flat',
'key-c': 'secret',
'path1': { 'path2': { 'key-d': 'deep' } }
}
```
## Requirements
* Python3.6+
## Contributing
You are welcome to contribute and join our family =)
## Testing
This projects testing uses pytest. Simply test by running `pytest`
# License
See the [LICENSE](https://github.com/Vonage/aws-parameter-store-py/blob/master/LICENSE.txt) file for license rights and limitations (Apache License, Version 2.0)
نحوه نصب
نصب پکیج whl aws-parameter-store-1.0.0:
pip install aws-parameter-store-1.0.0.whl
نصب پکیج tar.gz aws-parameter-store-1.0.0:
pip install aws-parameter-store-1.0.0.tar.gz