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
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
rice_vpaa_sdk-0.1.8.tar.gz
(6.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f6676409556526b7be47d940907a2aca9b1049c3631d01554905a8584eef55e
|
|
| MD5 |
b1859eb00007b6d5133dce00f3e0cf1c
|
|
| BLAKE2b-256 |
4f33258e2e879ba993757b6920a518b934dc3a403e42f747b580bfd561f63a22
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a33ac6239404bd174f681c4edc80cf4c190f9b2eeec16ce8734f8d384ce98bcb
|
|
| MD5 |
8ccdac7c4c7849d881f4f0d6145d5451
|
|
| BLAKE2b-256 |
1927a8e62d621479cba1ae3a1474bf78c7d4e47358c005ac79d0036f67793dfa
|