Skip to main content

writes and handle the bytes exchanged on network

Project description

netbytes

The netbytes module aims to offer an easy way to handle the bytes exchanded beetween server and clients.

As servers and clients can only exchange str, there is a need to establish an arbitrary convention for representing instructions, informations, data, etc… into str. A common technic, is to reserve the first bytes of the string to this purpose, and the rest of the string to contain data. And even this data must be rigourously encoded by an arbitrary convention… If not properly handled, the readability can quickly be a mess, and a nightmare to maintain.

This is where netbytes aims to be handfull : it creates a tree of all the type of bytes that can be exchanged beetween clients and server from a model easy to understand, and quick to design. The nodes of this tree can then be called to produce a string ready to be sent. And on the reciever side, this string can be processed by the tree, which call the appropriate handler. This way, the programmer spends less time in writing code to decode and interpret the recieved string of bytes, and the source code become a lot more readable, and maintainable.

News

2011-11-20 : a version 2.0 is under construction, it will support python 3 as well, and the docs will be accurate (actually there is little mistakes in it, but nothing really important). I chosed to name the next release 2.0 because the package will be multi-file, therefore requiring a deletion of previous versions. It should come by the end of the month.

Project details


Release history Release notifications | RSS feed

This version

1.3

Download files

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

Source Distributions

netbytes-1.3.zip (210.1 kB view details)

Uploaded Source

netbytes-1.3.tar.bz2 (92.6 kB view details)

Uploaded Source

Built Distributions

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

netbytes-1.3.win-amd64.exe (231.8 kB view details)

Uploaded Source

netbytes-1.3.win32.exe (204.1 kB view details)

Uploaded Source

File details

Details for the file netbytes-1.3.zip.

File metadata

  • Download URL: netbytes-1.3.zip
  • Upload date:
  • Size: 210.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netbytes-1.3.zip
Algorithm Hash digest
SHA256 91c1aa4d5c772d2e6db02f4b8627cd055c7592ac5ec78901d94bfd7133601492
MD5 dd78f78009ee6ac56eb01ccca1c462dd
BLAKE2b-256 6cdee4df1ccc8a650f02bd98999fc02412c8275a1ab165d4493ebc2965bfab10

See more details on using hashes here.

File details

Details for the file netbytes-1.3.tar.bz2.

File metadata

  • Download URL: netbytes-1.3.tar.bz2
  • Upload date:
  • Size: 92.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netbytes-1.3.tar.bz2
Algorithm Hash digest
SHA256 63dc8a7a7b38492c4e38137eb51cd8f54ca9aff8a532337874015009aecc2482
MD5 98c2f6a4bcbe58c6f99f386af5dcfacc
BLAKE2b-256 c105be13df55de9177c9f5de111892b885cd23fd3e2154fa537147cf62bc8711

See more details on using hashes here.

File details

Details for the file netbytes-1.3.win-amd64.exe.

File metadata

  • Download URL: netbytes-1.3.win-amd64.exe
  • Upload date:
  • Size: 231.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netbytes-1.3.win-amd64.exe
Algorithm Hash digest
SHA256 c6d121dfacbbc36b5c39c2cea368d941917486898c6ef16493a5f47b7debd6e3
MD5 d396ed38a5d57b34dce0fb62fab0d5a0
BLAKE2b-256 72a7b945206d809b6e60d227f5ebbd4556b43b232249a18eb7fa01ed3d4bea3c

See more details on using hashes here.

File details

Details for the file netbytes-1.3.win32.exe.

File metadata

  • Download URL: netbytes-1.3.win32.exe
  • Upload date:
  • Size: 204.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netbytes-1.3.win32.exe
Algorithm Hash digest
SHA256 fafa60f408ec6b77c3edc6cf71024bcabb149b55c9917c64325d38fd244f5fdc
MD5 726eec33d38dad276895c5d4962e5503
BLAKE2b-256 5eb989cbaf757ae799f1e71aa7afbbd2b23ab6fe90bc50a7d562509dd56fa6bf

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