Skip to main content

pyodide-lock

PyPI Latest Release GHA codecov

Tooling to manage the pyodide-lock.json file.

Note: the API of this package is still being iterated on and may change completely before the 0.1 release.

The pyodide-lock file is used to lock the versions of the packages that are used in a given Pyodide application. Packages included in pyodide-lock.json will be auto-loaded at import time, when using pyodide.runPythonAsync or running in JupyterLite or PyScript, and do not need to be explicitly installed with micropip.

Installation

pip install pyodide-lock

Python API

To parsing and write the pyodide-lock.json (formerly repodata.json) file:

from pyodide_lock import PyodideLockSpec

lock_spec = PyodideLockSpec.from_json("pyodide-lock.json")
# Make some changes
lock_spec.to_json("pyodide-lock.json")

License

BSD-3-Clause License

Release files for pyodide-lock 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyodide-lock 0.2.1
File Size Uploaded
pyodide_lock-0.2.1.tar.gz 55.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyodide-lock 0.2.1
File Interpreter ABI Platform
pyodide_lock-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.2 kB

Release files / pyodide_lock-0.2.1.tar.gz

Download URL pyodide_lock-0.2.1.tar.gz
Size 55.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a2a60f7e87d97391be887cb00050382c192bb5a86451b1dbd44abe7272e674c3
BLAKE2b-256 checksum
How to use checksums
86e172874a2efee51666c634d3eb3d04e5b297af3e54333f2febd7cd4e80d8ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / pyodide_lock-0.2.1-py3-none-any.whl

Download URL pyodide_lock-0.2.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5181ec109ab230d0539884b29b45ddb736e5df79d9378e68a2ccd41574346879
BLAKE2b-256 checksum
How to use checksums
d34abd0bfb7aabdada073774b4c7203069de4ba5cc515a92e489d3014c6a14d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page