Skip to main content

A new Unix shell implemented in Python


Gitter Codacy coverage Codacy grade Maintenance


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

Release files for dish 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dish 0.0.0
File Interpreter ABI Platform
dish-0.0.0-py3-none-any.whl Python 3 none any Details

Release files / dish-0.0.0-py3-none-any.whl

Download URL dish-0.0.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b124df025e4189df397e0aa71cc88e5f445307faf6988bc0f00fd61c494623a5
BLAKE2b-256 checksum
How to use checksums
7f03387bc3cbe2c1157c1dbc3b2dc47b31b45709da906c2ed9e4f82dcddca3e5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page