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.8.tar.gz (6.5 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.8-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rice_vpaa_sdk-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2f6676409556526b7be47d940907a2aca9b1049c3631d01554905a8584eef55e
MD5 b1859eb00007b6d5133dce00f3e0cf1c
BLAKE2b-256 4f33258e2e879ba993757b6920a518b934dc3a403e42f747b580bfd561f63a22

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rice_vpaa_sdk-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a33ac6239404bd174f681c4edc80cf4c190f9b2eeec16ce8734f8d384ce98bcb
MD5 8ccdac7c4c7849d881f4f0d6145d5451
BLAKE2b-256 1927a8e62d621479cba1ae3a1474bf78c7d4e47358c005ac79d0036f67793dfa

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