reger
discord.py built-in logger is very neat, so I made this from discord py source.
This library provides a nice-looking log formatter
Python version: python>=3.10
Install
Using pip
python3 -m pip install reger
or in pyproject.toml
dependencies = [
"reger>=0.1.3",
]
Usage
For root logger:
import logging
import reger
reger.setup_logging()
logging.info('Hello, reger!')
With file handler:
import logging
import reger
root_logger = logging.getLogger()
file_handler = logging.FileHandler('./latest.log')
file_handler.setFormatter(reger.ColourFormatter())
root_logger.addHandler(file_handler)
reger.setup_logging(logger=root_logger)
logging.info('Hello, reger!')
For specific handler:
import logging
import reger
logger = logging.getLogger('TestLogger')
reger.setup_logging(logger=logger)
logger.info('Hello, reger!')
Metadata
Release files for reger 0.1.3
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 |
|---|---|---|---|---|
| reger-0.1.3.tar.gz | 3.7 kB | With provenance | Details for reger-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reger-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for reger-0.1.3-py3-none-any.whl |
Total release size: 8.9 kB
Release files / reger-0.1.3.tar.gz
| Download URL | reger-0.1.3.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9909288b22b2148645531c889e9367ccb88058d20a5f59b452edf978258cd4df
|
|
BLAKE2b-256 checksum How to use checksums |
f08bd5d47c0b3a49c20672dcc8addd00013e18aebb62d997db9364828b074d73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 27, 2026.
Transparency logRelease files / reger-0.1.3-py3-none-any.whl
| Download URL | reger-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db04362e3fa0065fd638fc887afd0a729856684557ea92f141bc78fc792630d0
|
|
BLAKE2b-256 checksum How to use checksums |
ea9240b4deee461f79ebf9de8441bd1f6c90feb8bd97f80e82e8508109cff71d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 27, 2026.
Transparency logSecurity for reger 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for reger-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 27, 2026.
Transparency logA 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.