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
- ProcTHOR-10k [GitHub]
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:
- 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.dev27.tar.gz
(12.9 kB
view details)
Built Distribution
File details
Details for the file prior-0.0.1.dev27.tar.gz
.
File metadata
- Download URL: prior-0.0.1.dev27.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0a93f13dfbf5cef3a5010b6210969a08a857d9ad91ccee08e88ed29e22ad80 |
|
MD5 | 8d75078f5a9966ba388e817a5234e88d |
|
BLAKE2b-256 | 76f8397bbb5ae21e282919dcc8f2c6aeb6c55680e43f6499afc1ba056ae29b34 |
File details
Details for the file prior-0.0.1.dev27-py3-none-any.whl
.
File metadata
- Download URL: prior-0.0.1.dev27-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e984a9b3e9e5f6b0413304685003106e00a5e8d7162bbfd3203fbe1f336c0b2a |
|
MD5 | 7178811feaf837f69713f5cd0f16510e |
|
BLAKE2b-256 | a5b9db78bb73afa2c8094f3874e4b2e0b3f09144d2dabbf2a87cc144c743f0bb |