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

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.257
File Size Uploaded Provenance Actions
pyimporters_obo-1.6.257.tar.gz 71.1 kB Without provenance Details for pyimporters_obo-1.6.257.tar.gz

Built distribution (wheel)

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

Total release size: 76.2 kB

Release files / pyimporters_obo-1.6.257.tar.gz

Download URL pyimporters_obo-1.6.257.tar.gz
Size 71.1 kB
Tags Source
SHA-256 checksum
How to use checksums
9db37b2420364c8bb76f5557fb0d219279dd7bd914b47ea15594d1376f783827
BLAKE2b-256 checksum
How to use checksums
5197711e54d066a050cca32b8e6b29afd57d754d04ffa110cdf545334bde3378
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.257-py3-none-any.whl

Download URL pyimporters_obo-1.6.257-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5ac8fccb89533cbf3377d52ef14ccacd5f171904afb8736abe65daab730b81d
BLAKE2b-256 checksum
How to use checksums
4506586f35d95e6e61a582f04c0ff94c42b4f3140ceac36c046f8045eeb3c054
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.257

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