Skip to main content

Light wrapper around Python's `logging` built-in module.

Project description

Kisesi

Kisesi is a light wrapper around the built-in logging module of Python standard library. This module is written in a hacky way and thus is meant for personal use.

Demos

import kisesi


def main() -> None:
    kisesi.basic_config(level=kisesi.DEBUG, incdate=True)

    log = kisesi.get_logger(__name__)
    log.debug("This is a \"debug\" message.")
    log.info("This is a \"info\" message.")
    log.warning("This is a \"warning\" message.")
    log.error("This is a \"error\" message.")
    log.critical("This is a \"critical\" message.")


if __name__ == "__main__":
    main()

Preview

Maple Font

Demo Image

Normal

[12/25/24 09:28:35 PM] [DEBUG] @ __main__.py:8 main :: This is a "debug" message.
[12/25/24 09:28:35 PM] [INFO] @ __main__.py:9 main :: This is a "info" message.
[12/25/24 09:28:35 PM] [WARN] @ __main__.py:10 main :: This is a "warning" message.
[12/25/24 09:28:35 PM] [ERROR] @ __main__.py:11 main :: This is a "error" message.
[12/25/24 09:28:35 PM] [CRITICAL] @ __main__.py:12 main :: This is a "critical" message.

(You'll get colored level names in normal fonts as well)

Guide

You are expected to read the source code to figure out all the features.

Installation

Pypi

user:~$ pip install kisesi

Git

user:~$ pip install git+https://github.com/eeriemyxi/kisesi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kisesi-0.1.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kisesi-0.1.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file kisesi-0.1.4.tar.gz.

File metadata

  • Download URL: kisesi-0.1.4.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kisesi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 dc7757748885efd6e94f9e3b223987ced357b31687b1d5749ed1d43dfad290d1
MD5 d5e6dfbde6f5aa04eff5ab30cbdb6d92
BLAKE2b-256 69ac4844849b00a0463fa44b128677c990c7e4701e649fe53e08f1bc14878fb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for kisesi-0.1.4.tar.gz:

Publisher: publish-to-pypi.yml on eeriemyxi/kisesi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kisesi-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: kisesi-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for kisesi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3d9a3ce00dcc6b1b2d124ea5c500a64adc8dc931b3c0a2c51cf77500f189a5c8
MD5 fae784743136598d2bd7fbd31cf5db78
BLAKE2b-256 0154d2edc18577725b39cff03fa66491eea6146ea990e92f11000f73f0932f67

See more details on using hashes here.

Provenance

The following attestation bundles were made for kisesi-0.1.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on eeriemyxi/kisesi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page