Bioversions

0.8.324 · active · verified Thu Apr 16

Bioversions is a Python library (current version 0.8.324) that provides programmatic access to the current version numbers for a wide array of biological databases. It aims to simplify the integration of up-to-date database versions into bioinformatics workflows and tools. The library actively maintains and daily updates a static listing of these versions, reflecting a frequent release cadence for its internal data, while the library itself sees regular patch updates.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to import the `bioversions` library and retrieve the current version of a biological database, such as BioGRID, using `get_version()` for a simple string or `resolve()` for more detailed metadata.

import bioversions

# Get the current version for a specific database (e.g., BioGRID)
biogrid_version = bioversions.get_version('biogrid')
print(f"Current BioGRID version: {biogrid_version}")

# Get more detailed information using resolve()
bioversion_obj = bioversions.resolve('biogrid')
print(f"BioGRID version object: {bioversion_obj.version} (updated {bioversion_obj.date})")

view raw JSON →