Skip to main content

No project description provided

Project description

PRIOR

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

Installation

Install the prior package with pip:

pip install prior

Datasets

import prior
prior.load_dataset("procthor-10k")

More coming soon!

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.dev28.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

prior-0.0.1.dev28-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: prior-0.0.1.dev28.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for prior-0.0.1.dev28.tar.gz
Algorithm Hash digest
SHA256 2004063609d14633b45e2e17997d39e8f952ce04d59a794eab87ab74330c6a1f
MD5 ab1473a693ae55aa8cb7d4d9260bd19b
BLAKE2b-256 61bb3328644a149d9c80d5fa6e1eda9f832e887bfed4d2ea9da30ae8a7d0de5c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: prior-0.0.1.dev28-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for prior-0.0.1.dev28-py3-none-any.whl
Algorithm Hash digest
SHA256 05e131879bd79ee118992a5179f139e263f6da76b9f3a9ee8f71451dd6151287
MD5 050536dd8a844bb8308e080aae489e4e
BLAKE2b-256 5348fe79e28da969bc93e3e4ea6cfbcda24fb32d02dd286e0483a60c4ed17a6d

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