Skip to main content

Create awesome command line applications with less effort

Project description

Eggella

ENG RU

Eggella is a shield volcano in central Kamchatka. The volcano is located on the west axis of the southern Sredinny Range.


About

Eggella is a framework for easy creating REPL applications.

Design inspired by vulcano and various chatbots frameworks and built top on prompt-toolkit

Features:

  • Python 3.8+ support
  • Command line arguments auto cast from function annotations
  • Cross-platform (prompt-toolkit guarantees)
  • FSM (finite state machine) to organize a branch interface system
  • Error handlers
  • Customized events
  • Auto create commands word completer
  • Auto generate help page (like unix man command)

Install

pip install eggella

Examples:

Hello world

from eggella import Eggella


app = Eggella(__name__)


@app.on_command("hello")
def hello():
    return "Hello, world!"


if __name__ == '__main__':
    app.loop()

See the documentation for more examples!

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

eggella-0.0.5.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

eggella-0.0.5-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file eggella-0.0.5.tar.gz.

File metadata

  • Download URL: eggella-0.0.5.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for eggella-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b9a99f837549915eef998c6d76c89657dd660d3a6e53b62f6dfeb43c53bb466c
MD5 9d39d242b7da59bfff20332678eb5b2d
BLAKE2b-256 e99d8673b763ab1b3848f89ffac23d7cc88049df93edff110d3e5248ab9f3787

See more details on using hashes here.

File details

Details for the file eggella-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: eggella-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for eggella-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fb044a84c8d63a7671305f2ccb876d88ae32e74daf9180e86df2a4d8a4411696
MD5 7832dc88ee094bfb6eaf26d8359f0f3b
BLAKE2b-256 4dc6928eb7c1f2f65b2d7bbf668f650a72e59726d532dfe43071183eb5fb4275

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page