Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

UDP for Humans

Project description

# Install

pip install packets

# Use for clients

import packets

client = packets.User()
client.sendto((server.host, server.port), 'Hi!')
print client.next.body

# Use for servers

import packets

server = packets.User()
packet = server.next
if packet.body == 'ping':
packet.reply('pong')


# Documentation

*To be written*

Meanwhile take a look at the [source code](https://github.com/medecau/packets/blob/master/packets.py).

# Bugs & Co.

If you find bugs or new features that are not implemented you can:

* [Fork and implement the changes](https://github.com/medecau/packets/fork)
* [Fork and write a test that fails but shouldn't](https://github.com/medecau/packets/fork)
* [Submit an issue in github](https://github.com/medecau/packets/issues)


Project details


Release history Release notifications

This version
History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.2

History Node

0.0.1

History Node

0.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
packets-0.0.8.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None Nov 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page