Skip to main content

⚙ A lightweight command line interface toolkit for python

Project description

hypecli

⚙ A lightweight command line interface library for creating cli commands.

About | Installation | Usage | Features | Contributors | License

About

Next: Installation

Hype CLI is an open source framework use for building command line applications easirer
for cli applications that required different type of commands.

It also comes with alot of different features that you may want to check out. Hype CLI was mainly
built for Anglo ( a modern lightweight web framework for python 3. ). Because of Hype CLI's capability
it becomes easier to build command-line application.

Learn More

Installation

You can install the module @ PyPI (recommended). or if you want you can install the module straight on the github repo (unrecommended) Or, download it at release page. (recommended)

$ pip install hypecli

Installation Guide at the Documentation Site

Usage

You can read the documentation for more info and examples for more examples. Hyper CLI comes with a starter project template as well. After the installation, run

$ hyper create demoproject

Or you can create your own project by looking on this simple example.

#: Import the main class of the module
from hype import Hype

#: create a `app` instance of HyperCLI `:class:`
app = Hype()

#: Declare a command decorator.
@app.command(description="Greet the given user")
def greet(name: str):

  #: print the name that user define.
  app.echo("Hello", name)
 
if __name__ == "__main__":
  #: Run the application
  app.run()

# Output:
# python test.py greet --name Zenqi
# Hello Zenqi

Features

Check Hype Features from the documentation site.

Contributors

For contirbuting, see CONTRIBUTING.md

Thanks to these contributors who made the project maintained!

Zenqi

License

Hype is license under MIT

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

hypecli-0.0.8.tar.gz (39.0 kB view hashes)

Uploaded Source

Built Distribution

hypecli-0.0.8-py3-none-any.whl (53.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page