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/cthoyt/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
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.0.5.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for bel_repository-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be7b5ef3a64551ff1782d9280af9fc58729e92576f21a181f133fb24efcc32a |
|
MD5 | 562d8b6dfba4177e4c1e21ebbfe4e97e |
|
BLAKE2b-256 | bdf7cc8833664a605982a8fa83e2ac913a79a5b53150cf0eb0e39d333efa1537 |