bioversions
Get the current version for biological databases
What it is and what it does
Bioversions is a Python package that tracks and serves the current version numbers for biological and biomedical databases. It maintains a curated registry of versions for databases like BioGRID and provides both a programmatic API and command-line interface to query them. The package caches results locally (by default in ~/.data/bioversions) and refreshes once per day, reducing network overhead for repeated queries.
The package includes a web application mode that can be launched locally to serve versions via HTTP endpoints, making it useful for shell scripts, data pipelines, and automated workflows that need to download specific versions of biological databases. It is built on a modular architecture where new database sources can be added by extending the Getter class.
Use it for:
- Download specific versions of biological databases in shell scripts using the CLI: `bioversions get biogrid`
- Query current database versions programmatically in Python data pipelines without repeated network calls
- Run a local HTTP API server to resolve database versions for downstream tools and services
- Integrate version tracking into reproducible bioinformatics workflows that depend on specific database releases
- Extend the package with custom database sources by implementing new Getter subclasses
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Retrieves and caches the current version numbers for biological and biomedical databases, with both Python API and CLI interfaces.
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and solves a real problem for bioinformatics workflows—reliably tracking biological database versions. Low install friction and broad Python version support (3.11–3.14) make it a straightforward addition to any biomedical data pipeline.
Install
bioversions on PyPI
pip
pip install bioversionsuv
uv add bioversionspoetry
poetry add bioversionsInstalling bioversions
Before you install
Low install friction with a pure Python wheel distribution. Actively maintained with a release on 2026-08-14 and recent commits; supports Python 3.11 through 3.14.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
import bioversions
version = bioversions.get_version("biogrid")
print(version)
# Or resolve for more details
bioversion = bioversions.resolve("biogrid")
print(bioversion.version)
Requires Python 3.11 or later. Cache is stored in ~/.data/bioversions by default; set BIOVERSIONS_HOME environment variable to override.
Verify before relying
- How many biological databases are currently supported in the version lookup system
- Whether the daily-updated static listing at biopragmatics.github.io/bioversions is automatically synchronized with the package
- Performance characteristics when querying many databases in succession
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 16 — requests, beautifulsoup4, pystow, click, click-default-group, tabulate, more-click, pyyaml, tqdm, bioregistry, lxml, pydantic, psycopg2-binary, python-dateutil, class-resolver, ror-downloader |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 270,008/month — #8,245 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: bioversions-0.11.1-py3-none-any.whl
Keywords: snekpack, cookiecutter, databases, biological databases, biomedical databases
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
bioregistryBioregistry provides a unified Python interface…
permissive · top 15,000 on PyPI
class-resolverDynamically lookup and instantiate classes by…
permissive · top 15,000 on PyPI
biontyBionty provides access to and management of…
unclear · top 15,000 on PyPI
biocommons.seqrepoSeqRepo stores and retrieves biological…
permissive · top 15,000 on PyPI
bump-my-versionAutomates version number management in projects…
permissive · top 5,000 on PyPI
biotiteBiotite provides a unified Python library for…
permissive · top 5,000 on PyPI
bumpAutomatically increments version numbers in…
permissive · top 15,000 on PyPI
deepbiopDeepBioP is a deep learning preprocessing…
permissive · top 15,000 on PyPI
biom-formatReads, writes, and manipulates Biological…
permissive · top 15,000 on PyPI
bumpversionA command-line tool that automates version…
permissive · top 5,000 on PyPI