promplate-pyodide
Run your promplate project in the browser with pyodide!
Usage
from micropip import install # in pyodide runtime
await install("promplate-pyodide")
from promplate_pyodide import patch_all
patch_all()
You can register the openai module as the JavaScript SDK in the JavaScript scope because the Python SDK v1.x doesn't support pyodide.
It will remove sync APIs of promplate.llm.openai because the JavaScript OpenAI SDK is async-only.
Of course you can use OpenAI Python SDK v0.x in pyodide, but it is not recommended.
Metadata
Release files for promplate-pyodide 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| promplate_pyodide-0.0.4.tar.gz | 3.8 kB | With provenance | Details for promplate_pyodide-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| promplate_pyodide-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for promplate_pyodide-0.0.4-py3-none-any.whl |
Total release size: 9.9 kB
Release files / promplate_pyodide-0.0.4.tar.gz
| Download URL | promplate_pyodide-0.0.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a5f52746d42a548d458fb8685bd4c70a6afe80e9c772a00f238b2e88a122668
|
|
BLAKE2b-256 checksum How to use checksums |
64e74dd03c322e3ddbf3383a67be178e3f968fa68747a1ededc583ecc18ba20e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 5, 2025.
Transparency logRelease files / promplate_pyodide-0.0.4-py3-none-any.whl
| Download URL | promplate_pyodide-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d6039e71863c050b0c0be842b5927170874c34113c81f79f7d6aa6ff6eecb3a
|
|
BLAKE2b-256 checksum How to use checksums |
f2622e0bd45facfe6ae2d2c45bfd2c5a322fc27f36438541e15ac7e9aeb79d27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 5, 2025.
Transparency logSecurity for promplate-pyodide 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for promplate_pyodide-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 5, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.