A new, modern Unix shell implemented in pure Python with Flask-like configuration and extensibility
Project description
A new Unix shell implemented in Python
Dish is a new Unix shell implemented in Python with Flask-like configuration and extensibility. It is currently in alpha stage of development. It works by having a Python script called "dish" somewhere in PATH
. This script looks a bit like a single-file Flask application. Here is an example:
#!/usr/bin/env python3
from dish import Dish
dish = Dish()
# ansicolor color to be used in PS1 prompt
from dish.ext import ansicolor
dish.register_extension(ansicolor)
dish.config['PS1'] = '<color fg="pink">$</color> '
if __name__ == '__main__':
dish.run()
Installation
Currently, it's not possible to install with Pip yet. To install the master branch:
$ git clone https://github.com/dullbananas/dish.git
$ cd dish
$ python3 setup.py install --user
Project Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
dish-0.0.0-py3-none-any.whl
(6.9 kB
view details)
File details
Details for the file dish-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: dish-0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b124df025e4189df397e0aa71cc88e5f445307faf6988bc0f00fd61c494623a5 |
|
MD5 | f6409aee4bae0b5a30c06bf4af76a480 |
|
BLAKE2b-256 | 7f03387bc3cbe2c1157c1dbc3b2dc47b31b45709da906c2ed9e4f82dcddca3e5 |