Skip to main content

protocol

Project description

mdmt
is a protocol for data transfer

project include:
_ request generator
_ request parser
_ simple socket server / client



request:

mdpt/0.1
length: ##
##meta##

-
##data##



generating:

mdpt(meta).g(data)


parsing data:

mdpt().u(pkg)


parsing metadata:

mdpt().m(pkg)


parsing data length:

mdpt().l(pkg, include_meta, minus)

include_meta: bool if True returns length with metadata minus: int subtracts minus value

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

mdpt-0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

mdpt-0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page