This release is a pre-release and may not be stable for production use.
peng3dnet is a TCP-Based networking Library designed for use with peng3d.
It uses Length-Prefixing to cut the raw TCP Stream into packets, which are usually MessagePack-encoded Python objects.
peng3dnet has been tested and is developed under Python 3.5, however it should work with newer versions as well. Python 2.x support is currently not planned, but may be possible by rewriting small parts of the code.
Documentation
The current documentation is available here on ReadTheDocs.
The Sphinx-based source for the documentation is available in the docs/ subdirectory. Documentation for specific methods and classes is usually found in the docstring of the method/class.
Requirements
Currently, peng3dnet requires only two modules: - bidict, as PyPI package bidict - msgpack-python or u-msgpack-python, available under the same name on PyPI
Note that msgpack-python may be faster, since it has a C-extension. In cases where C-extensions cannot be used, u-msgpack-python can be used, since it should work on all platforms and is written in pure Python.
Installation via pip
If possible, this method of installation is to be preferred.
Installation via pip is simple:
pip install peng3dnet
Note that on some systems it may be necessary to use sudo pip install peng3dnet if the above command fails.
Installation via setup.py
If possible, use pip instead.
Installation via setup.py
python setup.py install
Note that using this method requires manually installing the dependencies and downloading of the repository. It may also be necessary to use sudo python setup.py install if the above command fails.
Metadata
Release files for peng3dnet 0.1.3a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| peng3dnet-0.1.3a0.tar.gz | 29.2 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| peng3dnet-0.1.3a0-py3.7.egg | Legacy Egg format | - | - | Details |
| peng3dnet-0.1.3a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 145.2 kB
Release files / peng3dnet-0.1.3a0.tar.gz
| Download URL | peng3dnet-0.1.3a0.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11875525868c52f7fb3323039670445119c5e0ea82aa86cd7487a0f352ddd675
|
|
BLAKE2b-256 checksum How to use checksums |
0627bc1a51f01195e93536d62b35ba89a9d168911013e891fcf9ddb2c80f7958
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Release files / peng3dnet-0.1.3a0-py3.7.egg
| Download URL | peng3dnet-0.1.3a0-py3.7.egg |
|---|---|
| Size | 71.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
a8b9b993b93614b33e69b759fa531bc71831955472c759050d6adeafec7ee18e
|
|
BLAKE2b-256 checksum How to use checksums |
3d079ebf5ae07a536c9d048f81d550f9897f8cc2a2b86ad3319796af6707cbc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|
Release files / peng3dnet-0.1.3a0-py3-none-any.whl
| Download URL | peng3dnet-0.1.3a0-py3-none-any.whl |
|---|---|
| Size | 44.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e902c3bcec62601647a4be946d910549638903873b4c7ae5beb3335565e7d1
|
|
BLAKE2b-256 checksum How to use checksums |
0b2a56444e3148895eb8c8f642d66f255cf6e54252b19f48febee61c66a2d666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
|