$npx skillfedfor your agent

prefixcommons

A python API for working with ID prefixes

With conditionsPyPI Information AnalysisReleased Jul 2022307.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — prefixcommons-0.1.12-py3-none-any.whl
v0.1.12 · released 2022-07-19 · Python >=3.7,<4.0 · 4 runtime deps: requests, click, pytest-logging, PyYAML

Yes, if you work with biomedical ontologies or need CURIE-to-URI conversion. The package is stable, has no known vulnerabilities, and low install friction. The dormant maintenance status is a minor concern for a specialized tool—monitor the repository if you depend on current ontology prefix definitions, but core functionality is unlikely to break.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with four common runtime dependencies (requests, click, pytest-logging, PyYAML).
  • Maintenance is dormant—last release 2022-07-19, though repository has recent commits.

License · maintenance · safety

permissive license (permissive) — Licensed under BSD (permissive), so you can use and modify the package freely in most contexts without restriction.

last release 2022-07-19 (1487 days) · last repo commit 2024-07-05 · 5 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 307,179 downloads/mo, #7,778 on PyPI

Verify before relying

pip install prefixcommons
from prefixcommons import expand_uri, contract_uri
print(expand_uri('GO:0008150'))
print(contract_uri('http://purl.obolibrary.org/obo/GO_0008150'))
  • Whether the standard JSON-LD context files are kept current with latest ontology prefix definitions.
  • Performance characteristics when expanding or contracting large batches of identifiers.
  • Whether custom context maps support the full JSON-LD specification or a subset.
Same gist for agents: .md · .json

What it is and what it does

prefixcommons is a Python library that converts between compact identifier notation (CURIEs) and their full Uniform Resource Identifiers (URIs) using JSON-LD context files. It ships with standard contexts that map biomedical ontology prefixes to their canonical URIs—for example, GO:0008150 expands to http://purl.obolibrary.org/obo/GO_0008150. The core functions are expand_uri (CURIE to URI) and contract_uri (URI to CURIE), and you can supply your own context maps as dictionaries if the built-in ones don't fit your use case.

The package is designed for workflows where you need to normalize identifier formats across biomedical ontologies. It depends on requests, click, pytest-logging, and PyYAML. The codebase is dormant (last release 2022-07-19), though the repository remains active, so it is not abandoned but not actively developed.

Use it for

  • Normalize biomedical ontology identifiers in data pipelines by converting CURIEs to full URIs.
  • Batch expand or contract identifiers when integrating data from multiple ontology sources.
  • Define custom prefix-to-URI mappings for domain-specific identifier schemes.
  • Validate and standardize identifier formats in bioinformatics ETL workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with biomedical ontologies or need CURIE-to-URI conversion.

The package is stable, has no known vulnerabilities, and low install friction. The dormant maintenance status is a minor concern for a specialized tool—monitor the repository if you depend on current ontology prefix definitions, but core functionality is unlikely to break.

Install

prefixcommons on PyPI

Before you install

Low friction: pure Python wheel with four common runtime dependencies (requests, click, pytest-logging, PyYAML). Maintenance is dormant—last release 2022-07-19, though repository has recent commits.

License in practice

Licensed under BSD (permissive), so you can use and modify the package freely in most contexts without restriction.

Quickstart

pip install prefixcommons
from prefixcommons import expand_uri, contract_uri
print(expand_uri('GO:0008150'))
print(contract_uri('http://purl.obolibrary.org/obo/GO_0008150'))

Verify before relying

  • Whether the standard JSON-LD context files are kept current with latest ontology prefix definitions.
  • Performance characteristics when expanding or contracting large batches of identifiers.
  • Whether custom context maps support the full JSON-LD specification or a subset.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
requestsclickpytest-loggingPyYAML
MaintenanceDormant 1,487 days since the last release
Last repo commit
First released
Downloads307,179 / month, #7,778 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Bio-InformaticsTopic :: Scientific/Engineering :: Information Analysis

Evidence: prefixcommons-0.1.12-py3-none-any.whl

Tags

Capabilities
CURIE to URI conversionontology identifier expansionprefix commonsJSON-LD context resolutionOBO identifier mapping
Topics
ontology-identifiersbiomedical-datasemantic-web
PyPI keywords
ontologygraphoboowlsparqlnetworkxnetwork

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 › “ontology identifier expansion”

  • prefixcommonsConverts between CURIEs (compact URI identifiers like GO:0008150) and…
  • prefixmapsRetrieves and manages semantic prefix maps that convert compact URIs…
  • bioregistryBioregistry provides a unified Python interface to query, normalize,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also curies · prefixmaps · prison · uri-template · bioregistry · rison · uritools · lazr.uri · pronto · rdflib-jsonld