Rusty-RLP
Rapid fast RLP serialization / deserialization for Python.
As the name suggest, rusty-rlp is written in Rust and based on the battle-tested, MIT-licensed
rlp implementation that is also used by OpenEthereum.
Usage
from rusty_rlp import decode_raw, encode_raw
encoded = encode_raw(b'some_string')
decoded = decode_raw(encoded)
Running the tests
The library exposes a pure Python API and all tests are implemented in python_tests.py
Run the tests:
make test
Note: There do exists some tests implemented in Rust that can be run with cargo tests but those do not test this library but the underlying rlp library instead. They exist merely to prove some assumptions about the underlying library.
Benchmarks
We provide some benchmarks against pyrlp.
| Encoding (msec/loop) | Decoding (msec/loop) | |
|---|---|---|
| PyRLP | 0.016 | 0.014 |
| rusty-rlp | 0.00173 (~9x) | 0.00595 (~2.35x) |
Running the benchmarks
make benchmark
Metadata
Release files for rusty-rlp 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 2.6 MB
Release files / rusty_rlp-0.4.0-cp312-none-win_amd64.whl
| Download URL | rusty_rlp-0.4.0-cp312-none-win_amd64.whl |
|---|---|
| Size | 110.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
445b3b28bbea8f140d4f32a12fe7c11c362b651788c6d07203e8a70682ac23f4
|
|
BLAKE2b-256 checksum How to use checksums |
320b9305ce979f1355fb59a2231ad5f2bea1974d648bd88ca720af66f48924ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 236.6 kB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
be1d8e7aedf38d74131229bd8b083f4c5923ef65709a2fa71c0fcca394057cb6
|
|
BLAKE2b-256 checksum How to use checksums |
641e479dfcda72419ee87bf9db8f6c2455259a1be5f1f89244536e2483c4d80f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.12 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
009788da3d0f90aaeb3edb1dd5c323e7aef372d809a0382c3d117bed5782be1d
|
|
BLAKE2b-256 checksum How to use checksums |
ab310e28f52a59b6628d05deb0a2fa08bff6224a6688b459b41d4f2a50096063
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp311-none-win_amd64.whl
| Download URL | rusty_rlp-0.4.0-cp311-none-win_amd64.whl |
|---|---|
| Size | 110.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d1076c4fba0c81f2f49a5ba33690724fc5f5331e868f3fc4742a88bba1797b24
|
|
BLAKE2b-256 checksum How to use checksums |
2bd35f708ba9c4532a225cd4cc4d723f1bc5059bbd4ba65f013ae67bc0587492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 236.6 kB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
54df22a28f36d71eb83876a1b6ff97990ce15cd23c744b9401055f75e9397e62
|
|
BLAKE2b-256 checksum How to use checksums |
6f3d09c204f2907cd069fd32c3c65f81afac891833fc19c820dd5bca8e802e65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.11 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
94dad740d786482ae3d814200983f26d8d7496dd6b30698d4e108da2e50a57b9
|
|
BLAKE2b-256 checksum How to use checksums |
bb232200ed8ed186c55e248ff3639a354c89e5ea89dafa0611238576e6fa4bd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp310-none-win_amd64.whl
| Download URL | rusty_rlp-0.4.0-cp310-none-win_amd64.whl |
|---|---|
| Size | 110.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc31540a92d77c2d53013afd2f8ce567d4e606f59b4b795deb9beebf5bf1fbbd
|
|
BLAKE2b-256 checksum How to use checksums |
54e122535aaee8d098dceccab6db4fcecac4854678e0e60c8a0821316f1ba756
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 236.6 kB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
dab2e6f064d5641d8394d522ba1de6bcbc3a9845efe182149f16245b7932f40e
|
|
BLAKE2b-256 checksum How to use checksums |
7ec50bc2e9008b9f29da2e309bc4a29a0032d05175a97e64af82f5e45e1fc1ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp310-cp310-macosx_10_12_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp310-cp310-macosx_10_12_x86_64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.10 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3740797a3dc11467f320098aef314f7fab7cd6884e3b15ad1eea17032f6dc073
|
|
BLAKE2b-256 checksum How to use checksums |
038e0e22fd27ec5d407a5303d3becf9432f35431fc19a12a00d00f9e5b3449a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp39-none-win_amd64.whl
| Download URL | rusty_rlp-0.4.0-cp39-none-win_amd64.whl |
|---|---|
| Size | 110.8 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0b3eba7e1cf7abd37041edb575ff390b8691a14390e0b8e674d967312a603faf
|
|
BLAKE2b-256 checksum How to use checksums |
0c8adae76c7136248f6336d524b8c764842e7a6ec876cdb68060cb4731eebca6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp39-cp39-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 236.6 kB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
5e231f797ea90da28331851b12f2524456c2c3cfdbb7ccfef25821fbbd0fb092
|
|
BLAKE2b-256 checksum How to use checksums |
a32dd694b5544de25133830b31318c2ec4ba666491eeec2425dd7cd991b174d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp39-cp39-macosx_10_12_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp39-cp39-macosx_10_12_x86_64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.9 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
4740ae9b3042c508bad5fb267567feb8477039a52fde82ef3660c0c9c944ba59
|
|
BLAKE2b-256 checksum How to use checksums |
24c1268489a6429ad18952f4b5d9f57cfa78b86de81c5174519781f07a52fd6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp38-none-win_amd64.whl
| Download URL | rusty_rlp-0.4.0-cp38-none-win_amd64.whl |
|---|---|
| Size | 110.8 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0b464097401328a6be715e490d271716f3c48b8b447c2d61cbe4072e5ceab498
|
|
BLAKE2b-256 checksum How to use checksums |
42ec9d630a94700f1a7ae8b2d7a279ba00aba0a652cfb4f365a10419da015c57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp38-cp38-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 236.6 kB |
| Tags | CPython 3.8 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff0e2c1152077e475aae434725c524cb6a61a129f5ce0fb11abcc895adbe872a
|
|
BLAKE2b-256 checksum How to use checksums |
b4bd1e65bb2fa6cc1f5f1befb8c7c9c326ea808f190e7eb751a3038ca1e782a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Release files / rusty_rlp-0.4.0-cp38-cp38-macosx_10_12_x86_64.whl
| Download URL | rusty_rlp-0.4.0-cp38-cp38-macosx_10_12_x86_64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.8 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
91f97432b1b0a910bdc8586364aac951a62e4fc3d15e31de314e9b71e65500e4
|
|
BLAKE2b-256 checksum How to use checksums |
68abef3459b3dfe6a40975d128796cf4d629d1eda9d664b79b4d293a3e0f8631
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.5.1
|
Security for rusty-rlp 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.