Skip to main content

Lakers Python

Python wrapper for the lakers crate.

Installation and usage

pip install lakers-python
import lakers

# generate a keypair
lakers.p256_generate_key_pair()

# instantiate a initiator and prepare EDHOC's message 1
initiator = lakers.EdhocInitiator()
message_1 = initiator.prepare_message_1(c_i=None, ead_1=None)

# for more examples, see the tests in the repository

Logs

To show logs emitted by the wrapped Rust implementation, set the RUST_LOG variable, e.g.:

RUST_LOG=trace python -c "import lakers"

Development

To build and test:

maturin develop
pytest

To deploy:

# need to make the examples folder available for the python package,
# because it is listed as one of the workspace's default-members
ln -s ../examples ./examples
MATURIN_PYPI_TOKEN=<your pypi token here> maturin publish

Requirements

The maturin executable must be available. The recommended way is to install and use it in a virtual environment:

python3 -m venv .venv
source .venv/bin/activate
pip install -U pip maturin pytest cbor2
pip freeze

Release files for lakers-python 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lakers-python 0.6.2
File Size Uploaded
lakers_python-0.6.2.tar.gz 1.5 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for lakers-python 0.6.2
File
lakers_python-0.6.2-pp311-pypy311_pp73-win_amd64.whl PyPy 3.11 PyPy 3.11 7.3 Windows x86-64 Details
lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl PyPy 3.11 PyPy 3.11 7.3 macOS 11.0+ ARM64 Details
lakers_python-0.6.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
lakers_python-0.6.2-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-cp314-cp314-manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
lakers_python-0.6.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
lakers_python-0.6.2-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-cp313-cp313-manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
lakers_python-0.6.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
lakers_python-0.6.2-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
lakers_python-0.6.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
lakers_python-0.6.2-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-cp311-cp311-manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
lakers_python-0.6.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
lakers_python-0.6.2-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details
lakers_python-0.6.2-cp310-cp310-manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64 Details
lakers_python-0.6.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 11.1 MB

Release files / lakers_python-0.6.2.tar.gz

Download URL lakers_python-0.6.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
bc4dbe014161e4023a95affa93b9f3648f218acb6b1d99a5bc98dd7f676c5d56
BLAKE2b-256 checksum
How to use checksums
8c09942939302f2e2473f4f601a90c53426db5dac4a9ae22f5bf9340a9fe3fb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-pp311-pypy311_pp73-win_amd64.whl

Download URL lakers_python-0.6.2-pp311-pypy311_pp73-win_amd64.whl
Size 286.1 kB
Tags PyPy 3.11 PyPy 3.11 7.3 Windows x86-64
SHA-256 checksum
How to use checksums
a3804af88abd14ba66246c356eb5b1bfb126d9fbb6cca67f83f599f8e0f599c0
BLAKE2b-256 checksum
How to use checksums
b969ee4a78c748730a74a71823467a2425e412eed842d997fe2bdac00d04078b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl
Size 453.2 kB
Tags Linux glibc 2.34+ x86-64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
cf2abab5e3dff7a6109a0666bd5b1c3a4c52b8eb3460c5ef93814eba509c5a15
BLAKE2b-256 checksum
How to use checksums
f2888ae4f1020bb0dc44a7e68e64eaaa72b6fce1519cc648f02d7badfcc0d283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl
Size 454.8 kB
Tags Linux glibc 2.34+ ARM64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
7269d3329e188e6d404f9deca9ef67bbba0bd96faaf48abbe0bc369072aca733
BLAKE2b-256 checksum
How to use checksums
2b7ba69a832faa4dae74e509bc5eb73e48ec82821e1793cd82328a80876f8588
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl
Size 412.1 kB
Tags PyPy 3.11 PyPy 3.11 7.3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a23660849afe5e56154ff6e55832774277a019a58be807ecfcdbbd15753be960
BLAKE2b-256 checksum
How to use checksums
90e31ad2539a9bee9c4580dd2131e6d680639cbeda859a99783f66e2e3ad5328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp314-cp314-win_amd64.whl

Download URL lakers_python-0.6.2-cp314-cp314-win_amd64.whl
Size 280.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
cd38fb26bc6964fc2b17064caffad12d48f5c6c44eb04ae3e0c9f30484901d20
BLAKE2b-256 checksum
How to use checksums
7efc6d4fc3b393128de7bf1c1507abe3841172abc670ebb133b725169afe5020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-cp314-cp314-manylinux_2_34_x86_64.whl
Size 446.7 kB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e6dd9089badd574ba7d0b36a13b7854ffbcf2a30e3de6d72a11946a080dab8c6
BLAKE2b-256 checksum
How to use checksums
c3347a1fecbeba9f349d6c333754a2d20c53bdc151d573b0d4d51469ff935b08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-cp314-cp314-manylinux_2_34_aarch64.whl
Size 446.9 kB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
6956297566950a208c991a5da0e6ce7416f0d93ac60fe0bde1fcb6b3a5e05900
BLAKE2b-256 checksum
How to use checksums
9cdfa49c1d11ddd8b3e460f5b938aed4122bc632f163b73a2eaae7b3454754ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp314-cp314-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-cp314-cp314-macosx_11_0_arm64.whl
Size 407.0 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7cc8aa4eb51efe01e956bc80418c4d37eb8b393c8ea2b78e07390a2f9407c20b
BLAKE2b-256 checksum
How to use checksums
3f4944a6a2128a4331364201599c7601ce89393f30a26899a73f305b31abb677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp313-cp313-win_amd64.whl

Download URL lakers_python-0.6.2-cp313-cp313-win_amd64.whl
Size 281.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1c8e282e95e18735e9b3abd44369aff36523b3aab629ff0d6798c8f7171585ac
BLAKE2b-256 checksum
How to use checksums
7b959b40ae5b04cd1dfd6177649d610721977f031b5cd6404c3418d66db1a804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-cp313-cp313-manylinux_2_34_x86_64.whl
Size 446.8 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
802bfa3633bcffa332b615896cc8a5beea1f369cdf6429e71efcc65010feeeac
BLAKE2b-256 checksum
How to use checksums
0efe2bdb057ad4140dbbf1196b50c7eac88295fea5deebf51f386aa674248d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-cp313-cp313-manylinux_2_34_aarch64.whl
Size 446.5 kB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
9da6b6cb20a1a8c8ee2b3959e489126950c65c503b04538079de33d6f3a6a453
BLAKE2b-256 checksum
How to use checksums
02c82d1a4f4a5f158fe65bb1d818b0e1e2e5106bae14f1bdf12a891c3a2735f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-cp313-cp313-macosx_11_0_arm64.whl
Size 406.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1b8d919ea9391b90a4742c3d3ccc1dc497b2cb0e8ce9e0665547dc5bc1afb3dd
BLAKE2b-256 checksum
How to use checksums
ef3d2fff59fbc505e929ea805182ca2536bf93850a70e623aa112566dd4763c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp312-cp312-win_amd64.whl

Download URL lakers_python-0.6.2-cp312-cp312-win_amd64.whl
Size 281.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0a256ca3b2f97b1b4caa2fd7f7687f50d576676f98e9b88ef66c235f08530c00
BLAKE2b-256 checksum
How to use checksums
a351e100784c7fcacc75f52e53d176e6c9d7af9cceb9a8734ddf848088dd6c7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-cp312-cp312-manylinux_2_34_x86_64.whl
Size 447.9 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
0a9f59a81db73fe65fd782f127dcb10670c8b7ebb48f4df9183dcfc75499b535
BLAKE2b-256 checksum
How to use checksums
cda13b62d736741a9cc4c011ebd21d4aa08c98f8b735c223f8dc8d13a3817121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-cp312-cp312-manylinux_2_34_aarch64.whl
Size 447.1 kB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
55988a45d0d06ca52df7ecb9440466cb5dc257ad2bbee504cd2a48861421c099
BLAKE2b-256 checksum
How to use checksums
8d7ba7b7a25fa25be01953e7dcc4da7eb8dbd449d1a04bbf9f1ba9556ce06caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-cp312-cp312-macosx_11_0_arm64.whl
Size 406.9 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b1199935353e09515f27ec5633b48231ef411c28b79bed2eba7508e3f82b914c
BLAKE2b-256 checksum
How to use checksums
0bc51a76a5e85d4b5926f22567be28236b615e0cae0b1f8bcfd0c0fbd310bd59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp311-cp311-win_amd64.whl

Download URL lakers_python-0.6.2-cp311-cp311-win_amd64.whl
Size 283.1 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
c4ce8b1b40e402a74320f810f9c6b689c45198abe6706d8941905a90bf6663f8
BLAKE2b-256 checksum
How to use checksums
99f0bc87294411cfb9c1873721fe9fa9dbb130ee7f32443a438d697ef2921348
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-cp311-cp311-manylinux_2_34_x86_64.whl
Size 452.7 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
0d14bf10a7630821f77e2314968e1fb57c61b4e4a1b5c753358a89cf57c5e3d9
BLAKE2b-256 checksum
How to use checksums
49b82d40a67993ff205e7b2122b5788ce99a6c5d8176c2e6efc7c68283ef2fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-cp311-cp311-manylinux_2_34_aarch64.whl
Size 452.8 kB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
f949e4dbd1045f674af44653276fcf95b9d6808802f51821a099a709c4d1ab6d
BLAKE2b-256 checksum
How to use checksums
d39f446171c1e22fc469d78e275ba4fbc67377fbd3c41d88095c30db773d4681
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp311-cp311-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-cp311-cp311-macosx_11_0_arm64.whl
Size 410.4 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
429ad968975c3f409030a5205902b64b1970ef07ae50f89fd43702d43045ce15
BLAKE2b-256 checksum
How to use checksums
42e54d924679478186e2f8dd09276471f85660d37262e8350e2b85691d2a6e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp310-cp310-win_amd64.whl

Download URL lakers_python-0.6.2-cp310-cp310-win_amd64.whl
Size 283.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
57fcdebaa9d46db4607790cedd55ff012ed5fb6350e36595bab8604555adbc2a
BLAKE2b-256 checksum
How to use checksums
216a89702b7e4d07dc0477f95a0106d7876388cfa218402d91f7249931f966d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL lakers_python-0.6.2-cp310-cp310-manylinux_2_34_x86_64.whl
Size 451.1 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
6c14d60dafadb008f43da68e86c4635d3d5b03132e10fb0ffb3ef67685ac4f7a
BLAKE2b-256 checksum
How to use checksums
aa98a9265ef91e2515e1024735f020024ecaf15f9021bd12a716a64dde4bdb18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL lakers_python-0.6.2-cp310-cp310-manylinux_2_34_aarch64.whl
Size 452.9 kB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
ffd383b43f50d8816254eb481ec71a8a5ffacf24f6a2b0cd1840295691363518
BLAKE2b-256 checksum
How to use checksums
a9f7c88a5f3220038da6b347cc5225d9fc22711b290d4a891b3c92fc866eb13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / lakers_python-0.6.2-cp310-cp310-macosx_11_0_arm64.whl

Download URL lakers_python-0.6.2-cp310-cp310-macosx_11_0_arm64.whl
Size 410.5 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a6ad7bb83a2b3cec46c619acb202586702400ca7b279a49b1d6b0b66de2da8a3
BLAKE2b-256 checksum
How to use checksums
32b7e6f467f80eb782a2b612f80974b597f3ddeed49f78092eb52304e77a827e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

This release

0.6.2 This release

25 release files

0.6.1

25 release files

0.6.0

16 release files

0.4.1

16 release files

0.3.3

10 release files

0.3.2

10 release files

0.3.1

10 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

10 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page