indentedlogs
Adds indentation to the log messages according to their location in the call stack.
- Documentation: https://gergelyk.github.io/python-indentedlogs
- Repository: https://github.com/gergelyk/python-indentedlogs
- Package: https://pypi.python.org/pypi/indentedlogs
- Author: grzegorz.krason@gmail.com
- License: MIT
Requirements
This package requires CPython 3.8 or compatible. If you have other version already installed, you can switch using pyenv. It must be installed as described in the manual.
pyenv install 3.8.2
pyenv local 3.8.2
Installation
pip install indentedlogs
Examples
python examples/demo0.py
python examples/demo1.py
python examples/demo2.py
Development
# Preparing environment
pip install --user poetry # unless already installed
poetry install
# Auto-formatting
poetry run docformatter -ri indentedlogs tests
poetry run isort -rc indentedlogs tests
poetry run yapf -r -i indentedlogs tests
# Checking coding style
poetry run flake8 indentedlogs tests
# Checking composition and quality
poetry run mypy indentedlogs tests
poetry run pylint indentedlogs tests
poetry run bandit indentedlogs tests
poetry run radon cc indentedlogs tests
poetry run radon mi indentedlogs tests
# Testing with coverage
poetry run pytest --cov indentedlogs --cov tests
# Rendering documentation
poetry run mkdocs serve
# Building package
poetry build
# Releasing
poetry version minor # increment selected component
git commit -am "bump version"
git push
git tag ${$(poetry version)[2]}
git push --tags
poetry build
poetry publish
poetry run mkdocs build
poetry run mkdocs gh-deploy -b gh-pages
Donations
If you find this software useful and you would like to repay author's efforts you are welcome to use following button:
Metadata
Release files for indentedlogs 0.1.4
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 |
|---|---|---|---|---|
| indentedlogs-0.1.4.tar.gz | 5.5 kB | Without provenance | Details for indentedlogs-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| indentedlogs-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for indentedlogs-0.1.4-py3-none-any.whl |
Total release size: 11.4 kB
Release files / indentedlogs-0.1.4.tar.gz
| Download URL | indentedlogs-0.1.4.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b11a912477bacfc4f617623ae7abfea4c7c7254b3be46c54715c909844554c3
|
|
BLAKE2b-256 checksum How to use checksums |
1368bf6b5a7ce81355c1beed38f1c3fb8915ea1952af5e6d2407f33f46113c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.2 Linux/5.5.7-arch1-1
|
Release files / indentedlogs-0.1.4-py3-none-any.whl
| Download URL | indentedlogs-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02dc088b824eaa76bee328f6e02dd3b17eea90281f359ad2428283713ac4b7af
|
|
BLAKE2b-256 checksum How to use checksums |
cc948c6a6dc6310e4ff6e1f479c909c77118db9765eb6bbbcb64c80af46805ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.3 CPython/3.8.2 Linux/5.5.7-arch1-1
|
Security for indentedlogs 0.1.4
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.