Skip to main content

A lightweight Python library for creating beautiful, consistent terminal output for CLI applications.

Project description

TermCraft

TermCraft is a lightweight Python library designed to craft beautiful, professional, and consistent terminal user interfaces for CLI applications.

Created by Engr. Aamir Jamil.

Features

  • Colors & Styles: Easily apply ANSI colors and styles, completely cross-platform.
  • Banners & Boxes: Draw beautiful headers, message boxes, and separators.
  • Tables & Lists: Format dictionaries and list data dynamically.
  • Emoji System: Extensive built-in emoji lookup, presets, and spinners.
  • Progress: Progress bars and animated loaders.

Installation

pip install termcraft

Quick Start

from termcraft import *

title("My AI Project")
success("Model Trained Successfully")
dict_ui({"Accuracy": "98%", "Loss": "0.02"})
progress(75)

Requirements

  • Python 3.10+
  • colorama (installed automatically)

License

MIT License

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

termcraft-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

termcraft-0.1.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termcraft-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for termcraft-0.1.0.tar.gz
Algorithm Hash digest
SHA256 78210eb8fb292e7409096b23ff2082264ad296d0fd58458d55bd4af865b3e7d3
MD5 2bbae81490d48508767e7ed0be7a94f4
BLAKE2b-256 f3289a749fe5e10f78d1f8e036a7694a1e364bb5fee0a50ef6c9701eeb843af1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termcraft-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for termcraft-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2df546057da942a508a9ec6dcacac33479ceeb46b5af6210a178dd24e0ea685a
MD5 714bcd3ed62321220c86abf8b7bce62d
BLAKE2b-256 2f1523e34ed89482986f58f60ac4c3bec1bad5da1dcd021e6c8409c6c6a9e9ff

See more details on using hashes here.

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