Skip to main content

Ontology Parser (owl-parser)

Use an Ontology model to parse unstructured text

Under the hood

This is the root level method.

The input parameters and return values have well-described data types.

def owl_parser(tokens: list,
               ontology_name: str,
               absolute_path: str) -> list:

    Enforcer.is_list_of_dicts(tokens)
    Enforcer.is_str(ontology_name)
    FileIO.exists_or_error(absolute_path)

    from owl_finder.multiquery.bp import FindOntologyData
    from owl_parser.bp import MutatoAPI

    finder = FindOntologyData(ontologies=[ontology_name],
                              absolute_path=absolute_path)

    results = MutatoAPI(finder).swap(tokens)
    Enforcer.is_list_of_dicts(results)

    return results

Import

from owl_parser import owl_parser

Usage

results = owl_parser(
    tokens,
    ontology_name="<ontology-name>",
    absolute_path="<absolute-path>")

Metadata

Release files for owl-parser 0.1.18

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

Source distribution (sdist)

Source distribution for owl-parser 0.1.18
File Size Uploaded Provenance Actions
owl-parser-0.1.18.tar.gz 13.6 kB Without provenance Details for owl-parser-0.1.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for owl-parser 0.1.18
File Interpreter ABI Platform Actions
owl_parser-0.1.18-py3-none-any.whl Python 3 none any Details for owl_parser-0.1.18-py3-none-any.whl

Total release size: 42.6 kB

Release files / owl-parser-0.1.18.tar.gz

Download URL owl-parser-0.1.18.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c48c3de04636eb90d6215f449f5564919d99d16070c16e7df3a981a730966ae9
BLAKE2b-256 checksum
How to use checksums
13fe065eee68df542e4891f413821fa2c73f95b5ccb90d78382eb34e298a562b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Release files / owl_parser-0.1.18-py3-none-any.whl

Download URL owl_parser-0.1.18-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00cee8d50292fadb991db1e222acd97d3c860a48ea20119eacaefb9bf52994db
BLAKE2b-256 checksum
How to use checksums
29b74de6ebe0527834bf2019b7e14450ba7ea2157627ee78f7a021da4de7f452
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Security for owl-parser 0.1.18

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