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

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

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 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.2.tar.gz (1.5 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.3.2-cp312-none-win_amd64.whl (219.5 kB view details)

Uploaded CPython 3.12Windows x86-64

lakers_python-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl (375.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

lakers_python-0.3.2-cp312-cp312-macosx_10_12_x86_64.whl (333.0 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

lakers_python-0.3.2-cp311-none-win_amd64.whl (219.5 kB view details)

Uploaded CPython 3.11Windows x86-64

lakers_python-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl (382.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

lakers_python-0.3.2-cp311-cp311-macosx_10_12_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

lakers_python-0.3.2-cp310-none-win_amd64.whl (219.5 kB view details)

Uploaded CPython 3.10Windows x86-64

lakers_python-0.3.2-cp310-cp310-manylinux_2_34_x86_64.whl (375.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

lakers_python-0.3.2-cp310-cp310-macosx_10_12_x86_64.whl (334.5 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: lakers_python-0.3.2.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for lakers_python-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f444fb134a3d66572c66f0d06aea06d75a2381ed2853ee9b521cab38ad2ed461
MD5 3c06ea1c84864ffffbe5b76e5afa7543
BLAKE2b-256 15f2b3eb08c06c3b0713fb4e9ea4b824bf358a0ca4978777531f7428e2b8dd4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 57646ffaa35543056a951da87aae862a08275ab871090d3cdee54f3a6014ee1e
MD5 97dc218778ef6f21879d04591ce49880
BLAKE2b-256 105d43f2d0608ec07f9873d440fa8dd70c8a32e16b12accff231f1ffc20170cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 899f3c49924e4f3c56c863a8af3eb42c07c8288acdbd0cb75ee68f7e9ec10f5b
MD5 fe887b5aea4d1af309fa52bd8681b97f
BLAKE2b-256 5c13b094783fd2d4799848f41f7d57c2136061e058832685288c851ac70413df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b815f6b39e4d4c5ba42615627ae12c6d30993b3b19f8a34d5679d08b573d5c6f
MD5 6768cf9d7aad483d1d8dbacd3c5e7a0a
BLAKE2b-256 1a509983512fc3f14905c18037360ce0e89b6191f8142d15b46443e69b1cbd69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 72d2d4de8d8abbb6b8e0f22a1e3eb0dfdfc3c6d843cc36fe3b1928e68c9d1e79
MD5 43c2fab33bf48c742ac484d756124e1d
BLAKE2b-256 04a5520f409480b5f756e3528c43c102a2b92c1db0f73b9d3ff47470ae655483

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 14b66185b50b13c34304e73328d39b5d76054275af8911b64b2e40682ccc8c16
MD5 a7cdc4bb6561c89b35bd006a32ab12c1
BLAKE2b-256 892164e25be61c71317bf4a20b8610644c93fc3c1a4402bcdf550d336ddafc80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12ac8528c418f5db5f59e49006609acc81c56364ab3b568801d65b3ce188d8dc
MD5 c38177c0e826db2c396e59ff425cc36c
BLAKE2b-256 9fbc86c00e3d30f3b48416df4cc3e8c0bff70cae8b571e51589739b300bfab50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 feb36b3e911c0a3ddaa7a3e25268a6dd1a5b3140e18757522c3b8b410a80a916
MD5 90d87b598ce70433ec93027aac4ba07c
BLAKE2b-256 6fa4120652903a3d4a53b0d0cf7ee01dd6764d2b9760e5b65f627e05f1bd46d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 833eba7d4b0f370b303e4162bae77da87bfeae15f8f6e9f049b08dd88c63bd41
MD5 2d9b49db742e6b0a1bbfa33c2b1a7f7d
BLAKE2b-256 5d4f2d13c38746684485d84c7fb4abd8aa128f6f63925a300c80adbd0482e053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lakers_python-0.3.2-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a57c98b009d5f88829d7fb35d9605c94d55835de690f33212ba40bea1bb77732
MD5 f3e031e00bb8e786c829361f1345915e
BLAKE2b-256 c00b23991a3b9612407d36f224a7ed8118ddec11e4ba5c7d2bca409d87a47bf3

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