Skip to main content

App for simple console app building

Project description

Small App lib

What is it?:

Python library for anyone who wants to create small app with menus (console app). Lib also provide custom logger class for your logging things. 'core' directory of the lib contains all that you might need. Small app lib is some kind of AppKit to create console applications for your needs and desires.

Target Auditory of the lib:

  1. Author of the lib (Cupcake_wrld)
  2. Some strangers... (especially on PyPI)
  3. Maybe moderators on PyPI site (if they exist)

What useful opportunities in use this lib?

  1. None (I am serious now)

Small app lib requirements:

  1. Python with version 3.12 or above
  2. Some storage space on your personal computer

Small app lib components:

  1. BotLogger - custom logger class for your small console app.
  2. SimpleMenus - constructed simple menus
  3. UserInput - various user input
  4. UserOutput - various user output (for example check condition or no check)
  5. TextAnsiFormatter - ansi formatter for text (ex. underline or color)

Lib functionality examples:

Can construct text string with styles:

TextAnsiFormatter.construct_string('Hello world', 'underline', 'no-bound', 'no-fill_bg') # simple Hello world with underline

TextAnsiFormatter.construct_string('Hello world', 'no-underline', 'bound', 'no-fill_bg') # simple Hello world with bound

TextAnsiFormatter.construct_string('Hello world', 'no-underline', 'no-bound', 'fill_bg') # simple Hello world with fill background

TextAnsiFormatter.construct_string('Hello world', 'no-underline', 'no-bound', 'no-fill_bg', 'crossed') # simple Hello world with crossed

Simple constructed menus:

Contacts:

Library author:

  1. Author GitHub account
  2. Author contact email

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

smallapplib-1.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

smallapplib-1.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file smallapplib-1.1.0.tar.gz.

File metadata

  • Download URL: smallapplib-1.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for smallapplib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 753e4d265522bda92306ba9d1d0d7a94d93edb7fa3dd7744b0d50914951b7daf
MD5 4b31fe7f180506cadea5f0c2f1af49ef
BLAKE2b-256 24b84ce54583c9ce58f44f0e9c56c1760536e2fef6da151574243a58c9966dee

See more details on using hashes here.

File details

Details for the file smallapplib-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: smallapplib-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for smallapplib-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2508f979e07e4567aa86a67a8cceb66308d7527636d5c60b829e1a470a3c0d93
MD5 853af3ac0aab2434788f5da7921fb6c2
BLAKE2b-256 4dfa7a7b6f9c7d3b0bb02d89655e587661925dd8a1cf01bf75dc815cff31380d

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