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+.

3 Use

TBA

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.

5 Credits

Created by Shay Palachy (shay.palachy@gmail.com).

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

barn-0.0.5-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file barn-0.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for barn-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d0b226248abee7464d4fb08aa367908e1777d717e09271c50f885d6ecc460136
MD5 04faa5df34d6eb01f2cc47403c75e8f4
BLAKE2b-256 a2bbe705e81fca7315a196cba78c61c9629fdc6cbe738b0d6b1025ad0577b6e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page