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
Release history Release notifications | RSS feed
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.3.tar.gz
(1.5 MB
view hashes)
Built Distributions
Close
Hashes for lakers_python-0.3.3-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfbee992294b5f900132ac6ed0dd0da71ab2da01e0adddb28802a77af7d47fd4 |
|
MD5 | cd7aa6ff93be72f4d1f6d95e4c1ed2c3 |
|
BLAKE2b-256 | 3ab40922857276773164a08fd0d976cf6b4075c00b5b19b436f2bee07033c326 |
Close
Hashes for lakers_python-0.3.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1418b52bc3cdf5d7f662d61b968b93b7993c3e4209247d7a40427d30386f6320 |
|
MD5 | d7eb75db9b28eb5b403bfc298922f8bb |
|
BLAKE2b-256 | 76cd36bcf8a839de0d98343a3a79c39333e06d91ed3da11359e1694d0403c3e7 |
Close
Hashes for lakers_python-0.3.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e77ffc4883d6554f424ea5b94c5315a30497ec418af9d22ed8ce06132cae913e |
|
MD5 | 033db9433473b396fefb56eb812a4005 |
|
BLAKE2b-256 | 5d394bc9e5fa5738ade43979904bb33d3dd39bca4f13427dec8279461054f79d |
Close
Hashes for lakers_python-0.3.3-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce6a68b99d3d83fe996f33222c42f700101a111a87cb2e48ea217071f82f85a |
|
MD5 | ac4bf98e0bc3d63c15a04e382fc6b646 |
|
BLAKE2b-256 | fc4af55739f0519c602361d4e23921f47f7356258b525b5a32d1598e6066e6ac |
Close
Hashes for lakers_python-0.3.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91a86a10c91bc0ee5bec4f18246735929b2c3c330643ca461d45e085f8a4ce3d |
|
MD5 | a5434776ad7e70b5cf737cfee71790b1 |
|
BLAKE2b-256 | 8b613d068d0b9f644ea034f12720ddf7e9f038d9838d310498ee0fde3f8b8122 |
Close
Hashes for lakers_python-0.3.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c8adfe92e27f8b933c030ed0819ebac863084884be093ca052bc0f22567e72 |
|
MD5 | 0e7b435a04ca52526b89457941ca8e39 |
|
BLAKE2b-256 | a0943ec7e72ec6fc738e3e6cecba22c7eb403fba89b3d212e1f6d2a417889e41 |
Close
Hashes for lakers_python-0.3.3-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057fa99fc7d366d31510452399106e8ecf0f8c5cace399196ea2c4c079de4e3f |
|
MD5 | 096df4a68c6f8e9e088c16cfb5c0f6f7 |
|
BLAKE2b-256 | 2be3322249faac1f01de28ef81cebc12a7d4b00a47cc1880f18148bdf84d8d40 |
Close
Hashes for lakers_python-0.3.3-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d5dc85801ef9ef24a862ee360c9afec5f54702b859323a4d16340d7dc3cc901 |
|
MD5 | 5b315063efaab7b27b657ce744c022ff |
|
BLAKE2b-256 | 515a719773d7b9fc84220a4f4c01b7139630538d736bbd6de16666171837de88 |
Close
Hashes for lakers_python-0.3.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeeff69716ea34750d10c6dfa99d94a15ec08b20bce95698a90dfcc5a877e224 |
|
MD5 | c0f0a9371e468261189a1ac18a40d173 |
|
BLAKE2b-256 | 787bfa237b2a6f1e36afae7bad02788ea5271d1916df85908c446b48a14a4366 |