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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mudpack-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce68c1caa1967f60f785925cc2a5e529485cb5244621644fa0f310771174dd4f
MD5 84242778fab300b61140d1b6fa30aea1
BLAKE2b-256 88b2a400d9bb0ac92a4cdadd47435a9782a837e6d12ef2e240205827cc81766f

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