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.2.0.tar.gz (6.2 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.2.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for smallapplib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4d50e2aea5fc2f8d9e02deb919d7c2bc7b35e59b49e97b24cee3f397c8e3b2dc
MD5 2c85a296c9268e46b01ebaafa317f505
BLAKE2b-256 cdc22c76931717b8185e9b76e5602e15cf22c6cbd721633ba0a15a258267887c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smallapplib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bfd9cd92d3107bdb764b3872c80082150ce1ef168226c2da27193ff8cc4a8639
MD5 dedb7329c49fb05ec0aa33c8d4cbc355
BLAKE2b-256 5a1b1dae48a03fdb341c04e5511b4548a251af8e40d5ac42013463ff88e56ca8

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