r/Python 28d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

22 Upvotes

136 comments sorted by

View all comments

1

u/Traditional_Rub_102 9d ago

## What My Project Does

AhiskaLog is a lightweight Python logging and developer-output library focused on clean, readable terminal output.

It provides the usual logging levels plus `SUCCESS`, along with `title()`, `section()`, `table()`, and `tree()` for structured developer output.

The library has zero third-party runtime dependencies and uses only Python's standard library.

Example:

from ahiska.log import log

log.title("Model Training")

log.info("Loading configuration...")

log.success("Configuration loaded")

config = {

"Model": "Qwen2.5-7B-Instruct",

"Dataset": "AhıskaAI Instruction Dataset",

"Epochs": 3,

"Batch size": 8,

"Learning rate": "2e-5",

"Precision": "BF16",

"Device": "NVIDIA RTX 4090",

}

log.section("Training Configuration")

log.table(config)

log.section("Training Pipeline")

log.tree({

"Training": {

"Dataset": "loaded",

"Tokenizer": "ready",

"Model": "loaded",

"Optimizer": "initialized",

"Scheduler": "ready",

}

})

log.success("Training pipeline ready!")

Output:

Model Training

INFO: Loading configuration...

SUCCESS: Configuration loaded

--- Training Configuration ---

Model: Qwen2.5-7B-Instruct

Dataset: AhıskaAI Instruction Dataset

Epochs: 3

Batch size: 8

Learning rate: 2e-5

Precision: BF16

Device: NVIDIA RTX 4090

--- Training Pipeline ---

Training:

Dataset: loaded

Tokenizer: ready

Model: loaded

Optimizer: initialized

Scheduler: ready

SUCCESS: Training pipeline ready!

## Target Audience

Python developers who want simple and readable logging without adding third-party runtime dependencies.

It can be used in general Python applications, CLI tools, data processing pipelines, AI/ML projects, and other development workflows.

The project is currently in early development. We also plan to use AhiskaLog across our other libraries to provide clean logging and consistent terminal UI across the AhıskaAI ecosystem.

## Comparison

AhiskaLog is intentionally smaller and more minimal than feature-rich alternatives such as Rich and Loguru.

The goal is not to provide a highly customizable terminal UI or a large logging framework. Instead, it focuses on a small API, readable default output, structured developer output, and zero runtime dependencies.

Additional renderers such as boxed tables and JSON are planned for the future.

I'd love to hear feedback on the API, output design, and what features would actually be useful.

Source code:

https://github.com/AhiskaAI/AhiskaLog