Skip to main content

SDK for the Rice VPAA API

Project description

Rice VPAA SDK

Internal SDK for accessing the Rice VPAA API. Requires an API key.

Install

pip install rice-vpaa-sdk

Documentation

Full Swagger API documentation is available here.

Usage

from rice_vpaa import VPAAClient
client = VPAAClient(api_key="your-api-key")

Get Faculty

faculty = client.get_faculty(
    unit_ids=[123],
    tenure_statuses=["TTT"],
    employment_statuses=["Full Time"]
)

Get Divisions

divisions = client.get_divisions(departments_only=True)

Get Open Positions

positions = client.get_open_positions()

Data Lagoon

The DataLagoon class is a convenience class for accessing data from the VPAA data lagoon.

DataLagoon depends on the following environment variables:

  • S3_REGION
  • S3_BUCKET
  • S3_ENDPOINT
  • S3_KEY
  • S3_SECRET
data_lagoon = DataLagoon()
data_lagoon.read_parquet("path/to/file.parquet")
data_lagoon.write_parquet(<a pandas dataframe>, "path/to/file.parquet")
data_lagoon.list_files("path/to/directory")
data_lagoon.get_metadata("path/to/file.parquet")

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

rice_vpaa_sdk-0.1.7.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rice_vpaa_sdk-0.1.7-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file rice_vpaa_sdk-0.1.7.tar.gz.

File metadata

  • Download URL: rice_vpaa_sdk-0.1.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for rice_vpaa_sdk-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2ee91b26004f6e88b347f4468269c92660787ae629f7ca334ac80d0c51aee121
MD5 ea4f774cb98654284cbbad35c0f43ac9
BLAKE2b-256 96716cca0f24e0142f2ca30bce17b71c4337e961fb9d84f31c7794dfe9bec214

See more details on using hashes here.

File details

Details for the file rice_vpaa_sdk-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: rice_vpaa_sdk-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for rice_vpaa_sdk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0627a60e30e5de9577e6866bd6c34c3f9b1cdaf613f710fed2b77ae0149bdca9
MD5 b4277ad7d894f78229429885e0ce90ed
BLAKE2b-256 e81450efcd1251d33c1d8bd00bf2e7e3fb348faa0de7fc8fc475e8e27c0a06be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page