Metadata-Version: 2.1
Name: bel-repository
Version: 0.1.0
Summary: A utility for loading data from repositories of BEL documents.
Home-page: https://github.com/pybel/bel-repository
Author: Charles Tapley Hoyt
Author-email: cthoyt@gmail.com
Maintainer: Charles Tapley Hoyt
Maintainer-email: cthoyt@gmail.com
License: MIT
Download-URL: https://github.com/pybel/bel-repository/releases
Project-URL: Bug Tracker, https://github.com/pybel/bel-repository/issues
Project-URL: Source Code, https://github.com/pybel/bel-repository
Keywords: Biological Expression Language,BEL,Domain Specific Language,DSL,Systems Biology,Networks Biology
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Classifier: Topic :: Scientific/Engineering :: Chemistry
Requires-Python: >=3.6
Requires-Dist: pybel (<0.15.0,>=0.14.2)
Requires-Dist: tqdm
Requires-Dist: pandas
Requires-Dist: click
Requires-Dist: dataclasses ; python_version < "3.7"

BEL Repository |build| |zenodo|
===============================
A utility for loading data from repositories of BEL documents with PyBEL [1]_.

Installation |pypi_version| |python_versions| |pypi_license|
------------------------------------------------------------
``bel_repository`` can be installed from PyPI with the following command:

.. code-block:: bash

   $ pip install bel_repository

The latest version can be installed from GitHub with:

.. code-block:: bash

   $ pip install git+https://github.com/pybel/bel-repository.git

Usage
-----
.. code-block:: python

    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
----------
.. [1] Hoyt, C. T., *et al.* (2017). `PyBEL: a computational framework for Biological Expression
       Language <https://doi.org/10.1093/bioinformatics/btx660>`_. Bioinformatics (Oxford, England), 34(4), 703–704.

.. |build| image:: https://travis-ci.com/pybel/bel-repository.svg?branch=master
    :target: https://travis-ci.com/pybel/bel-repository

.. |python_versions| image:: https://img.shields.io/pypi/pyversions/bel_repository.svg
    :alt: Stable Supported Python Versions

.. |pypi_version| image:: https://img.shields.io/pypi/v/bel_repository.svg
    :alt: Current version on PyPI

.. |pypi_license| image:: https://img.shields.io/pypi/l/bel_repository.svg
    :alt: License

.. |zenodo| image:: https://zenodo.org/badge/162814995.svg
   :target: https://zenodo.org/badge/latestdoi/162814995


