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.12.tar.gz
(20.1 kB
view details)
Built Distribution
File details
Details for the file atbu_common_pkg-0.0.12.tar.gz
.
File metadata
- Download URL: atbu_common_pkg-0.0.12.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f09ae8f7755215eeeb82a5bc2aa7dd598c1047d925d66bb47eded2255d4c969 |
|
MD5 | c3bc6ebf7a809e38489528767cf33a18 |
|
BLAKE2b-256 | b29f27b7eb4c11dd8b425a0d892311535c0b6529df0ecf346042615d65555067 |
File details
Details for the file atbu_common_pkg-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: atbu_common_pkg-0.0.12-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7871c481af21d172e89cd92d11fb6ed2fa7e4387fd33ad08373b458108079b7 |
|
MD5 | f00d611acf6730d4476a6aef15688641 |
|
BLAKE2b-256 | adc242e69c5742b8a5fc10940253f9d7e5aa119f25c500b4c6ea10c6cbae1e00 |