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.6.dev0.tar.gz
(11.1 kB
view details)
Built Distribution
File details
Details for the file bel_repository-0.0.6.dev0.tar.gz
.
File metadata
- Download URL: bel_repository-0.0.6.dev0.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 | 112ab789cdd52d1a79b07b8bd092b47f87f3bdaabf36f5cd02c5ec5dfc300ad2 |
|
MD5 | ac850b67bfca1e34b5f48ef737e1e680 |
|
BLAKE2b-256 | 33d585692aca8c26f03ef120dd5f6bd30b65dcbc2bc2aa56daf08e5cbcea56d3 |
File details
Details for the file bel_repository-0.0.6.dev0-py3-none-any.whl
.
File metadata
- Download URL: bel_repository-0.0.6.dev0-py3-none-any.whl
- Upload date:
- Size: 10.7 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 | 12a51c59eb44b76b46b2d1e4a520d42cf17201cda412e692f29c4dfce287045f |
|
MD5 | f4c4ddc385c86b75d92e120b9ff69211 |
|
BLAKE2b-256 | 4842312f9ee45fe8c83320591dba28be6ba83c2bc2c83dc34eb56e845be5faf8 |