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
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()
Example BEL Repositories
Each of these repositories has BEL content that can be pip installed:
References
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for bel_repository-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 577052e49f9987bd4eb93a104c3fe144c9b5c87f2be45579e6258a5d259f6a38 |
|
MD5 | f33f1cc9b38094f9e5546ca097b83e5a |
|
BLAKE2b-256 | 560077a0bc888cb692d84c8f49a828ac80bac4d1684ecacd58521b6f25b8a4b0 |