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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mudpack-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6fdf54f979e684c0c52dee78050425f1ff900224e3f68763968a7e87767b789
MD5 3bf9ab6a1c5c6e20df0945e21da99a54
BLAKE2b-256 84e0d77f1df28992db594afe5c9d88814a67b18dc861949ab13780558b2baf4a

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