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()
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.7.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file bel_repository-0.0.7.tar.gz
.
File metadata
- Download URL: bel_repository-0.0.7.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba714999724d61bd6938d8e043d8789c328974992c7969176f52aa09b08e5560 |
|
MD5 | 886d3200455178b7e41b37a59e6e2799 |
|
BLAKE2b-256 | 99a2e07f3f8d9566279ad334b389d1ead2a374d98894334b1eff22c42895c864 |
File details
Details for the file bel_repository-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: bel_repository-0.0.7-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83b19d09f71ea2cc3241b9ef0e4338cba5dc5f17c4d564dc09d36bfb53d44fbd |
|
MD5 | 8fbf4fd7827ead38e24d65213eeaaa38 |
|
BLAKE2b-256 | 44558e822c8c72098e36270119f8cdff3ab2f84bb3ae2f301c1e805d30a408b1 |