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.5.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.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kisesi-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 2c33401347e9a7c9834dd585e7c873231e77b4c160f08096cb062287f4727739
MD5 4f25ed0263a38953ca3671d1fe618cfe
BLAKE2b-256 a8a36b86481a580b09d26ed616610fdd43c0f76ef8398c0401a032b5bc207883

See more details on using hashes here.

Provenance

The following attestation bundles were made for kisesi-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: kisesi-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c43a38e9d9a474ca4da4a9e3c6225984c0d3d4ad29280fc74f16f89a4e4633f0
MD5 bcbaba6d0d3d105c51f57fb5e2fd29d8
BLAKE2b-256 1b53a97d75db8fd08c86a7ab749d6743961d3f40cf4b74eae996f110ea520c14

See more details on using hashes here.

Provenance

The following attestation bundles were made for kisesi-0.1.5-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