Skip to main content

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 Current version on PyPI Stable Supported Python Versions License

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()

Example BEL Repositories

Each of these repositories has BEL content that can be pip installed:

References

Project details


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.1.1.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

bel_repository-0.1.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file bel_repository-0.1.1.tar.gz.

File metadata

  • Download URL: bel_repository-0.1.1.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for bel_repository-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d2d8a3c43f5c4ee297f296f0ed5029a7a1af5c32e4c11d446d953c4b70ec48bb
MD5 5d3e6376b9c1bd45100e1da23c1c4348
BLAKE2b-256 2bee0bb969362e35649b0785526a413ef2c0173a788668adf8ae03ba9e1679cf

See more details on using hashes here.

Provenance

File details

Details for the file bel_repository-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bel_repository-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for bel_repository-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 577052e49f9987bd4eb93a104c3fe144c9b5c87f2be45579e6258a5d259f6a38
MD5 f33f1cc9b38094f9e5546ca097b83e5a
BLAKE2b-256 560077a0bc888cb692d84c8f49a828ac80bac4d1684ecacd58521b6f25b8a4b0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page