BEL Repository

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()
# Get a combine graph
graph: BELGraph = bel_repository.get_graph()
Example BEL Repositories
Each of these repositories has BEL content that can be pip installed:
More publicly available BEL content can be found in the listing in this blog post.
References
Release files for bel-repository 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bel_repository-0.1.2.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bel_repository-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.1 kB
Release files / bel_repository-0.1.2.tar.gz
| Download URL | bel_repository-0.1.2.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a47677c9b0d7b99561782b6724fd30c1581e8dd894fe5b1ff7d254fdfbd96e1e
|
|
BLAKE2b-256 checksum How to use checksums |
12a2136a720d28105601f3611c889a7dfb67c3e6d4e0dfdb7b1f72f7e143959a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Release files / bel_repository-0.1.2-py3-none-any.whl
| Download URL | bel_repository-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f52545e4e2238f549ff475c2eab6ad87a8c4eca6afd03738299058121a9d92b
|
|
BLAKE2b-256 checksum How to use checksums |
069e5b615a539960efa80facd8b1f98b850ae3cbc759614d6bb7993206dde16a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|