Skip to main content

OSO-Semantic Query Layer

Manually testing with pyodide

We need to add pyodide to CI, but for now to manually run tests do the following:

Get current pyodide version

You will need to do this from the oso_semantic directory.

PYODIDE_EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version)

Install emscripten

Choose a place to store the code and git clone emsdk:

cd some/base/directory
git clone https://github.com/emscripten-core/emsdk
cd emsdk

./emsdk install ${PYODIDE_EMSCRIPTEN_VERSION}
./emsdk activate ${PYODIDE_EMSCRIPTEN_VERSION}
source emsdk_env.sh

Build pyodide wheel

Now go back to the oso_semantic directory

cd oso/warehouse/oso_semantic
uv run pyodide build

This will generate a .whl file in dist

Download pyodide version

Download the recent pyodide version (at the time of writing is 0.27.2):

cd dist/
wget https://github.com/pyodide/pyodide/releases/download/0.27.2/pyodide-0.27.2.tar.bz2
tar xjf pyodide-0.27.2.tar.bz2

This will now have generated a dist/pyodide directory.

Run pytest

uv run pytest --run-in-pyodide . --runtime node --dist-dir=./dist

Metadata

Release files for oso-semantic 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oso-semantic 0.1.3
File Size Uploaded Provenance Actions
oso_semantic-0.1.3.tar.gz 30.7 kB Without provenance Details for oso_semantic-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oso-semantic 0.1.3
File Interpreter ABI Platform Actions
oso_semantic-0.1.3-py3-none-any.whl Python 3 none any Details for oso_semantic-0.1.3-py3-none-any.whl

Total release size: 67.1 kB

Release files / oso_semantic-0.1.3.tar.gz

Download URL oso_semantic-0.1.3.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4c88deb8c195edf29f39a9a4caf206f50b5b758c87426d24780922ae7829be1f
BLAKE2b-256 checksum
How to use checksums
56e6d8043a4f61dfe365a9accfefd2f18aa988d0d5057c69dde768bc1c96b6da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.13

Release files / oso_semantic-0.1.3-py3-none-any.whl

Download URL oso_semantic-0.1.3-py3-none-any.whl
Size 36.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97b5305bb405644ccd3fadbb3378ca0a7e758b181d122ff65e0958322d00d18e
BLAKE2b-256 checksum
How to use checksums
15464adcfa15b1fc67bee1ccc76e7cb2468dd1f2562375c6dcc15e80875b57ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.13

Security for oso-semantic 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page