Skip to main content

No project description provided

Project description

Lakers Python

Python wrapper for the lakers crate.

Installation and usage

pip install lakers-python
import lakers

# generate a keypair

# 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


To build and test:

maturin develop

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


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

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

lakers_python-0.3.3.tar.gz (1.5 MB view hashes)

Uploaded Source

Built Distributions

lakers_python-0.3.3-cp312-none-win_amd64.whl (219.6 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

lakers_python-0.3.3-cp312-cp312-manylinux_2_34_x86_64.whl (374.6 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

lakers_python-0.3.3-cp312-cp312-macosx_10_12_x86_64.whl (332.4 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

lakers_python-0.3.3-cp311-none-win_amd64.whl (220.0 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

lakers_python-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl (382.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

lakers_python-0.3.3-cp311-cp311-macosx_10_12_x86_64.whl (334.4 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

lakers_python-0.3.3-cp310-none-win_amd64.whl (220.0 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

lakers_python-0.3.3-cp310-cp310-manylinux_2_34_x86_64.whl (375.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

lakers_python-0.3.3-cp310-cp310-macosx_10_12_x86_64.whl (333.8 kB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page