Skip to main content

Light wrapper around Python `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.3.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.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kisesi-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9b20130071af8815ab24b7ef294ae3b1697e233d7414a2dc6d0421ac0efec397
MD5 a9a3d7c546b4fbcc58ab71da123bdbfa
BLAKE2b-256 9adb027ca9d5b24478bbb1eb20bee7737e09e2ef544bd81b10f33c78a298faf1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: kisesi-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35ae452714acf591b1738a077434f0460dd7d456e468a63e594b1daa844ac13a
MD5 d579fe813daecf4439cefc93869898e6
BLAKE2b-256 8ff3241c9d5b876b546c62cd81356b1d9521f48a671232371d7ad3984a8d2ea8

See more details on using hashes here.

Provenance

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