Skip to content

Commit

Permalink
contrib: Anticipate usability of published aiocoap
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Aug 1, 2024
1 parent dc4a13a commit 2d5b7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/edhoc-demo-server.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
{
"cell_type": "code",
"source": "import micropip\n# not packed with the jupyterlite nightly release yet, but we can get it from their server\nawait micropip.install('https://cdn.jsdelivr.net/pyodide/dev/full/lakers_python-0.3.3-cp312-cp312-pyodide_2024_0_wasm32.whl')\n# could install aiocoap[oscore,prettyprint], but 0.4.10 requires file system access for edhoc\nawait micropip.install('https://christian.amsuess.com/aiocoap-0.4.10.post0-py3-none-any.whl')\nfor p in ['cbor2', 'cbor_diag', 'cryptography', 'filelock', 'ge25519', 'lakers-python', 'pygments']:\n await micropip.install(p)",
"source": "import micropip, pyodide\nif pyodide.__version__ == \"0.26.2\": # get it from the nightl\n await micropip.install('https://cdn.jsdelivr.net/pyodide/dev/full/lakers_python-0.3.3-cp312-cp312-pyodide_2024_0_wasm32.whl')\nawait micropip.install('aiocoap[oscore,prettyprint]')",
"metadata": {
"trusted": true
},
Expand Down

0 comments on commit 2d5b7d1

Please sign in to comment.