⚙ A lightweight command line interface library for creating commands.

Overview

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

You might also like...
Command line interface for testing internet bandwidth using speedtest.net

speedtest-cli Command line interface for testing internet bandwidth using speedtest.net Versions speedtest-cli works with Python 2.4-3.7 Installation

Universal Command Line Interface for Amazon Web Services

This package provides a unified command line interface to Amazon Web Services.

command line interface to manage VALORANT skins

A PROPER RELEASE IS COMING SOON, IF YOU KNOW HOW TO USE PYTHON YOU CAN USE IT NOW! valorant skin manager command line interface simple command line in

 Microsoft Azure CLI - Azure Command-Line Interface
Microsoft Azure CLI - Azure Command-Line Interface

A great cloud needs great tools; we're excited to introduce Azure CLI, our next generation multi-platform command line experience for Azure.

flora-dev-cli (fd-cli) is command line interface software to interact with flora blockchain.

Install git clone https://github.com/Flora-Network/fd-cli.git cd fd-cli python3 -m venv venv source venv/bin/activate pip install -e . --extra-index-u

A command line interface to buy things in stregsystemet

Stregsystemet-CLI This repository is the Stregsystemet CLI, to buy things in Stregsystemet, at AAU. Use of this cli-tool is at your own risk and there

moviepy-cli: Command line interface for MoviePy.

Moviepy-cli is designed to apply several video editing in a single command with Moviepy as an alternative to Video-cli.

Command line interface for unasync
Command line interface for unasync

CLI for unasync Command line interface for unasync Getting started Install Run the following command to install the package with pip: pip install unas

Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Website

🤖 rover Rover is a command line interface application that allows through browse through mission data, images, metadata from the NASA Official Websit

Releases(0.0.8)
  • 0.0.8(Jan 24, 2022)

  • 0.0.7(Oct 19, 2021)

  • 0.0.6(Aug 31, 2021)

    Release Note

    • Fix bugs on app.argument
    • Removed massive that I encountered

    New Features

    • Added prompt to v0.0.6

    Note

    If you still use version < 0.0.6, please update immediately by using pip install hypecli --upgrade. Since version, less than 0.0.6 has tons of unfixed bugs.

    Source code(tar.gz)
    Source code(zip)
  • 0.0.6b(Aug 15, 2021)

    Release Note

    • Fix app.argument bug again
    • Fix non parameter function bug
    • Possible fix for boolean option

    Note

    If you have <= 0.0.5 installed, please update to this version We fixed enormous bugs and more. Hopefully on 0.0.6 and 0.0.7 we'll implement hype.prompt

    Source code(tar.gz)
    Source code(zip)
  • 0.0.5(Aug 12, 2021)

    Release Note

    • Fix app.argument bugs
    • Massive bug fixed

    Note

    • hype.prompt is still not yet released. Probably on v0.0.6 or v0.0.7. Current Progress: 50%
    Source code(tar.gz)
    Source code(zip)
  • 0.0.4(Aug 7, 2021)

    Release Note

    • Fix plugins error.
    • Add app.argument decorator for handling args.
    • Improved performance
    • Fix app.exit error

    Next Version Note

    • Add hype.prompt Current progress: 50%
    Source code(tar.gz)
    Source code(zip)
  • 0.0.3(Aug 4, 2021)

    Release Note

    Note: For using UI, kindly read docs for plugin installation

    • Add progressbar UI component plugin
    • Add Spinner UI component plugin
    • Add Table UI Component plugin
    • Fix and add UI component
    • Add app.exit() for Hype Application instance

    Next Version Note

    • Might add prompt support.
    Source code(tar.gz)
    Source code(zip)
  • 0.0.2(Aug 1, 2021)

    Release Note

    • Reformat the code, probably this one is the main release.
    • Add color support. You may install via pip install hypecli[color]

    Next Version Note

    • Might add prompt support on the next version (Planning)
    • Add some UI components lik ProgressBar, Spinner. (Planning)
    Source code(tar.gz)
    Source code(zip)
  • 0.0.1b(Jul 5, 2021)

Owner
Serum
Join us at www.serum.studio
Serum
organize your books on the command line

organize your books on the command line

Ben Winston 19 Jan 21, 2022
Albert launcher extension for converting units of length, mass, speed, temperature, time, current, luminosity, printing measurements, molecular substance, and more

unit-converter-albert-ext Extension for converting units of length, mass, speed, temperature, time, current, luminosity, printing measurements, molecu

Jonah Lawrence 2 Jan 13, 2022
Key-control - A tool for add keys to your Termux app

Key-Control Is a tool for add keys to your Termux app. Cara Penginstalan $ pkg u

Beereva.id 1 Feb 14, 2022
Python CLI utility and library for manipulating SQLite databases

sqlite-utils Python CLI utility and library for manipulating SQLite databases. Some feature highlights Pipe JSON (or CSV or TSV) directly into a new S

Simon Willison 1.1k Jan 04, 2023
Code for the Open Data Day 2022 publicbodies.org Nepal data scraping activities.

Open Data Day Publicbodies.org Nepal We've gathered on Saturday, 5th March 2022 with Open Knowledge Nepal in order to try and automate the collection

Augusto Herrmann 2 Mar 12, 2022
Turdshovel is an interactive CLI tool that allows users to dump objects from .NET memory dumps

Turdshovel Description Turdshovel is an interactive CLI tool that allows users to dump objects from .NET memory dumps without having to fully understa

Leron Gray 41 Jul 27, 2022
Detect secret in source code, scan your repo for leaks. Find secrets with GitGuardian and prevent leaked credentials. GitGuardian is an automated secrets detection & remediation service.

GitGuardian Shield: protect your secrets with GitGuardian GitGuardian shield (ggshield) is a CLI application that runs in your local environment or in

GitGuardian 1.2k Jan 06, 2023
xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt.

xonsh xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.6+ with additio

xonsh 6.7k Jan 08, 2023
Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network)

Phil Wang 4.4k Jan 09, 2023
An ZFS administration tool inspired on Midnight commander

ZC - ZFS Commander An ZFS administration tool inspired on Midnight commander Work in Progress Description ZFS Commander is a simple front-end for the

34 Dec 07, 2022
CLI for SQLite Databases with auto-completion and syntax highlighting

litecli Docs A command-line client for SQLite databases that has auto-completion and syntax highlighting. Installation If you already know how to inst

dbcli 1.8k Dec 31, 2022
Command line parser for common log format (Nginx default).

Command line parser for common log format (Nginx default).

Lucian Marin 138 Dec 19, 2022
MiShell is a multi-platform, multi-architecture project based on the first version (MiShell32)

MiShell is a multi-platform, multi-architecture project based on the first version (MiShell32), which offers super super small reverse shell payloads great for injection in buffer overflow vulnerabil

Kamyar Hatamnezhad 0 Oct 27, 2022
3DigitDev 29 Jan 17, 2022
liquidctl – liquid cooler control Cross-platform tool and drivers for liquid coolers and other devices

Cross-platform CLI and Python drivers for AIO liquid coolers and other devices

1.7k Jan 08, 2023
Python library and command line tool for interacting with Bugzilla

python-bugzilla This package provides two bits: bugzilla python module for talking to a Bugzilla instance over XMLRPC or REST /usr/bin/bugzilla comman

Python Bugzilla Project 112 Nov 05, 2022
CLI based diff viewer

Rich Diff CLI based diff viewer

Suresh Kumar 24 Nov 15, 2022
Synchronization tool for external devices which does not support time stamps, e.g. over MTP.

MTP-Sync Tool to synchronize data to a slow device, e.g. a smartphone which is connected over MTP. A state file (.mtp_sync_state.json) is created in t

2 Jul 22, 2022
A command line connect 4 game against a minimax agent.

A command line connect 4 game against a minimax agent.

1 Oct 17, 2021
A supercharged AWS command line interface (CLI).

SAWS Motivation AWS CLI Although the AWS CLI is a great resource to manage your AWS-powered services, it's tough to remember usage of: 70+ top-level c

Donne Martin 5.1k Jan 05, 2023