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.0a7.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

pyodide_lock-0.1.0a7-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pyodide_lock-0.1.0a7.tar.gz.

File metadata

  • Download URL: pyodide_lock-0.1.0a7.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for pyodide_lock-0.1.0a7.tar.gz
Algorithm Hash digest
SHA256 e8424f6dbde22a874856b7bc28a3dae1f5ae6f52e95a901c82f3bbab6acf8d83
MD5 6090874fdd9b53f02f77545968949f9e
BLAKE2b-256 13b001ee929998dd902c2428151a1219886ae47cf400747206e52fa3a16d7815

See more details on using hashes here.

File details

Details for the file pyodide_lock-0.1.0a7-py3-none-any.whl.

File metadata

File hashes

Hashes for pyodide_lock-0.1.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 aecdb3e3efa35dde71813fe7ac0a5e73b62e039177c7ef5033e0ab7ed19640ee
MD5 f6a9eb644eb87f8fec96f0270986f3e5
BLAKE2b-256 adb87cb60a310c20b29d27493ef66e375ead7a289a9d22dbba7e6810b7ff75ef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page