ATBU common package, common modules used by atbu.backup and atbu.mp_pipeline.
Project description
atbu-common-pkg (atbu.common) package
Overview
The atbu.common package is used by the following projects:
- ATBU Backup & Persistent File Information utility package (atbu-pkg).
- ATBU Multiprocessing 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 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
atbu-common-pkg-0.0.5.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for atbu_common_pkg-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3599c104d3d47135f7b01d841616938284043ac6aeff47ef8391b94cdf77329f |
|
MD5 | aabeeb6b8f6013d7f9f39d853c3cd1dd |
|
BLAKE2b-256 | da11f05220f91b976f7f6e58fe1f0b603c044fc626aefe75f1256043b694a303 |