Skip to main content

简单的基于 Python 的本地/远程数据集存储。

项目描述

PyPI-状态 PyPI 版本 构建状态 编解码器 执照

Python 的简单本地/远程数据集存储。

from barn import Dataset
twitter_usa = Dataset(name='twitter_usa', task='NER')
# download from an azure block blob storage and load into a dataframe
twitter_usa.download(tags=['preprocessed'], version='20180305')
df = twitter_usa.df(tags=['preprocessed'], version='20180305')
<nav class="contents" id="contents" role="doc-toc">

内容

</nav>

1安装

pip install barn

2特点

  • 纯蟒蛇。

  • 支持 Python 3.5+。

3使用

待定

4贡献

包作者和当前维护者是 Shay Palachy ( shay.palachy@gmail.com ) 非常欢迎您向他寻求帮助。贡献非常受欢迎。

4.1安装开发

克隆:

git clone git@github.com:shaypal5/barn.git

在开发模式下安装,包括测试依赖:

cd barn
pip install -e '.[test]'

4.2运行测试

要运行测试,请使用:

cd barn
pytest

4.3添加文档

该项目使用numpy docstring conventions进行记录,之所以选择它们,是因为它们可能是最广泛传播的约定,这些约定都受到 Sphinx 等常用工具的支持,并产生人类可读的文档字符串。在记录您添加到此项目的代码时,请遵循这些约定

此外,如果您更新此README.rst文件,请使用python setup.py checkdocs来验证它是否可以编译。

5学分

Shay Palachy ( shay.palachy@gmail.com )创建_ _ _

项目详情


下载文件

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

内置分布

barn-0.0.5-py2.py3-none-any.whl (9.6 kB 查看哈希)

已上传 py2 py3