Mudpack
Sending UDP requests is simple. Let's make it even easier.
Mudpack is a simple UDP client for python.
Usage
As a regular client:
import mudpack
mudpack.Client("localhost", 1000)
mudpack.send("foo")
As a context manager:
import mudpack
with mudpack.Client("localhost", 1000) as client:
client.send("foo")
or use the method directly:
import mudpack
mudpack.send("localhost", 1000, "foo")
Virtual Environment
Create a virtual Environment
virtualenv .venv -p pytthon 3.14
source .venv/bin/activate
Tests
Using pytest for Tests
python -m pytest
Formatting and Linting
Using pre-commit for linting and formatting
pre-commit install
pre-commit run --all-files
Metadata
Release files for mudpack 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mudpack-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mudpack-1.3.0-py3-none-any.whl
| Download URL | mudpack-1.3.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
360de31fb3282e95b24f8cfaea238e1a8f5fc1cd0f4706897af560ee2f93513c
|
|
BLAKE2b-256 checksum How to use checksums |
a08526a04c29dd6f7a323dc70e25acef856ef10faa4439ce14a7ffa19123b987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|