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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyodide_lock-0.1.0a8.tar.gz
  • Upload date:
  • Size: 47.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for pyodide_lock-0.1.0a8.tar.gz
Algorithm Hash digest
SHA256 9ad5af230d30078aacc1d8055fae6b2273b5a882786eb30cc0b446d69f3af49e
MD5 e6b2a971cef0cbdfdd77441f5130df0d
BLAKE2b-256 c14be6c28489eff59850f836ea53c62bbc52cd152c908a0dc956685d5e237b09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyodide_lock-0.1.0a8-py3-none-any.whl
Algorithm Hash digest
SHA256 99ed58e7f0a88825e26a32098cf4f1bde8421ccd0261d0ce4e5e1e01b642484f
MD5 d874283c1f84be3bf3c7036e405318b2
BLAKE2b-256 8214e13d6aaba8872d09b368a0c0bb425ed7a545d8390c01acf559f8050d0dc2

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