api-to-yaml-1.0.9


توضیحات

Turn apis into declarative yaml files
ویژگی مقدار
سیستم عامل OS Independent
نام فایل api-to-yaml-1.0.9
نام api-to-yaml
نسخه کتابخانه 1.0.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Desmond <desmond.cao@binance.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/api-to-yaml/
مجوز -
# API Mapper > turn APIs into declarative yaml files ## What is API Mapper 1. A cli&lib that can call aws apis providing yaml files.including all Create/Read/Update/Delete operations. ## What can API Mapper do 1. It can be used to manage your aws resources. 1. Do Create/Read/Update/Delete operations to your aws resources. 2. Export existing aws resources into yaml files that can be managed by the tool. 3. Referencing other resources in yaml. ## Design Principal 1. We use direct mapping from aws api.No new abstraction is created. All fields are throw to aws api. 2. We provide yaml operators that can transform yaml files, which enable users to create their abstractions. 3. We emphasis on bidirectional Data Flow. 1. you can turn a yaml file into actual aws resource. 2. also turn an aws resource into yaml files. ## Current Supported Resources Types | Type | Create | Export | Update | Delete | Tests | | ------------------------------------- | ------ | ------ | ------ | ------ | ----- | | SecurityGroup | ✅ | 📝 | ✅ | ✅ | ✅ | | Wafv2 | ✅ | 📝 | ✅ | ✅ | 📝 | | ECS | ✅ | 📝 | ✅ | ✅ | 📝 | | CloudFront/Distribution | ✅ | ✅ | ✅ | ✅ | 📝 | | CloudFront/CachePolicy | ✅ | ✅ | ✅ | ✅ | 📝 | | CloudFront/ContinuousDeploymentPolicy | ✅ | ✅ | ✅ | ✅ | 📝 | ## Development 1. to build `python3 -m build` 2. to install locally `python3 -m pip install ./dist/api_mapper-0.0.1.tar.gz` 3. to test `pytest -s` 4. with docker `docker run -it --mount src="/Users/user/.aws",target=/root/.aws,type=bind --mount src="/Users/user/Documents/binance/api-to-yaml/aws",target=/workspace/src/aws,type=bind prow-ci-aws`


نیازمندی

مقدار نام
- boto3==1.26.65
- oyaml==1.0
- pygithub==1.57


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl api-to-yaml-1.0.9:

    pip install api-to-yaml-1.0.9.whl


نصب پکیج tar.gz api-to-yaml-1.0.9:

    pip install api-to-yaml-1.0.9.tar.gz