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

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

Uploaded Source

Built Distribution

bel_repository-0.0.8-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bel_repository-0.0.8.tar.gz
  • Upload date:
  • Size: 11.2 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

Hashes for bel_repository-0.0.8.tar.gz
Algorithm Hash digest
SHA256 58848a23c01ad8377c1eacbe58f3507bef9f0e48820680228be28cbf3a47ab89
MD5 78718659d295896f61bf76d6584f4248
BLAKE2b-256 4ca94a9923c4daccee81a3cae75f9756a1ec8aa6fbbfe2fce15b539fdb7f8e73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bel_repository-0.0.8-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

Hashes for bel_repository-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fd25c4eb5a004b12fa9af14568b3247764ce02af05475ee817089b6d4bb583d0
MD5 8ae1e10d900f0e6c33a9c9f278b28bbc
BLAKE2b-256 dadca160c9095c5d05c05162db01d2cdf148f53760f9222775240c51dadc2adc

See more details on using hashes here.

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