Eggella
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 auto suggest commands completer
- Auto generate help, and man page
Install
pip install eggella
Hello world
from eggella import Eggella
app = Eggella(__name__)
@app.on_command()
def hello():
"""print `Hello, world!`"""
return "Hello, world!"
if __name__ == '__main__':
app.loop()
See the documentation and examples!
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.1.7.tar.gz
(16.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
eggella-0.1.7-py3-none-any.whl
(21.6 kB
view details)
File details
Details for the file eggella-0.1.7.tar.gz.
File metadata
- Download URL: eggella-0.1.7.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.24.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f15a37f4178f03ceb070b2acfc5faed8deeda48a4fac4c843e9dcf3accf2d39d
|
|
| MD5 |
ca0b6c9d5504c9bf5724fbc494e28679
|
|
| BLAKE2b-256 |
33ce56786a31cb362d30d6546d890b689dc2febe1db2e7df820e2f6710a8f5d8
|
File details
Details for the file eggella-0.1.7-py3-none-any.whl.
File metadata
- Download URL: eggella-0.1.7-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-httpx/0.24.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4cf51efcfcbc122637abc4237d10a3d7ea0a03bd962f035c62d3607752669fe
|
|
| MD5 |
a2db30693b7e6ff7cbb700f105bc0e9a
|
|
| BLAKE2b-256 |
e509ff627dd42819e82de8571a21f4da030541a3fde19f86ced7b41139edf24d
|