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.2.tar.gz (54.2 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.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyodide_lock-0.1.2.tar.gz
  • Upload date:
  • Size: 54.2 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.2.tar.gz
Algorithm Hash digest
SHA256 5c438045833b40f937b3017e8ca6dceae4ec1122eb845ccac00f5ae234db9a4c
MD5 8bd01ab24d16407fedfeb3f53db8bbf8
BLAKE2b-256 517df6cda69ebf4af81a4389d522be998a503dfe1880173a843abd3e97f3d2d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyodide_lock-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 439c4a56b5361d3c7c368f5613eccdc0839e0f5d78899962176e4ab533eed2a3
MD5 5a9d89914150681f4c1d0ce58f553479
BLAKE2b-256 bc2a2e695f75e699824156dc84f3f267344fb4225ec305a5fa111f8a0c3574df

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