Tooling to manage the `pyodide-lock.json` file
Project Links
Meta
Author: Pyodide developers
Requires Python: >=3.12
Classifiers
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python :: 3
pyodide-lock
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
0.2.0
Jul 24, 2026
0.1.3
Apr 24, 2026
0.1.2
Feb 27, 2026
0.1.1
Jan 02, 2026
0.1.0
Aug 17, 2025
0.1.0a9
Jun 10, 2025
0.1.0a8
Sep 17, 2024
0.1.0a7
Aug 09, 2024
0.1.0a6
May 21, 2024
0.1.0a5
Apr 03, 2024
0.1.0a4
Nov 17, 2023
0.1.0a3
Sep 15, 2023
0.1.0a2
Sep 25, 2023
0.1.0a1
Jun 23, 2023
0.1.0a0
Jun 23, 2023