A simple UDP client for Python
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mudpack-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mudpack-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
653c407a3a91b7d2996022f1d88f0550be933bdc9a1053f422959386e0048f4a
|
|
| MD5 |
47923ff535a4b0603b13be2cb77dec26
|
|
| BLAKE2b-256 |
68af297132e9780fff427f14841e8aaa0009c4f94f5068f84f307fada4f76940
|