Skip to content

ArtifactDB/dolomite-schemas

Repository files navigation

Project generated with PyScaffold PyPI-Server Monthly Downloads

Bioconductor object schemas for Python

Overview

This package vendors the Bioconductor object schemas for the dolomite- Python packages. The idea is to ensure that downstream packages have consistent access to schemas without the need for a remote look-up. We put this in a separate package so that schema updates are kept separate from actual programming changes.

Installation

Developers can install the package through pip.

pip install dolomite-schemas

Usage

Schemas are vendored into the schemas/ subdirectory in the installation directory. This directory can be easily found by working back from the dolomite-schemas module location:

import dolomite_schemas
os.path.join(os.path.dirname(dolomite_schemas.__file__), "schemas")

Application-specific schema-vendoring modules should use the same relative location for their schema subdirectory in the installation directory.

Developer notes

The schemas are not actually committed to this repository, but are instead obtained by running:

cd extern && ./fetch.sh

This can be modified to point to any relevant version of the schemas.

About

Vendored schemas for Bioconductor objects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages