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.dev25.tar.gz
(12.9 kB
view details)
Built Distribution
File details
Details for the file prior-0.0.1.dev25.tar.gz
.
File metadata
- Download URL: prior-0.0.1.dev25.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 | bfcfd9934d5281a2b6b031b14da7079ba9619d898b1dab7d7d8aa4b522caa8f1 |
|
MD5 | 28ced4cab8ec4d59f57fc70e41738eeb |
|
BLAKE2b-256 | e9c7706edfd53b1c46a1887b9616bc990ceb901144da3a23ad70bb8d67fa8e6a |
File details
Details for the file prior-0.0.1.dev25-py3-none-any.whl
.
File metadata
- Download URL: prior-0.0.1.dev25-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 | 8260b62a6f8b76853d56e2a6f6faccca75dbd802beebcd8bdd9ab5aaabd94830 |
|
MD5 | 502e995221e4e7d7c8dee8544f583749 |
|
BLAKE2b-256 | 6345712afc2667b864338458405a33ab11fe47c118a8b518f7d69ee61692f3f5 |