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

Uploaded Source

Built Distributions

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

lakers_python-0.2.1-cp312-none-win_amd64.whl (210.6 kB view details)

Uploaded CPython 3.12Windows x86-64

lakers_python-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl (365.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

lakers_python-0.2.1-cp312-cp312-macosx_10_12_x86_64.whl (324.0 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

lakers_python-0.2.1-cp311-none-win_amd64.whl (210.3 kB view details)

Uploaded CPython 3.11Windows x86-64

lakers_python-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl (364.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

lakers_python-0.2.1-cp311-cp311-macosx_10_12_x86_64.whl (324.7 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

lakers_python-0.2.1-cp310-none-win_amd64.whl (210.7 kB view details)

Uploaded CPython 3.10Windows x86-64

lakers_python-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl (364.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

lakers_python-0.2.1-cp310-cp310-macosx_10_12_x86_64.whl (324.5 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: lakers_python-0.2.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for lakers_python-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5e1397010f187865fef451a4062baf14726ad7fbe1ebc7e44c74949ebfa76127
MD5 cf7311321c8aa239dfeb954ab81ea947
BLAKE2b-256 fadf30c74368b8594fa85a7d2685a9755ae2e38203b3f3295a90ca6c3aac90f8

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 7d77962f31b7d71e9afe7093f347d62e074d382c369043a4dab49fa1e511efa6
MD5 39222af087bf721e8d167bd2cb2fc89c
BLAKE2b-256 8fa84a9a68f58ed96551c07392b21b7819309126a276a1294ac1e3bf4758ba2f

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ca6c7261a4e8fc8f47fc1e9f085f3614e28cf0358e673ef9f5545a3d769969a4
MD5 4c11e6f5d33afefb187fcf164f5fef91
BLAKE2b-256 78c93e9ed8a8df0594547d1cedc556400db9b01647115a61b4516c9a15a6cc2f

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 eddcc9a678623ceeb15847b554d12c93190d882a7ea3f71f7933fc9c88ffdcd0
MD5 f2e160a27c63c94f4020c8e9dfba7f1a
BLAKE2b-256 f78e248696d8cec67389e5dfc0d53c44780fc9fa4d00e93fb8d057803101e34e

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 b68bab81445269187124032e8bc8bc2a7b808f996b845a5b0c50ff5317dfff37
MD5 218653b55c2f5b3bd0c6ca7d31f222f8
BLAKE2b-256 f7ad8c35ae9f0b2a8f5202beab6a4a04489ac9cfe8b339245085e84685c4ddd0

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f106000a44328b836ac3a8e79c4763cf84b3d96f4e45c290b63b3ab998857d51
MD5 506c35b4a9623df867ad89ccdb9c5fb1
BLAKE2b-256 cbe4b28e09cc583375a1c636191898f2a476703f84cfae59b4ffd9e287ab0cfb

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f6914d2ba4b8f809f15dc7fe069be4be18ad2a4e8406693fa86de5e51124ff1b
MD5 1b502cf5fb5bf0cc6103b84b7f7b2edf
BLAKE2b-256 5aaa8d49e65fe1d41c914a5d83d7e4c6df9c5b8d02dd7f002175a4fbb9c29322

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 5b52e776e02498a4aeb97e60d24beb8b28f4e88e83399119286055a58a57a666
MD5 249c5100bbc555468a206068b9149af4
BLAKE2b-256 43ad22d308036b618bdbd884246c34a07c69054d91ecc876d76f2cd3db34d14b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e694266052ab992a547844988c6022709a72745e110c8e755639fa3553bd6afc
MD5 9785e104c431bad30e8f58c50717a42c
BLAKE2b-256 2e65d2bc2f889f819c59ec3324653e88de2230acff6f7b5d8c04270758e9550b

See more details on using hashes here.

File details

Details for the file lakers_python-0.2.1-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lakers_python-0.2.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9e1325c76c2a799448618d1434cd4349c95b2c8e64ebe31b95f9dc06b3ac0904
MD5 72bdb0eb5a0231419f0a55b59f12767a
BLAKE2b-256 08e0a21e69c52af80f05767a26765c2f2ee3464ecbab5061e1ef2810e0fee3e1

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