Skip to main content

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

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

mudpack-1.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mudpack-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: mudpack-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for mudpack-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 135aeda109039c1786549dbff9fe33abf22522bf262c63916fc03ccd1a7cffb9
MD5 cbf38392a2ae49a9fd8579008600d26b
BLAKE2b-256 63830a4c741b6b6cba0b9e231c4ca42b789abe1ad66145780f5fa5ec1d56df94

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