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+


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()

# Get a combine graph
graph: BELGraph = bel_repository.get_graph()

Example BEL Repositories

Each of these repositories has BEL content that can be pip installed:

More publicly available BEL content can be found in the listing in this blog post.


Project details

Download files

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

Source Distribution

bel_repository-0.1.2.tar.gz (11.9 kB view hashes)

Uploaded source

Built Distribution

bel_repository-0.1.2-py3-none-any.whl (11.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page