python-autologs
Auto generate logs for functions based on function docstring
Decorator to generate log info and log error for function. The log contain the first line from the function docstring and resolve names from function docstring by function args, any args that not resolved from the docstring will be printed after. In some cases only info or error log is needed, the decorator can be called with @generate_logs(error=False) to get only log INFO and vice versa
Example: @generate_logs() def my_test(test, cases): ''' Run test with cases ''' return
my_test(test='my-test-name', cases=['case01', 'case02'] Will generate: INFO Run test my-test-name with cases case01, case02 ERROR Failed to Run test my-test-name with cases case01, case02 if step is True: Test Step 1: Run test my-test-name with cases case01, case02
Metadata
Release files for python-autologs 0.0.5
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 |
|---|---|---|---|---|
| python-autologs-0.0.5.tar.gz | 4.5 kB | Without provenance | Details for python-autologs-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_autologs-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for python_autologs-0.0.5-py3-none-any.whl |
Total release size: 10.9 kB
Release files / python-autologs-0.0.5.tar.gz
| Download URL | python-autologs-0.0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3eeaf8214c0044c8d9f20e1c3856965e93155e1301c0a83dd1af773c686a4b02
|
|
BLAKE2b-256 checksum How to use checksums |
b999557b0a7d8c8baca9664ce314176d87c35e665f5a7e961aa9d80603f02cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / python_autologs-0.0.5-py3-none-any.whl
| Download URL | python_autologs-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
118277ea760e54030ac034f6fb456925d0be782b854e3ba94fbdc124e52a81a5
|
|
BLAKE2b-256 checksum How to use checksums |
333605e531e8d5258676d9527eb9e7b31120acfa04aea4e04d6ab430a7c3f03c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for python-autologs 0.0.5
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.