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

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.2.0.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyodide_lock-0.2.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file pyodide_lock-0.2.0.tar.gz.

File metadata

  • Download URL: pyodide_lock-0.2.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyodide_lock-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eb85eac9266a4bbff34c31158337b89f4d27305d93eb8908ca3ec324d2c278ef
MD5 05fa169798c305fa13fc618928b9aba7
BLAKE2b-256 73d695f7d6edb66c7f99be3a573c130b7318c02a676acea8a9fcee9c71bf1724

See more details on using hashes here.

File details

Details for the file pyodide_lock-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyodide_lock-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pyodide_lock-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 462679d58c0d542ca830c832b7fe2ad5c7d00982d86a9d00d2ef93b36c2624d8
MD5 62c0aa259091dff1391575c93ddc0777
BLAKE2b-256 1032f9f5f2a80c48f666d1c5bfbda301247242edb9fd98dde7d1007b614f6dea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page