https://github.com/adevintaspain/awsenums
Python module that contains a list of enums useful for your applications.
https://github.com/adevintaspain/awsenums
Last synced: 8 months ago
JSON representation
Python module that contains a list of enums useful for your applications.
- Host: GitHub
- URL: https://github.com/adevintaspain/awsenums
- Owner: AdevintaSpain
- License: mit
- Created: 2017-11-03T09:20:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:16:05.000Z (almost 3 years ago)
- Last Synced: 2024-05-21T01:49:05.006Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# AWSenums
Python module that contains a list of enums useful for your applications.# How To package and distribute:
Based on the [official packaging documentation of python](https://packaging.python.org/tutorials/distributing-packages/#pure-python-wheels):
* ```python setup.py sdist```
* ```python setup.py bdist_wheel```
* ```gpg --detach-sign -a dist/AWSEnums-X.X.X.tar.gz```
* ```twine upload dist/AWSEnums-X.X.X.tar.gz dist/AWSEnums-X.X.X.tar.gz.asc```# How To build the instances type enum:
Actually we can create it manually with the tool: AWSEnums/tooling/generate_instances_types.py only run the command:```pipenv run python tooling/generate_instances_types.py -r us-east-1 -p account_alias```
or if you prefer use the aws environment variables (AWS_DEFAULT_REGION, AWS_PROFILE or AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) use:
```pipenv run python tooling/generate_instances_types.py```
**NOTE:** Now the aws pricing api only works on us-east-1.