semvec/pypi-packages huggingface dataset:
falcon-avishan 0.0.2
Avishan is just an set of tools
License: MIT

==============
Falcon Avishan
==============

Avishan is a set of tools for building fast, comfortable and reliable falcon apps.

Quick start
-----------

1. On linux remember to install this packages::

    pip install cython
    pip install -v --no-binary :all: falcon

2. Create virtual environment for your project::

    sudo -H pip3 install virtualenv


3. Create your views with inheriting classes from "AvishanView"::

    class NewsView(AvishanView):
        url = 'news/'

    def get(self):
        # entire get method
        pass

    def post(self):
        # entire post method
        pass

4. At the end of your file, add this to create server::

    stage = AvishanFalconStage()


5. You can run your server simply with wsgiref::

    if __name__ == '__main__':
        from wsgiref import simple_server

        httpd = simple_server.make_server('127.0.0.1', 8000, stage.app)
        httpd.serve_forever()

Features
--------
cli-parser 0.1.3
Simple CLI Parser with command chaining
License: MIT
Requires Python: >=3.6,<4.0
Keywords: CLI,Python,Tool,Simple

# CLI Parser
## Simple Chained Command Parser

This tool will allow you to create a simple command hierarchy to execute from the command line.

### Example
```python
from cli_parser import command, CliParser, ParentCommand, CommandException

get = ParentCommand('get')

@command
def product(x, y):
    return x * y

@command
def sum(x, y):
    return x + y
    
get.add_sub_cmds(product, sum)

parser = CliParser([get])

while True:
    in_ = input("Enter command:\n==> ")
    
    try:
        response = parser.process_response(in_)
        print(response)
    except CommandException:
       pass
```  

Execute your script from the command line:

```
Enter command:
==> get product 5 10
50

Enter command:
==> get sum 10 20
30

Enter command:
==> q

'Quitting Interpreter'

```

pypi: https://pypi.org/project/cli-parser/