Skip to main content

Tooling to manage the `pyodide-lock.json` file

Project description

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

Project details


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.1.tar.gz (47.8 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.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyodide_lock-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b2f0e0503f3ec9a3095e4e74af9cefe172f50f4b7767c786f6e02be67ce0730b
MD5 220f5a327aa26a00e7ff87c8a5248ad7
BLAKE2b-256 441bb71cdda496dea88834a0b55b1784510d57504f96a1a08cab2dd3e40a199c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyodide_lock-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0156f27aeca2d02a61d2e85dd8bac7c5915c1812984344a095ad1c4ba48561a9
MD5 71aff272e66e43aae68d2ffb95651588
BLAKE2b-256 ada0cfbf8cb7fe25a9f0492f0c2bb01ac0c9831f9d7df0ca394031dcf995661f

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 Pingdom Monitoring Sentry Error logging StatusPage Status page