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.3.tar.gz (54.4 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.3-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyodide_lock-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5ed700b4b1b88313d9c56bab721d5a4ed57304bbe83c172b647f74e1140e2177
MD5 91f0c8df9c6537ebcbbd4a87def36043
BLAKE2b-256 7a4c80bf2cfa237c405d41730d4f86c53d2d4d49aea2aaa8c74894156bcf4f60

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyodide_lock-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 71d3e8ef72cc020e45eabd35cb36480437d2639bc756392f02ca3bd709504103
MD5 f408b90894807f42c90e59c5a786bf3f
BLAKE2b-256 c4285afbe23595edf79560ca5237ba9f008594cdf36b9cbf90e06df06ca04ce7

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