Skip to main content

indentedlogs

Adds indentation to the log messages according to their location in the call stack.

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:

Donate

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)

Source distribution for indentedlogs 0.1.4
File Size Uploaded
indentedlogs-0.1.4.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for indentedlogs 0.1.4
File Interpreter ABI Platform
indentedlogs-0.1.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page