Skip to main content

No project description provided

Project description

Prior

🐍 A Python package for distributing datasets from AI2's PRIOR team

Installation

Make sure you have git-lfs installed, and then the prior package:

pip install prior

Example Usage

To use a public Python dataset, simply run:

import prior
dataset = prior.load_dataset("test-dataset", entity="mattdeitke", revision="main")

Here, revision can be either a tag, branch, or commit hash.

Private Datasets

If you want to use a private dataset, make sure you're either:

  1. Already logged into GitHub from the command line, and able to pull a private repo.
  2. Set the GITHUB_TOKEN environment variable to a GitHub authentication token with read access to private repositories (e.g., export GITHUB_TOKEN=<token>). You can generate a GitHub authentication token here.
  3. Set the gh_auth_token global variable in the prior package with:
import prior
prior.gh_auth_token = "<token>"

Project details


Download files

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

Source Distribution

prior-0.0.1.dev20.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

prior-0.0.1.dev20-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file prior-0.0.1.dev20.tar.gz.

File metadata

  • Download URL: prior-0.0.1.dev20.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for prior-0.0.1.dev20.tar.gz
Algorithm Hash digest
SHA256 9d7fa00a659c5de47ffc6552053f763517f1c56fdbfcf942a048bd101333d235
MD5 a879e99ec06843b0b3dc7a5f8bd12d58
BLAKE2b-256 4343d5edf025f62cfc6fdeba55828c6b0783e0711d4140d6e6f283ad389600c4

See more details on using hashes here.

File details

Details for the file prior-0.0.1.dev20-py3-none-any.whl.

File metadata

  • Download URL: prior-0.0.1.dev20-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for prior-0.0.1.dev20-py3-none-any.whl
Algorithm Hash digest
SHA256 aff27d5d08efc710f4dd9848c590ed6e7f4773dec221de03df41929928ca57fa
MD5 94f15395479ea3b667842510cda229bc
BLAKE2b-256 af658e2132423913e8f15286074e70cbb75133369218bd9599f3568053a691cf

See more details on using hashes here.

Supported by

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