Skip to main content

RisoTech Python Kit - A collection of Python tools and libraries for the Riso framework

Project description

Riso Python Kit

Python Version PyPI - Version

RisoTech Python Kit provides a set of utilities, components, and best practices to enhance the functionality of Riso-based Python applications.

Features

Terminal Logging Package (pykit.logging)

A colorful terminal logging system converted from bash script to Python, providing:

  • 🎨 Colorful terminal output with ANSI color codes
  • 📊 Workflow tracking with timing and context management
  • 📋 Step-by-step logging with progress indicators
  • 📦 Group logging with context managers
  • 🚨 Error handling with recovery hints
  • 🐛 Debug mode support

Quick Usage

Simple logging (like print()):

from pykit.logging import log_info, log_success, log_error, log_warning

log_info("This works like print but with colors!")
log_success("Operation completed successfully!")
log_error("Something went wrong!")
log_warning("This is a warning!")

Advanced workflow logging:

from pykit.logging import TerminalLogger

logger = TerminalLogger()
logger.workflow_start("Data Processing")

logger.step_start("Load Data", 1, 3)
logger.info("Loading data from database...")
logger.step_end("Load Data", "success")

with logger.group("Data Transformation"):
    logger.info("Applying transformations...")
    logger.success("Transformations completed")

logger.workflow_end("Data Processing", "success")

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

riso_pykit-0.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

riso_pykit-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file riso_pykit-0.1.0.tar.gz.

File metadata

  • Download URL: riso_pykit-0.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for riso_pykit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dbec7d4c63d3f7b666b8700b98b6ab1ee827e6a81b58f57d510d49e0ca2b6eaa
MD5 740d04660a3a8e4c2adfceea4ffc9105
BLAKE2b-256 7ed09a473cee2914be46520fddfb6bd037a6666bee0834fd21577be78928c177

See more details on using hashes here.

Provenance

The following attestation bundles were made for riso_pykit-0.1.0.tar.gz:

Publisher: python-publish.yml on libs-factory/riso-pykit

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

File details

Details for the file riso_pykit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: riso_pykit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for riso_pykit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8bb430ff00bd0667cee069c6d42cc8d0f8f77de719d4d8603b747d6606783a8
MD5 109187a43fbdc3d17b1b9c8d979c0544
BLAKE2b-256 2c8550cac148a5b0c416837852042d39b120b038f00ed451d179da1fb746c580

See more details on using hashes here.

Provenance

The following attestation bundles were made for riso_pykit-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on libs-factory/riso-pykit

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