semvec/pypi-packages huggingface dataset:
appframe 0.0.1
A Python Application Development Framework
License: MIT

# Introduction and Installation

Appframe is an open source python library that reduces the code and complexity of developing command line applications. It handles most of the low level logic while enforcing a modular architecture.

##  Features

- [x] 2 lines of code for the `main` function
- [x] Composition of the CLI commands from a *commands/* directory


Appframe leverages the follwing greate libraries:

- https://pypi.org/project/cleo/
- https://pypi.org/project/simple-plugin-loader/

## Installation

Appframe is avaiable from the official Python Package Index (PIP), you can install it from the terminal:
```bash
pip install appframe
```

##  Hello World
main.py
```python
import appframe


appframe.main(__name__, __file__, "test-app", "0.1")
```

_commands/hello.py_
```python
from appframe import Command, verbose


class CreateCommand(Command):
    """
    Greet a person

    greet
        {person? : name of the person to greet}
    """

    def handle(self):
        person = self.argument("person") or "Peter"
        verbose(1, "Greeting person")
        print(f"Hello {person}")
```

Test the app:
```sh
python test.py greet Joe
```
phbdl 0.1.7
a tiny and smart cli video downloader for pxxxhub
License: MIT
Keywords: video downloader

# A tiny video url getter

You can use this tool to get the video url of pxxxhub.

## Usage

`$ phbdl <url>`

where the `<url>` is the video's webpage url in your browser. Just copy it and paste into the terminal.

[![D6R43R.png](https://s3.ax1x.com/2020/11/29/D6R43R.png)](https://imgchr.com/i/D6R43R)

Once you get the video url, you can use download the video with your favorite downloader, such as curl, wget, httpie, or even Chrome!

For example, with [httpie](https://github.com/httpie/httpie), you can type this:

`$ http -d <video-url>`

where the `<video-url>` is the video's real url which you get via `phbdl`

[![D6R5g1.png](https://s3.ax1x.com/2020/11/29/D6R5g1.png)](https://imgchr.com/i/D6R5g1)