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

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.1.1.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.1.1-cp310-cp310-manylinux_2_34_x86_64.whl (298.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: lakers_python-0.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 18b9a6daba2332bf0e94f2da1d8332a8c40a99f71fdfab44f110c4083428189b
MD5 cd80bbd98396f6714ac3372f327cc225
BLAKE2b-256 1dd6a3672a899f07309713099f49465793e1239f75bf71611dd83a190afade54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 72e84163f655ca1d5284bb6027c4e2176e28d3241b06ca4d0fea9f0c2ecfaee7
MD5 09f02b19cbfc4121afeea11f59cca91b
BLAKE2b-256 17b41b5876a77accffdd311c25ce8c093e31b61efb7a499bcc7b97b8dd7531e0

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