Skip to main content

Client and server for a new Internet built on top of TCP/IP

Project description

Minnet

Minnet is a minimalist text-only Internet client/server in Python.

  • Default server is read-only.
  • Client supports min://ip/path URLs.
  • Unified POST-only style requests (body optional).
  • Lightweight and fast.

Example

Server

from minnet import Minnet
server = Minnet()
server.serve() # Uses default handler, serves files in ./www
# You can create your own handler(path,body) and give it to server.serve()

Client

from minnet import Minnet
client = Minnet()
response = client.request("min://127.0.0.1/index.txt")
print(response)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minnet-1.0.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file minnet-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: minnet-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: curl/8.14.1

File hashes

Hashes for minnet-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88bd14c47a13f46f3cbd8fc60e49c5544bf575146a6afef1039a91e0cb42e60e
MD5 8de88e81c58b5e39a15b4d6cc8238f11
BLAKE2b-256 70c12e6bebf80cf73984f5401ed1104ac05104b6feb4fd829213fcb34175cc89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page