DogeMachine-utils-0.2.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | DogeMachine-utils-0.2.1 |
| نام | DogeMachine-utils |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kinnaird McQuade |
| ایمیل نویسنده | kinnairdm@gmail.com |
| آدرس صفحه اصلی | https://github.com/kmcquade/DogeMachine-utils |
| آدرس اینترنتی | https://pypi.org/project/DogeMachine-utils/ |
| مجوز | - |
# DogeMachine-utils
This package contains helper methods and common tasks used by the various Lambda functions deployed by [DogeMachine](https://github.com/kmcquade/DogeMachine).
[https://github.com/kmcquade/DogeMachine-utils](https://github.com/kmcquade/DogeMachine-utils)
[](https://pepy.tech/project/DogeMachine-utils)
# Helper functions
For example:
* Saving the object to S3, and formatting the save object easily
* Checking if we are running in a Lambda function, in SAM CLI, etc.
* Various functions that are currently in [kinnaird-utils](https://pypi.org/project/kinnaird-utils/)
# Naming Convention methods
## S3 Bucket Naming Convention
The method `dogemachine_utils.aws_s3.get_doge_machine_bucket_name` will return an S3 Bucket with the name `doge-machine-results-111222333` where the AWS account number is `1111222333`.
## S3 Object Naming Convention for scan results
The method `dogemachine_utils.aws_s3.get_report_object_key_path` will return an object key path based on the supplied `tool_name`, `target_url_string`, and `report_name`.
# References
* [DogeMachine](https://github.com/kmcquade/DogeMachine)
نیازمندی
| مقدار | نام |
|---|---|
| - | botocore |
| - | boto3 |
| - | PyYAML |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl DogeMachine-utils-0.2.1:
pip install DogeMachine-utils-0.2.1.whl
نصب پکیج tar.gz DogeMachine-utils-0.2.1:
pip install DogeMachine-utils-0.2.1.tar.gz