Skip to main content

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")
import prior
prior.load_dataset("object-nav-eval")

Models

import prior
prior.load_model(project="procthor-models", model="object-nav-pretraining")

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>"

Metadata

Release files for prior 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prior 1.0.3
File Size Uploaded Provenance Actions
prior-1.0.3.tar.gz 13.8 kB Without provenance Details for prior-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prior 1.0.3
File Interpreter ABI Platform Actions
prior-1.0.3-py3-none-any.whl Python 3 none any Details for prior-1.0.3-py3-none-any.whl

Total release size: 27.4 kB

Release files / prior-1.0.3.tar.gz

Download URL prior-1.0.3.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
78b9734a1edc80884b2abe1421f88e6b6195d227e8a917e8aa15aa02dd9668b8
BLAKE2b-256 checksum
How to use checksums
46eac157bcfb667a29cad111dccd1ccae1e6571e7a6a73f71921a83ef34d52d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / prior-1.0.3-py3-none-any.whl

Download URL prior-1.0.3-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8672ef32dda0c96fb8c7cf243e2a553e62f20dc316d173db6fd84f45b0e698b
BLAKE2b-256 checksum
How to use checksums
93c1af1a38dd1ce3185ffd799f877f759b57a84f3c6d4ac98f891aeed98a297e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for prior 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page