Skip to main content

Simple IRC bot library

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-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minnet-0.1.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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a92a4a6ca7587f9ae2d9b0527e10e84bb6c4b331176004f56b7f9f6f02639e6
MD5 d8d93a59034a3aef437e1f1ae80a21c3
BLAKE2b-256 f82f5dcbb40ae7a0dc8ff496080dce3491e607345d634ced11b320c1af3053f7

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