跳转到主要内容

用于从BEL文档存储库加载数据的实用程序。

项目描述

使用PyBEL从BEL文档存储库加载数据的实用程序[1]

安装 PyPI上的当前版本 稳定的支持Python版本 许可证

bel_repository可以使用以下命令从PyPI安装

$ pip install bel-repository

最新版本可以从GitHub使用以下命令安装

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

用法

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

示例BEL仓库

这些仓库中的每个都包含可以pip安装的BEL内容

更多公开的BEL内容可以在这篇博客文章中找到。

参考文献

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

bel_repository-0.1.2.tar.gz (11.9 kB 查看散列)

上传时间

构建分发

bel_repository-0.1.2-py3-none-any.whl (11.2 kB 查看散列)

上传时间 Python 3

由以下支持