fastobo
Faultless AST for Open Biomedical Ontologies in Python.
Decision gist · record as of 2026-08-14
Yes, if you need to work with OBO format ontologies in Python. The package is stable (Beta status), has no known vulnerabilities, supports modern Python versions (3.7–3.14), and carries a permissive MIT license. Install friction is moderate due to compilation requirements on some platforms, but pre-built wheels cover common environments. The aging maintenance status (last release 293 days ago) is a minor concern for long-term support but not a blocker for current use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Rust compiler may be required if pre-built wheels are unavailable for your Python version and platform; see installation documentation at rust-lang.org.
- Medium install friction: compiled extension requiring Rust toolchain if pre-built wheels unavailable for your platform.
- Wheels cover Python 3.10–3.13 on macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows; older Python versions (3.7–3.9) may require compilation.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive); no restrictions on use, modification, or distribution in commercial or private projects.
last release 2025-10-25 (293 days) · last repo commit 2026-02-02 · 33 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 122,536 downloads/mo, #11,947 on PyPI
Alternatives
Verify before relying
pip install fastobo
import fastobo
obodoc = fastobo.load("ontology.obo")
# or from gzip
import gzip
gzdoc = fastobo.load(gzip.open("ontology.obo.gz"))- Whether pre-built wheels are reliably available for all supported Python versions on all major platforms, or how often compilation is required in practice.
- Performance characteristics or memory footprint when parsing large ontology files.
- Completeness of OBO 1.4 format support and any known parsing edge cases or limitations.
What it is and what it does
fastobo is a Python extension wrapping a Rust library that parses the OBO (Open Biomedical Ontology) file format 1.4. It provides idiomatic Python bindings to load ontology files into an abstract syntax tree (AST), modify them programmatically, and serialize them back to OBO format. The library supports both plain text and gzip-compressed OBO files and exposes a simple API: `fastobo.load()` for file paths or file handles, and `fastobo.loads()` for strings.
The package is intended for bioinformaticians, ontology curators, and researchers working with biomedical ontologies from the OBO Foundry or similar sources. It requires no runtime Python dependencies but is a compiled extension, so installation may require a Rust compiler if pre-built wheels are unavailable for your platform. The project is maintained but aging, with the last release over 9 months old.
Use it for
- Load and parse OBO ontology files for programmatic access to ontology structure and metadata.
- Edit ontology definitions, terms, and relationships in memory, then serialize back to OBO format.
- Integrate OBO ontology data into bioinformatics pipelines or knowledge graph construction workflows.
- Validate OBO file syntax and structure by parsing and inspecting the resulting AST.
- Process gzip-compressed ontology archives without manual decompression.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with OBO format ontologies in Python.
The package is stable (Beta status), has no known vulnerabilities, supports modern Python versions (3.7–3.14), and carries a permissive MIT license. Install friction is moderate due to compilation requirements on some platforms, but pre-built wheels cover common environments. The aging maintenance status (last release 293 days ago) is a minor concern for long-term support but not a blocker for current use.
Install
fastobo on PyPI
Before you install
Medium install friction: compiled extension requiring Rust toolchain if pre-built wheels unavailable for your platform. Wheels cover Python 3.10–3.13 on macOS (arm64, x86_64), Linux (aarch64, x86_64), and Windows; older Python versions (3.7–3.9) may require compilation. Last release 293 days ago; repository active but aging.
Rust compiler may be required if pre-built wheels are unavailable for your Python version and platform; see installation documentation at rust-lang.org.
License in practice
MIT license (permissive); no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install fastobo
import fastobo
obodoc = fastobo.load("ontology.obo")
# or from gzip
import gzip
gzdoc = fastobo.load(gzip.open("ontology.obo.gz"))
Verify before relying
- Whether pre-built wheels are reliably available for all supported Python versions on all major platforms, or how often compilation is required in practice.
- Performance characteristics or memory footprint when parsing large ontology files.
- Completeness of OBO 1.4 format support and any known parsing edge cases or limitations.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Aging 293 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 122,536 / month, #11,947 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Healthcare IndustryIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTopic :: Scientific/Engineering :: Bio-InformaticsTopic :: Scientific/Engineering :: Medical Science Apps.Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: fastobo-0.14.1-cp310-cp310-macosx_11_0_arm64.whl; fastobo-0.14.1-cp310-cp310-macosx_12_0_x86_64.whl; fastobo-0.14.1-cp310-cp310-manylinux_2_28_aarch64.whl; fastobo-0.14.1-cp310-cp310-manylinux_2_28_x86_64.whl; fastobo-0.14.1-cp310-cp310-win_amd64.whl; fastobo-0.14.1-cp311-cp311-macosx_11_0_arm64.whl; fastobo-0.14.1-cp311-cp311-macosx_12_0_x86_64.whl; fastobo-0.14.1-cp311-cp311-manylinux_2_28_aarch64.whl; fastobo-0.14.1-cp311-cp311-manylinux_2_28_x86_64.whl; fastobo-0.14.1-cp311-cp311-win_amd64.whl; fastobo-0.14.1-cp312-cp312-macosx_11_0_arm64.whl; fastobo-0.14.1-cp312-cp312-macosx_12_0_x86_64.whl; fastobo-0.14.1-cp312-cp312-manylinux_2_28_aarch64.whl; fastobo-0.14.1-cp312-cp312-manylinux_2_28_x86_64.whl; fastobo-0.14.1-cp312-cp312-win_amd64.whl; fastobo-0.14.1-cp313-cp313-macosx_11_0_arm64.whl; fastobo-0.14.1-cp313-cp313-macosx_12_0_x86_64.whl; fastobo-0.14.1-cp313-cp313-manylinux_2_28_aarch64.whl; fastobo-0.14.1-cp313-cp313-manylinux_2_28_x86_64.whl; fastobo-0.14.1-cp313-cp313-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “obo file parser python”
- fastoboParses, loads, edits, and serializes OBO (Open Biomedical Ontology)…
- prontoPronto parses, browses, creates, and exports ontologies in OBO, OBO…
- prefixcommonsConverts between CURIEs (compact URI identifiers like GO:0008150) and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pronto · isa-rwval · edam-ontology · ast-serialize · fastar · bionty · bioregistry · bioc · sssom · prefixcommons