Metadata-Version: 2.1
Name: foyou-http
Version: 0.0.16
Summary: simple http server for share files.
Author: foyoux
Project-URL: Source, https://github.com/foyoux/foyou-http
Project-URL: Homepage, https://github.com/foyoux/foyou-http
Project-URL: Bug Tracker, https://github.com/foyoux/foyou-http/issues
Keywords: foyou-http
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flask
Requires-Dist: werkzeug
Requires-Dist: flask-cors

# foyou-http
python mini http server

## 快速入门

安装

```shell
pip install -U foyou-http
pip install git+ssh://git@github.com/foyoux/foyou-http.git
pip install git+https://github.com/foyoux/foyou-http.git
```

> 关于库名：因为这属于偏向个人的库，为了尽可能不占用公共资源，所有库名看上去有些啰嗦。以后我开发的类似库，都会添加 **foyou-** 前缀。

安装完后会有一个命令行工具 - `pyhttp`

```sh
$ pyhttp --help

usage: pyhttp [-h] [--host HOST] [--port PORT] [--version] [dir]

simple http server for share files.

positional arguments:
  dir          HTTP Server 共享目录

optional arguments:
  -h, --help   show this help message and exit
  --host HOST  HTTP Server 监听地址
  --port PORT  HTTP Server 监听端口
  --version    打印版本信息

pyhttp(0.0.1) by foyou(https://github.com/foyoux)
```
