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
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

Development

To build and test:

maturin develop
pytest

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
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.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

lakers_python-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl (307.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file lakers_python-0.3.0.tar.gz.

File metadata

  • Download URL: lakers_python-0.3.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.4.0

File hashes

Hashes for lakers_python-0.3.0.tar.gz
Algorithm Hash digest
SHA256 009fc5e31b5a9a276216ff43ffd097004396a2a9131359a1da35d464e599cd1c
MD5 4ee490ce6e79b947577718198919fc7b
BLAKE2b-256 29935d70b035f987a48dd854c1afc21025fb8446aae4d43c685b68691175623c

See more details on using hashes here.

File details

Details for the file lakers_python-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c122674d4330cfdaac903e9c476241c8f3bf6473cacb3030aef08512516ea319
MD5 cd52562b0e264307bb85e9780cba93c1
BLAKE2b-256 cf715efd6c8a5f6971e6574d07c774bb0a6892d278f1e29e97300885c8384f73

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