simple http server for share files.
Project description
foyou-http
python mini http server
快速入门
安装
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
$ 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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
foyou-http-0.0.16.tar.gz
(31.3 kB
view details)
Built Distribution
File details
Details for the file foyou-http-0.0.16.tar.gz
.
File metadata
- Download URL: foyou-http-0.0.16.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0260dc6cb166fad50ffdb8ff0436b180c6f62ed58dc44d1339261b17ff43423d |
|
MD5 | 30d06dd4a06b28562df3ddd8fb306811 |
|
BLAKE2b-256 | c0de976555e03fc64c4370711bdb1f12870b9a480b67bc30a20151070867c32c |
File details
Details for the file foyou_http-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: foyou_http-0.0.16-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc088135b2bd32b4b6fde066f626b77200b39b24c074c81b03201c1090afa06e |
|
MD5 | 218d47c1e9922349ac453ce02f5a0422 |
|
BLAKE2b-256 | b36a90040e82e01f9a3ad325529b7f4373c0ab01efeab30a876fa2e7a1b797be |