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")
Metadata
Release files for rice-vpaa-sdk 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rice_vpaa_sdk-0.1.8.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rice_vpaa_sdk-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / rice_vpaa_sdk-0.1.8.tar.gz
| Download URL | rice_vpaa_sdk-0.1.8.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f6676409556526b7be47d940907a2aca9b1049c3631d01554905a8584eef55e
|
|
BLAKE2b-256 checksum How to use checksums |
4f33258e2e879ba993757b6920a518b934dc3a403e42f747b580bfd561f63a22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / rice_vpaa_sdk-0.1.8-py3-none-any.whl
| Download URL | rice_vpaa_sdk-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a33ac6239404bd174f681c4edc80cf4c190f9b2eeec16ce8734f8d384ce98bcb
|
|
BLAKE2b-256 checksum How to use checksums |
1927a8e62d621479cba1ae3a1474bf78c7d4e47358c005ac79d0036f67793dfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|