Skip to main content

Simple Python-based local/remote dataset store.

Project description

PyPI-Status PyPI-Versions Build-Status Codecov LICENCE

Simple local/remote dataset store for 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')

1   Installation

pip install barn

2   Features

  • Pure python.
  • Supports Python 3.5+.

4   Contributing

Package author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help. Contributions are very welcomed.

4.1   Installing for development

Clone:

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

Install in development mode, including test dependencies:

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

4.2   Running the tests

To run the tests use:

cd barn
pytest

4.3   Adding documentation

The project is documented using the numpy docstring conventions, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings. When documenting code you add to this project, follow these conventions.

Additionally, if you update this README.rst file, use python setup.py checkdocs to validate it compiles.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for barn, version 0.0.5
Назва файлу, розмір File type Версія Python Дата завантаження Hashes
Назва файлу, розмір barn-0.0.5-py2.py3-none-any.whl (9.6 kB) File type Wheel Версія Python py2.py3 Дата завантаження Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page