atbu-common-pkg-0.0.5
توضیحات
ATBU common package, common modules used by atbu.backup and atbu.mp_pipeline.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | atbu-common-pkg-0.0.5 |
| نام | atbu-common-pkg |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ashley R. Thomas |
| ایمیل نویسنده | ashley.r.thomas.701@gmail.com |
| آدرس صفحه اصلی | https://github.com/AshleyT3/atbu-common |
| آدرس اینترنتی | https://pypi.org/project/atbu-common-pkg/ |
| مجوز | - |
# atbu-common-pkg (atbu.common) package
## Overview
The atbu.common package is used by the following projects:
- [ATBU Backup & Persistent File Information](https://github.com/AshleyT3/atbu) utility package (atbu-pkg).
- [ATBU Multiprocessing Pipeline](https://github.com/AshleyT3/atbu-mp-pipeline) package (atbu-mp-pipeline-pkg).
Included is support for the following:
- **AesCbcPaddingEncryptor** and **AesCbcPaddingDecryptor** for AES CBC encryption/decryption with padding, related buffering/retention taken care automatically.
- **MultiEncoderDecoder** to allow defining/processing of .json encoding/decoding for multiple classes.
- **Hasher** which wraps multiple Python hashers for creating multiple hashes at once.
- **SimpleReport** which creates a simple report where columns are wrappers. This is used by ATBU to report errors, sometimes containing lengthy messages. Note, there is an excellent Python reporting package, [tabulate](https://github.com/astanin/python-tabulate) which offers extensive reporting... please see that first. This SimpleReport class was created because, at the time, certain wrapping capabilities were not yet released for the tabulate project.
- **Singleton** providing singleton support.
- **util_helpers** providing miscellaneous helper functions used by ATBU, such clearing files, detecting what could be a valid base64 string, and other miscellaneous tools.
The main purpose of this repo is to carve out of ATBU what is more general for use in other projects going forward.
## Setup
To install atbu-common-pkg:
```
pip install atbu-common-pkg
```
See source code for this and the other packages mentioned above for details and usage information.
نیازمندی
| مقدار | نام |
|---|---|
| >=36.0.2 | cryptography |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl atbu-common-pkg-0.0.5:
pip install atbu-common-pkg-0.0.5.whl
نصب پکیج tar.gz atbu-common-pkg-0.0.5:
pip install atbu-common-pkg-0.0.5.tar.gz