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

Hello world

from eggella import Eggella


app = Eggella(__name__)


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


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

quickstart

See the documentation and 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.8.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

eggella-0.0.8-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eggella-0.0.8.tar.gz
Algorithm Hash digest
SHA256 731fe0de2d60d4f0473015ab3bb1d960918483f7ff2154001e04f8d7d04fbf1e
MD5 3fd3cb24cbf8413b57d628c63313a08e
BLAKE2b-256 2193317507fb919612586ded818e750bf73f9b2bd0baf4af3459f82a385dbfba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for eggella-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a49b9fb3f4ac107b9694091e0ee0f825d3e991f41a4f55c03b80c154fcea6ff9
MD5 a289cb687aa8adf546dbb6be27bebeb9
BLAKE2b-256 81986523e163bcad0caa9ee3e145e363b16bd10bb5193decb4cd845604bae6f1

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