Ipyllogger
[SCHOOL PROJECT - PYTHON BASICS] | Minimum Python package to write logs in a file
Installation
pip install ipyllogger
Tests
make test
Usage
from ipyllogger import Logger
from ipyllogger import level
logger = Logger()
# Log an error
logger.log("Hello World", level.ERROR)
# Log a warning
logger.log("Hello World", level.WARNING)
# Get all errors logs
print(logger.get_logs(level.ERROR))
# Get all warnings logs
print(logger.get_logs(level.WARNING))
License
Contributors
Project Director
Metadata
Release files for ipyllogger 1.0.0
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 | |
|---|---|---|---|---|
| ipyllogger-1.0.0.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ipyllogger-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / ipyllogger-1.0.0.tar.gz
| Download URL | ipyllogger-1.0.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
123e3fe46a4d462f4e38240a5c7f1536d91ce53b290bcd8a72b4130a09a5ef29
|
|
BLAKE2b-256 checksum How to use checksums |
f8ec043695c0165b5f527dea288fedcd741dc682de4a67f9a073d101e9cd4787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / ipyllogger-1.0.0-py3-none-any.whl
| Download URL | ipyllogger-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8536085a29ddca07bb4962c2f62eddffbc0fe4b5224e6cc1c3eec3547df34d95
|
|
BLAKE2b-256 checksum How to use checksums |
272e17ba3126d9eadd107d0fe403917eb8551635c7437d48b0b4da09120bce35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for ipyllogger 1.0.0
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.