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
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:
- Already logged into GitHub from the command line, and able to pull a private repo.
- 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. - Set the
gh_auth_token
global variable in theprior
package with:
import prior
prior.gh_auth_token = "<token>"
Project details
Release history Release notifications | RSS feed
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.dev24.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file prior-0.0.1.dev24.tar.gz
.
File metadata
- Download URL: prior-0.0.1.dev24.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5584ede30617649463652dfdeb523744d9ff3da7c42956898ee278c845145f1 |
|
MD5 | 3812b50b5a69ad547cec67dc7f3ce7cf |
|
BLAKE2b-256 | 4b74e9976661d4651f6afd0ca2447ecb072d4339b76971fbcdad22079651ab6c |
File details
Details for the file prior-0.0.1.dev24-py3-none-any.whl
.
File metadata
- Download URL: prior-0.0.1.dev24-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9cbd36f126e6fc7440452610a6248888e7f6d0e07574825ef16fd622ec771e2 |
|
MD5 | 0edf578fc570ef1d6f29a56b365efb15 |
|
BLAKE2b-256 | a3a8b5be78c30ad651ae77bf5457ddd54eb48977f9f3b37f5066f7b6ce4b8bbb |