Skip to main content

A utility for loading data from repositories of BEL documents.

Project description

A utility for loading data from repositories of BEL documents with PyBEL [1].

Installation Current version on PyPI Stable Supported Python Versions License

bel_repository can be installed from PyPI with the following command:

$ pip install bel_repository

The latest version can be installed from GitHub with:

$ pip install git+https://github.com/pybel/bel-repository.git

Usage

from typing import Mapping

from bel_repository import BELRepository
from pybel import BELGraph

# Build a repository by giving a folder
bel_repository = BELRepository('/path/to/folder/with/bel/')

# Get a mapping from paths to graphs
graphs: Mapping[str, BELGraph] = bel_repository.get_graphs()

References

[1]Hoyt, C. T., et al. (2017). PyBEL: a computational framework for Biological Expression Language. Bioinformatics (Oxford, England), 34(4), 703–704.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bel-repository, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size bel_repository-0.1.0-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size bel_repository-0.1.0.tar.gz (11.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page