Algomax-Common
A common tools for working with algomax-cli and algomax-engine.
install the package with bellow command:
-> pip install algomax-common
Logging
Adding logging to your Python program is as easy as this:
from algomax_common.logger import AMLogger
Initiate the logger
add below code on top of your programs file
AMLogger.init()
and, use it:
AMLogger.info('order created successfully', extra=with_this_data)
AMLogger.error('order creation failed', extra=order_data_and_error)
Note: extra is a dict
Explore log files
above code creates a directory named logs in your project directory.
log directory structure:
logs
|____ error.json # contains AMLogger.error() records
|____ info.json # contains AMLogger.info() records
Metadata
Release files for algomax-common 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| algomax-common-0.2.tar.gz | 6.0 kB | Without provenance | Details for algomax-common-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algomax_common-0.2-py3-none-any.whl | Python 3 | none | any | Details for algomax_common-0.2-py3-none-any.whl |
Total release size: 15.3 kB
Release files / algomax-common-0.2.tar.gz
| Download URL | algomax-common-0.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd9aed91f882eb9b1467944a49e8a0b75713372519f0d37c2bfe548ac3717987
|
|
BLAKE2b-256 checksum How to use checksums |
209d5cc4f760c3646630fea754ee1c72ddb1956b4df85a790360c8cf5de1f326
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / algomax_common-0.2-py3-none-any.whl
| Download URL | algomax_common-0.2-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc08d5b14197bc1a598d3b4e9dfe6d98cf2187fb72bc5394118242f91fbc0df9
|
|
BLAKE2b-256 checksum How to use checksums |
811eb3bf9cce808ce34a1b3d68ac8061d82e669deafad1027067a73c8eaf3b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for algomax-common 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.