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.4.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file bel_repository-0.0.4.tar.gz
.
File metadata
- Download URL: bel_repository-0.0.4.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6220d421e20f66a34a1774ddc126df0f11c44cb86271cfc98d44736a02828591 |
|
MD5 | 0ed4a48fb49fee7f44bf3f7518570630 |
|
BLAKE2b-256 | 6a76f05e88b267881ecff292444bc5988c7a591d5a0b28e0d96e3bcb208dd816 |
Provenance
File details
Details for the file bel_repository-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: bel_repository-0.0.4-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c20575e29301fe4d10f51078270e3c9453315289b04a8a92b866cda01f3cca |
|
MD5 | cae649cbf7b2d3209f485e2e22fb0080 |
|
BLAKE2b-256 | 143b11e13bea5775b693036a97b5bbe54843d4a1d45b9323a7e6b67d2299669c |