fancylog
Fancier logging with python.
Uses the standard python logging library, but (optionally) in addition:
- Logs code when using the multiprocessing module using multiprocessing-logging
- Uses GitPython to log information about the git environment.
- Logs the command-line arguments used to run the software
- Logs object attributes
To install
pip install fancylog
N.B. For the git logging to work, you need to have git and the
GitPython package
installed. The latter can be installed along with fancylog using:
pip install fancylog[git]
To enable logging when using the multiprocessing module, install using:
pip install fancylog[multiprocessing]
To run example
git clone https://github.com/neuroinformatics-unit/fancylog
pip install -e .
python fancylog/example.py /path/to/output/log/dir
If you run the example, you should get a log file that resembles this
Metadata
Release files for fancylog 0.8.1
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 |
|---|---|---|---|---|
| fancylog-0.8.1.tar.gz | 16.7 kB | Without provenance | Details for fancylog-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fancylog-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for fancylog-0.8.1-py3-none-any.whl |
Total release size: 26.3 kB
Release files / fancylog-0.8.1.tar.gz
| Download URL | fancylog-0.8.1.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6235a3420a6ebaafca793a736bd98dbff3d2b9829c1632c6444ce6fb13500f32
|
|
BLAKE2b-256 checksum How to use checksums |
267085412b13bef88181026b83a329e8362f11547e8345347ca65afa0606fc8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / fancylog-0.8.1-py3-none-any.whl
| Download URL | fancylog-0.8.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3a4b41991f9bab965e8bfebe52f12229499b534f940a8b55961e8e66d5ec3fe
|
|
BLAKE2b-256 checksum How to use checksums |
85c1401eae9fca5a15c994af960461d0d8b2eaf7207c15937bcc73bf706464bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for fancylog 0.8.1
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.