Skip to main content

Implementation of the enumerative sphere shaping algorithm for probabilistic constellation shaping.

Project description

Python Bindings for RSESS

Python bindings for the ESS and OESS algorithms implemented in Rust. The bindings are created using PyO3.

  • [Documentation](link to docs)
  • Source

Installation

There may currently be some issues installing PyRSESS on Windows as RSESS uses GMP which can not easily be built on Windows.

Using PIP

Type pip install pyrsess into your favorite command line.

From Source

  1. Make sure that Rust and its package manager cargo are installed
  2. Clone this repository with git clone https://github.com/kit-cel/rsess.git
  3. Create a virtual python environment in a folder of your choice (e.g. python -m venv $VENV_NAME)
  4. Activate the virtual environment (e.g. cd $VENV_NAME; source bin/activate if you are using Bash)
  5. Install the pyrsess package with pip: pip install $YOUR_PATH_TO/rsess/pyrsess
    • If this fails, your pip may be to old. Try pip install --upgrade pip

Development

Building can be done according to: https://pyo3.rs/v0.17.3/getting_started.html

TLDR: pip install maturin; maturin develop

Project content

  • src/lib.rs: PyO3 Rust to python bindings
  • pyess.pyi: Python function type hints

Project details


Download files

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

Source Distribution

pyrsess-0.1.0.tar.gz (50.7 kB view details)

Uploaded Source

Built Distributions

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

pyrsess-0.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp311-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11Windows x86-64

pyrsess-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl (483.7 kB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

pyrsess-0.1.0-cp310-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10Windows x86-64

pyrsess-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl (483.7 kB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

pyrsess-0.1.0-cp39-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9Windows x86-64

pyrsess-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (389.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

pyrsess-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp39-cp39-macosx_10_7_x86_64.whl (484.2 kB view details)

Uploaded CPython 3.9macOS 10.7+ x86-64

pyrsess-0.1.0-cp38-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8Windows x86-64

pyrsess-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp38-cp38-macosx_10_7_x86_64.whl (484.3 kB view details)

Uploaded CPython 3.8macOS 10.7+ x86-64

pyrsess-0.1.0-cp37-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7Windows x86-64

pyrsess-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pyrsess-0.1.0-cp37-cp37m-macosx_10_7_x86_64.whl (484.4 kB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

File details

Details for the file pyrsess-0.1.0.tar.gz.

File metadata

  • Download URL: pyrsess-0.1.0.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e7ca88e2e1822c230c3869d9184582c61674864d0263f2c47b14a920f3d96af
MD5 171a8940a7b186a082c8615a37d384f5
BLAKE2b-256 aa497b948f9df58ecdba563078f255277f7b6d222cdc816f1ca17db3db0438c5

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65fca255256239373973343f3ffa6f8eb926e9126609ac1f7cba6f5d8b450504
MD5 cc6005bd441bfaa99d53920a9767364f
BLAKE2b-256 adfb6f78ef3701178c94655c824acaaa87b43e769c976cb7a2cca7b76838f3cf

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be0c55d8e4184136cb965ed1d28b079029a8572f0a4c481d47d89aa065cf3779
MD5 d287c03af91415d39fa4b6320b2183d5
BLAKE2b-256 54f9b9f97ed20624e7051d8d6d1d5b3a8ede04f2d38ae64422083874a5233d4d

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3919593f65d26e3710a47e8a6ca2bc718261f4f379343b896cfe01c04a5c7559
MD5 af8bceaf803f599dd85ffe2f579d4b63
BLAKE2b-256 8c73be74371fb94c7fcd21504dd105917cc32dba4d0535aa13d4ade09beea663

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ac44c2b36fb982ae2404d95740294594a6035574b5aa7b808cc7333d0901c11
MD5 31b325be5b399c23c73ff87b06d16ce3
BLAKE2b-256 f6ca67fb7a6719ce5d76dcc0a3cf15aae7f04332c563ae8a3ddc574bf8e0b50d

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cdd9cafc9c755696c20c380ca1120a486ff6f9130379780fae9903fb573401f
MD5 499a9e1835abcd27fad80b9b3b4d70bc
BLAKE2b-256 45ed19327156667441ec969db76b4315e50b004ed8f84dd1604231b4e31d9627

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: pyrsess-0.1.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 3a6e6c4aeaed8488ccf10265f8ec9e22be03b32f868e32c4f582dab15c284b17
MD5 d3259a610914449e3f1dee87dc33900d
BLAKE2b-256 d01516440058654126d77265a6193ae038e22937c375bd9de0afa8b4605aee2a

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f902219bdf134ab2d32c2ff31e6bb8a7bb9a6be5f7745579114a4cd93b365b29
MD5 ffc3476d4078f875afe2614804042fe2
BLAKE2b-256 132f15a1ddd6858756646838167da0a52eea5626ed2023a931d99ded666f82ff

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 f8c702df26bb59901fc97c5d5421c5417000b0bac077647ee1adad0eabec54e3
MD5 a763f7e57774215f5a993f38ed7d41ac
BLAKE2b-256 1a52a2e3b5fb8796542e19811c6a54c800c9416becfb6c17661f80bfbed60626

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp310-none-win_amd64.whl.

File metadata

  • Download URL: pyrsess-0.1.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 b277288c367bc216462f07d690bac8ff32aed4296234f6ac542346f547aaf361
MD5 b2b067324ef1168dc4e417e3bfdf3d91
BLAKE2b-256 f33ea8a0f007766c2ea8964cb617e0f23a0f051cff47a4569340ab48a609f957

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0332cbb7084da7d485b3ef6744f7c495fc999c2ee9ca7d91c47a271618df2096
MD5 96dac1e81e940dc752d8ed9a0f3ffabb
BLAKE2b-256 96f5d94e18db1ba6b96f7adaddc85d63fb74625c1d218a3d7c545b6f1b108299

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 954386bb4ca5a6f906befbffb932de4331a341b77b1a29f9a151ccb0717fa7b7
MD5 c428cd289a15b1116af97e5c757d4151
BLAKE2b-256 929330a4aaa7abc2f133cc8eb47c278026eaa8803e23f5f3ab0b58a92469eff7

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp39-none-win_amd64.whl.

File metadata

  • Download URL: pyrsess-0.1.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 1c6b10fbc648e4a64a604b25fb95485e19220c46bbd91cd79f70dce41046c52a
MD5 280c6b79b32fd9a0442339662c7f0d46
BLAKE2b-256 897544f0d5d766282c5e9c35b0497594870727afbf63918006f5061ec1a508c2

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43b7adb6cff79f5e1b4f1c410004ede8f6727a3105b4170353fd66e5f6cea1b4
MD5 d2cf5f6b613f207a36b81a1241bfa1ff
BLAKE2b-256 2ef7f95fe7c181d0f5e36bfbb71c74e68811e5d6e67b93dbf63d6127098a2e55

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3efddc0a96f2d5b3d12d3768afc2af32d3128ecb19f5e1421193a2701c884586
MD5 0407aa2b2199b855824f553ba24ff07f
BLAKE2b-256 3a06c3e4fee425369c80eb76cc650365133af014eaeaebc112898a7466212538

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 76318fd0dac796ad1d99c459d10054b518cacaa7557bb8a8744c0580bae99c78
MD5 2c5e220f1abe268aab1a6ceb8fc0e50f
BLAKE2b-256 1e8cf42ddc3c12e7f5d6d572e8d34ed33f9b0d9eb9f18c664b021c3eadc6715e

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp38-none-win_amd64.whl.

File metadata

  • Download URL: pyrsess-0.1.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 b64d414fd346057abd99149451cc6246232ce09dfddf04875bf706efab3a1c38
MD5 faca51b270bf696470f4ef9939e4cd78
BLAKE2b-256 958763f2fba813066b5fee1477e4210189cc0ba4aeb5e6963b9901fcd9122719

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6aa70a0b1aa2d394c7b18ebcc2d76baaf2cd6649dfc08350c11147afba5f028d
MD5 413c078814f6adbfc840950a590eba80
BLAKE2b-256 e5e5dbf2cb4cd309a48c8505d6dd767378b092bf622e1c76dac92413f3285fb1

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 734f0fb1a312f1027335f14aeb366b7cf970b582f6469e9c8a77f500ba1c8053
MD5 4a1d85ddf4c828d8f3f488addb39658f
BLAKE2b-256 394c1260a2ed1dfc468f159dd7251f71b420941d839bfc8db5e41bde277d5eb3

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp37-none-win_amd64.whl.

File metadata

  • Download URL: pyrsess-0.1.0-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.2.3

File hashes

Hashes for pyrsess-0.1.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 2516cc1fb3ce11a90394ed0385df54df464afcae58a2afbfa79f2c54255ee6f2
MD5 8efa5845ab1f98b9a95b6c445e8d8051
BLAKE2b-256 49d4dc1752460f4c1a3b441e2fbab617a32e14ac135442301a4549904bc205a2

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5b9ff3a3f4d2deecd8ff477dd23b38cd748e9c7bce403c71ffbcdb1c0b82fda5
MD5 58607e5ee4765af5af35bbc58207a48f
BLAKE2b-256 2fd5cf6b2a05eb29ade16f871f9ad9bfb08320d113c9a7967c8a957af9d838d3

See more details on using hashes here.

File details

Details for the file pyrsess-0.1.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for pyrsess-0.1.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 43b2d931008194a8aeb4583a6e17500ae3fe8ada02a9ee4ed08de05cd92568d0
MD5 b1ae6984e3b5b539d697c50a5492d83b
BLAKE2b-256 dd7e423a4a1354cdacbe418d4664d9456bb0243a2662847351e785a95e8e2acb

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