Coder Social home page Coder Social logo

trendingtechnology / hype Goto Github PK

View Code? Open in Web Editor NEW

This project forked from riyuzenn/hype

0.0 2.0 0.0 812 KB

⚙ A lightweight command line interface library for creating commands.

Home Page: https://hype.serum.studio

License: MIT License

Python 100.00%

hype's Introduction

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

hype's People

Contributors

nullsphere avatar riyuzenn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.