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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hypecli-0.0.8.tar.gz.

File metadata

  • Download URL: hypecli-0.0.8.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for hypecli-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5257b0754d9fcc3d03d001fbfae9f0914a6143bf5939d20feed6f926e22ae537
MD5 1d8656db5a6b04674e36d9f4fb7d4475
BLAKE2b-256 60eb8924167ce82e9ad7a4faa4535bed3ed38e6ff882d9471af45d14a54efb67

See more details on using hashes here.

File details

Details for the file hypecli-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: hypecli-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 53.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for hypecli-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 993589c0cdd35ed1acd3f3199581a1aca0b8fdffffc7b2cc2112101d0079343b
MD5 35d7b9603610423b632332475aea30f8
BLAKE2b-256 ec47e9c8717966b7f6b3ba90b3d42aab44cf17fb1b303f3e16bfe0292b83688a

See more details on using hashes here.

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