Skip to main content

pyimporters_obo

license version PyPI - Python Version

Sherpa importer (obo) for ontologies in OBO format (Gene Ontology, Cellosaurus, ChEBI…). Each named, non-obsolete [Term] becomes a lexicon term: id → identifier, name → preferred form, synonym → alternative forms, namespace (or the header's default-namespace) and the first xref: Wikidata:… → properties.

Option Default Effect
synonym_scopes all Comma-separated scopes to keep among EXACT, BROAD, NARROW, RELATED, case-insensitive. An unknown scope fails the import.
namespaces all Comma-separated namespaces of the terms to import.

Synonyms without an xref list ("x" EXACT) or with escaped quotes ("5\" end" EXACT []) are read; an unparsable synonym is skipped and logged. User documentation, with examples recorded by the tests: docs/sherpa/obo.en.md (français).

Requirements

  • Python 3.12+
  • obonet for the parsing part.

Installation

pip install pyimporters-obo

Development

task py:test        # tests, which also record the help page examples
task py:help        # regenerate the generated blocks of docs/sherpa/*.md
task py:help-check  # fails if the help pages are out of date

SBOM & vulnerability check

Install the SBOM dependencies:

uv sync --extra sbom

Generate a CycloneDX SBOM from the current environment:

uv run cyclonedx-py environment -o sbom.cdx.json --output-format json

Audit dependencies for known vulnerabilities:

uv run pip-audit --format json --output audit-report.json

To fail on any known vulnerability (useful in CI):

uv run pip-audit --strict

Metadata

Release files for pyimporters-obo 1.6.253

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

Source distribution (sdist)

Source distribution for pyimporters-obo 1.6.253
File Size Uploaded Provenance Actions
pyimporters_obo-1.6.253.tar.gz 71.0 kB Without provenance Details for pyimporters_obo-1.6.253.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyimporters-obo 1.6.253
File Interpreter ABI Platform Actions
pyimporters_obo-1.6.253-py3-none-any.whl Python 3 none any Details for pyimporters_obo-1.6.253-py3-none-any.whl

Total release size: 76.1 kB

Release files / pyimporters_obo-1.6.253.tar.gz

Download URL pyimporters_obo-1.6.253.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9dfdf35934c894fe4ee5d7b9666967b1d5f85be2323d42575761214b82608eb5
BLAKE2b-256 checksum
How to use checksums
839b69c3580e5e424db100368a733b7837d76c944980b9cb6f3d3903c4a3acd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyimporters_obo-1.6.253-py3-none-any.whl

Download URL pyimporters_obo-1.6.253-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eae2c9d1841784f6ef79aca9e093a466304b42b03d43a7cb346297840c7c04a0
BLAKE2b-256 checksum
How to use checksums
7b74c0b2e3ec23712cbfb5a9fb7ac7a1ee1a5e0456650e784e6d262343bd5809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyimporters-obo 1.6.253

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.

Release history Release notifications | RSS feed

This release

1.6.253 This release

2 release files No provenance

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