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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kisesi-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 ab492b866163455345724e1e8d70b047af1207c8fc9476f7aa3890e9e66e0187
MD5 1aa4738b5b2605a0dc3d0abc6da85528
BLAKE2b-256 069ca8c6e674c93c521a70f0d35ab83f3bab2bfc5c29bd790b8ab6e1ea16c1d3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: kisesi-0.1.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a816e0f826f2298f9beb8d7585317ff15c5a6e1de49a40c5bc61580ce5b68a
MD5 582cbf99f18e90eaf12e04f7dbbed3dd
BLAKE2b-256 dcc284c729cc3d6684b0520f451a001ad3fba3127cb4d5595413f997ba01671c

See more details on using hashes here.

Provenance

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