Tooling to manage the `pyodide-lock.json` file
Project description
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
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
pyodide_lock-0.1.0a8.tar.gz
(47.2 kB
view hashes)
Built Distribution
Close
Hashes for pyodide_lock-0.1.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ed58e7f0a88825e26a32098cf4f1bde8421ccd0261d0ce4e5e1e01b642484f |
|
MD5 | d874283c1f84be3bf3c7036e405318b2 |
|
BLAKE2b-256 | 8214e13d6aaba8872d09b368a0c0bb425ed7a545d8390c01acf559f8050d0dc2 |