Skip to main content

rac_api_client

A client to interact with the Rockefeller Archive Center's Collections API.

Dependencies

Getting Started

pip install rac_api_client

Usage

In order to use the client in your Python script, you first need to import it and create an instance.

from rac_api_client import Client
client = Client()

This client contains two methods to facilitate working with the RAC's Collections API.

  • get sends a GET request for a single object. The URI for that object should be passed as the first argument.
client.get("/collections/WY7fpswEV3oLhyjiArpHES")
  • get_paged returns all results for paged content, for example a list of collections or search results.
client.get_paged("/collections")

For both of these methods, parameters can optionally be passed as a dictionary.

client.get_paged("/objects", params={"online": True, "start_date__gte": "1950"})
client.get("/search", params={"query": "yellow fever"})

Development

This repository contains a configuration file for git pre-commit hooks which help ensure that code is linted before it is checked into version control. It is strongly recommended that you install these hooks locally by installing pre-commit and running pre-commit install.

License

This code is released under the MIT License. See LICENSE.md for more information.

Metadata

Release files for rac-api-client 0.1.6

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

Source distribution (sdist)

Source distribution for rac-api-client 0.1.6
File Size Uploaded Provenance
rac_api_client-0.1.6.tar.gz 4.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rac-api-client 0.1.6
File Interpreter ABI Platform
rac_api_client-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / rac_api_client-0.1.6.tar.gz

Download URL rac_api_client-0.1.6.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b0dc22c05e8d3f1e6814bd002e2059d05bd1346e209991b114f0aebd9d7a16cd
BLAKE2b-256 checksum
How to use checksums
d1f1168fd017fd607b227a48db6de81ffaee310a3177a8e4cd7f3dd47dd3a93d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / rac_api_client-0.1.6-py3-none-any.whl

Download URL rac_api_client-0.1.6-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ecc8dd6e56cb5e10ede2ffb2fa9dac89f5cc3adaf671858ed563662dad03e6d
BLAKE2b-256 checksum
How to use checksums
60ff615bd4b233655470ff83ecdc6de8fa71bbefbd8cfa104cfa70d70bdb89a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Security for rac-api-client 0.1.6

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rac_api_client-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

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.

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