Skip to main content

trainlog

Nice colorful logging module, which also includes an extra level TRAIN for model train etc.

from trainerlog import get_logger

logger = get_logger(name="ebun", level="DEBUG")

logger.train("Training step complete")
logger.debug("this is just a debug message")
logger.info("This is supposed to be more important")
logger.warning("Somethings maybe not right")
logger.error("Something went wrong")
logger.critical("Something went very wrong")

The loglevel can be set via the argument, or by setting the LOGLEVEL environment variable to INFO, DEBUG etc.

Metadata

Release files for trainerlog 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trainerlog 0.4.2
File Size Uploaded Provenance
trainerlog-0.4.2.tar.gz 1.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / trainerlog-0.4.2.tar.gz

Download URL trainerlog-0.4.2.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3da5f9fe2074da9340b77fd14842b7c08c477b06934cc54c1bff50e068d9b5a4
BLAKE2b-256 checksum
How to use checksums
84a624615d4048c2dbcae162a82f4a9132ca352b6daff30423f2bc88a3956abc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.12 Darwin/25.1.0

Release files / trainerlog-0.4.2-py3-none-any.whl

Download URL trainerlog-0.4.2-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cc853894fa1a1391b4d4bfc8a186a14767ae9f3e15d58a34b137531f8b62ba5
BLAKE2b-256 checksum
How to use checksums
d6c6445b693a3115bd752efecf13818b1afa9fe2ad07a263da10ac486f173eaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.11.12 Darwin/25.1.0

Security for trainerlog 0.4.2

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.

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