简单的基于 Python 的本地/远程数据集存储。
项目描述
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学分
项目详情
关
barn-0.0.5- py2.py3 -none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | d0b226248abee7464d4fb08aa367908e1777d717e09271c50f885d6ecc460136 |
|
MD5 | 04faa5df34d6eb01f2cc47403c75e8f4 |
|
布莱克2-256 | a2bbe705e81fca7315a196cba78c61c9629fdc6cbe738b0d6b1025ad0577b6e4 |