Unofficial UI wrapper on click commands
Project description
Unofficial Click UI
So, you have just designed a new command line app that works for you. Now, you have a user base, who is not an IT/Software professional.
And you need an UI probably!
And a Basic one would suffice?
Then you can use this project/library to quickly create an UI with just 3 Lines of extra code.
- Add this project in your requirement.txt/setup.py
- Import the annotation
- Use the annotation
This project is not promising you any fairytale UI framework. It ONLY promises to be less obnoxious to non-IT non-Techinacal people. If you need something extravagant, you better design your own framework.
Also, I never intend it to be part of any other framework. As I don't want make any other person to alter their way of working or coding because of this.
Installation
Currently this project is not published in the pypi index. I plan to move this to the pypi index when I finally complete developing 1.0.0 As of now, I am using the pypi Test index. To install, you need to run the following command:
pip install -i https://test.pypi.org/simple/ clickui-unofficial
Usage
from clickui import make_ui # This one is from this framework
import click
# Decorate your existing click command if you need an UI
@make_ui
@click.command('Sample Command')
def sample_command():
pass
Screenshot
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
Built Distribution
Hashes for clickui_unofficial-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71dce005d3717590622c10f5e1a311339989e77a55a58f8de5321ea09abcd26b |
|
MD5 | 533a14357c44dd0c2c4e397b18acd54c |
|
BLAKE2b-256 | 3b94022099d34e1a906a30a70810151321d23d9e54997c6d3dd50a328afb3e05 |