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.2.tar.gz (9.2 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.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: termcraft-0.1.2.tar.gz
  • Upload date:
  • Size: 9.2 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.2.tar.gz
Algorithm Hash digest
SHA256 7b2e0997bdbb7f250826d184b4be5cecef94cf611125a72e72f79da4291873e8
MD5 398e3dd49c5ef674ce715b457efbe661
BLAKE2b-256 fd1b7d6b6e7e4037629ecabb3f7909a1ee25be49fc2057800993a61a2e8825cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: termcraft-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a03ac759a95dc7e141da409fbac42db74e2a4ba9ebdcfa803896d0f21405e97
MD5 f24e9957535725a2343b4be037c0d56f
BLAKE2b-256 dfbf3788b0675873df9c77b1c5e8d79357eebb61d99f4f6242a9c9d9f9034038

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