Skip to main content

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)

Metadata

Release files for foyou-http 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foyou-http 0.0.16
File Size Uploaded
foyou-http-0.0.16.tar.gz 31.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for foyou-http 0.0.16
File Interpreter ABI Platform
foyou_http-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 61.7 kB

Release files / foyou-http-0.0.16.tar.gz

Download URL foyou-http-0.0.16.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0260dc6cb166fad50ffdb8ff0436b180c6f62ed58dc44d1339261b17ff43423d
BLAKE2b-256 checksum
How to use checksums
c0de976555e03fc64c4370711bdb1f12870b9a480b67bc30a20151070867c32c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / foyou_http-0.0.16-py3-none-any.whl

Download URL foyou_http-0.0.16-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc088135b2bd32b4b6fde066f626b77200b39b24c074c81b03201c1090afa06e
BLAKE2b-256 checksum
How to use checksums
b36a90040e82e01f9a3ad325529b7f4373c0ab01efeab30a876fa2e7a1b797be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page