No project description provided
Project description
raknet-python
Python bindings to rust-raknet native library.
Install
pip install raknet-python
Prebuilds are provided for 64-bit Windows 10, Linux. If a prebuild does not work, please create an issue.
Build
The RaknetClient and RaknetServer classes are JS wrappers for the internal RaknetSocket and RaknetListener classes implemented in Rust in src/. All methods use asynchronous wrappers.
from raknet_python import RaknetServer,RaknetClient
server = RaknetServer("127.0.0.1:19132")
client1 = RaknetClient("127.0.0.1:19132")
client2 = server.accept()
client1.send([0xfe , 0x01 , 0x01 , 0x01])
buf = client2.recv()
assert buf == [0xfe , 0x01 , 0x01 , 0x01]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file raknet_python-0.1.0-cp39-none-win_amd64.whl.
File metadata
- Download URL: raknet_python-0.1.0-cp39-none-win_amd64.whl
- Upload date:
- Size: 497.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a182ed567fd7bdae6838612b076dfc3c8f9e99490b7c324b39291f717914cf19
|
|
| MD5 |
5728663a82fdb8268cd262944d6c0176
|
|
| BLAKE2b-256 |
bb9129e39da0df076498efb963d82791d2993986383bf6d4f9bdef0a95fd2cac
|
File details
Details for the file raknet_python-0.1.0-cp38-cp38-manylinux_2_24_x86_64.whl.
File metadata
- Download URL: raknet_python-0.1.0-cp38-cp38-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 596.6 kB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f170f9c797f2d00bd485f3492f0f40c2304f674e41df97dc02dde78c40c89a47
|
|
| MD5 |
85e64f1f70e3b86ec82441c62f055161
|
|
| BLAKE2b-256 |
1952939cc6004acca2438d07b95a2c3e4dbe3015c8514aa444fb54e90c11f4c1
|