Skip to main content

sct-py

Python bindings for the local-first sct SNOMED CT engine.

Requires CPython 3.11 or newer. Python 3.9 and 3.10 are no longer supported following their end of life; earlier published wheels retain their original compatibility.

pip install sct-py

The package performs no network calls and contains no terminology content. Supply a snomed.db created from SNOMED CT content that you are licensed to use:

from sct_py import Snomed

with Snomed("snomed.db") as snomed:
    concept = snomed.concept("22298006")
    hits = snomed.search("heart attack", limit=20)
    descendants = snomed.expand("<<73211009")

For local development:

python -m venv .venv
. .venv/bin/activate
python -m pip install maturin pytest
maturin develop --locked
pytest

The code is licensed under AGPL-3.0-or-later. SNOMED CT content has separate licensing requirements and is never bundled in the wheel.

Metadata

Release files for sct-py 0.30.0

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

Built distributions (wheels)

Table of built distributions (wheels) for sct-py 0.30.0
File Actions
sct_py-0.30.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for sct_py-0.30.0-cp311-abi3-win_amd64.whl
sct_py-0.30.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for sct_py-0.30.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
sct_py-0.30.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for sct_py-0.30.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
sct_py-0.30.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for sct_py-0.30.0-cp311-abi3-macosx_11_0_arm64.whl
sct_py-0.30.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for sct_py-0.30.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 7.8 MB

Release files / sct_py-0.30.0-cp311-abi3-win_amd64.whl

Download URL sct_py-0.30.0-cp311-abi3-win_amd64.whl
Size 1.4 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
67ef9a7134332dd6b4ef2bb57de4a62353c3314b6661a520288df46612fc196e
BLAKE2b-256 checksum
How to use checksums
f5dc5ec738a4967b37efa3bacfc9cbddfb1aaafd327bd4670cfd8ecf04ac71d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Release files / sct_py-0.30.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL sct_py-0.30.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
299dc6ea68aec8c6891f495cc24169ff65524cdb61c2e3aaaa298ad155e85038
BLAKE2b-256 checksum
How to use checksums
3fb5b1599195094fd8b5d7320a6fd866a824b465b0a51d49d7d7dfdbb493eab6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Release files / sct_py-0.30.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL sct_py-0.30.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
18cd62ca1be90ce066b344aabfe548555d9d70ff392e8fa6850e840475caf8d1
BLAKE2b-256 checksum
How to use checksums
1ac6f408ab37401cb2dac9f5125c5781bbded836caeebe67b0fb5ac2c2afd637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Release files / sct_py-0.30.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL sct_py-0.30.0-cp311-abi3-macosx_11_0_arm64.whl
Size 1.5 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9d9ff1f682b7e94263e83d82678f39da7c1e2fc6fe6fcca0d1bb99bbea6fabc4
BLAKE2b-256 checksum
How to use checksums
903f840e9986be3ee3a162f86d63e10bc1aa01e1d6337a0e56373246337817ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Release files / sct_py-0.30.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL sct_py-0.30.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 1.6 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
37fbe1d8820540b16748e7c61da619af8a3c3dbda80197813b0846efc2bf050e
BLAKE2b-256 checksum
How to use checksums
e0d24fd3243ebdd20030fcbd57058ed8351d5eaf32d20bbf97b78df354a9d634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Security for sct-py 0.30.0

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

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for sct_py-0.30.0-cp311-abi3-win_amd64.whl

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 Nov 22, 2026.

Transparency log

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