Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smok-serwis/bunia
Library for writing commands with universal interfaces
https://github.com/smok-serwis/bunia
command-line-parser commandline-interface
Last synced: 6 days ago
JSON representation
Library for writing commands with universal interfaces
- Host: GitHub
- URL: https://github.com/smok-serwis/bunia
- Owner: smok-serwis
- License: mit
- Created: 2016-12-19T18:31:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T13:33:46.000Z (over 2 years ago)
- Last Synced: 2024-11-29T14:33:47.975Z (about 1 month ago)
- Topics: command-line-parser, commandline-interface
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bunia
[![PyPI version](https://badge.fury.io/py/bunia.svg)](https://badge.fury.io/py/bunia)
[![Build Status](https://travis-ci.org/smok-serwis/bunia.svg)](https://travis-ci.org/smok-serwis/bunia)
[![Code Climate](https://codeclimate.com/github/smok-serwis/bunia/badges/gpa.svg)](https://codeclimate.com/github/smok-serwis/bunia)
[![Test Coverage](https://codeclimate.com/github/smok-serwis/bunia/badges/coverage.svg)](https://codeclimate.com/github/smok-serwis/bunia/coverage)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()
[![PyPI](https://img.shields.io/pypi/pyversions/bunia.svg)]()
[![PyPI](https://img.shields.io/pypi/implementation/bunia.svg)]()**bunia** is a library, that allows you to write multi-interface commands.
This means that the same command can be launched using eg. console, Web GUI, e-mail, SMS, or any other provider you might wish.
You specify a command as a class.
## Integrated runner
To run a command from console, type:```bash
python -m bunia.runner.console mymodule:MyCommandClass ... arguments ...
```