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.1.3.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.1.3-cp312-none-win_amd64.whl (199.3 kB view details)

Uploaded CPython 3.12Windows x86-64

lakers_python-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl (348.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

lakers_python-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (309.2 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

lakers_python-0.1.3-cp311-none-win_amd64.whl (200.8 kB view details)

Uploaded CPython 3.11Windows x86-64

lakers_python-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl (350.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

lakers_python-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (312.7 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

lakers_python-0.1.3-cp310-none-win_amd64.whl (200.7 kB view details)

Uploaded CPython 3.10Windows x86-64

lakers_python-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

lakers_python-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl (312.9 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for lakers_python-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e861fac42f05d041715ce7e9621cf9497e099cece9b74ef4f85ecfe11d22e658
MD5 ae49ea51c6ab7be6862702465267c190
BLAKE2b-256 2e80b6a29a978634b134c6f153530bdc32b8dc119f0159e9936b17b7127dd6a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 66da8e2324c315c9ee59c60db7fc0d29e28b0e31cf09e0964a76dea47eb89f9c
MD5 4acca1e1581167d3fb2ca4aa808a4fd5
BLAKE2b-256 e114524e918120cc8452d066fe5418510213b2e6c790d88da144b867f6e6d3ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 091c73b25aab173c6bcef686e923914312efb9b96b6024ff9e262a531c8c83f9
MD5 0b888684815022a71f8010dfbeb01f51
BLAKE2b-256 9c438347927335c45e951583dcfba1d728b053eef0d5ba901a4b010b27c9f813

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 48059cd1da0076569206e2ed89335bc384d5a23d60bfe732ae341a26c46742cf
MD5 ae47e0aeeec9e05d9013c7b9d83568f8
BLAKE2b-256 8b54aa38f18f45f39b19ae4c8d146693627381c576a12000e761b9e2b5521a1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 d498caaec7aff300b0b81f1f8047c4d1c4ca48bedde752356bef2dff6ef53131
MD5 245f63ed260c0c1482599864799143d3
BLAKE2b-256 b12fc34e9bf4cff7043a58f9069e97361e5790c248a22d95ce2b8f833546abef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1941c03aca1a7807f8535d8d7837fe2b726c5218b7a3c8174ea1bad50a7fe06e
MD5 e2eaaf65540fea89079fad7906323158
BLAKE2b-256 f139f266cae91af05204908e55ccf74fb58eae7ae3a9dfdb42249188c16aff4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0e9629bd6c3ed1ab593651d02e96cc5fac88463d82840a5241a74b8d13adbe1b
MD5 a45937dcd482c8b28d0be6f5b3d22d31
BLAKE2b-256 546f9db741d79ad1d86d4b8fc066023e506e8d3ab22ffb7ad021553c0f879c3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 af4362d7db06e7858653e31f09d0881309305fd776e46f01e318afa8bf43d506
MD5 2785f93ca1646b107d2632f38c6c7be9
BLAKE2b-256 2dad96fa36cd80f34c6d3cd464a39be5bf0169c080d14053e3d828845f8d7bd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a0bf05257c41b60037128332c5d8da2328a68935aac9916c168ad2454a56df36
MD5 a544c3fcf70c92f216f92be98dcd85ec
BLAKE2b-256 852460df43c95c6d4435b9745550370dfe8996ca413dda9164bc812af7d4b480

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e5f14237d5e1b7c5d6a343e73ad1705c0000bfd015ef04e308d8c35735536062
MD5 fef4cfa752d56afe4f96d8f9696969a1
BLAKE2b-256 0f9aa0fb62220d2497b8e6d4c568ba43f3496e50f25772e22eef9790c264d615

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