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.7

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.7
File Size Uploaded Provenance
rac_api_client-0.1.7.tar.gz 4.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 8.4 kB

Release files / rac_api_client-0.1.7.tar.gz

Download URL rac_api_client-0.1.7.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
287d6539c41851d5c0d7654f10b66667b7e2c472462acfe233a087f836b7cfcb
BLAKE2b-256 checksum
How to use checksums
6ea2d364cb88372470444ffa780e43941849c1ada076e2d4f8fcbe274f0bd3cc
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 22, 2026.

Transparency log

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

Download URL rac_api_client-0.1.7-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
060443ff5a906bb8cb84ace9bc9c3095c8835d9f9b680f9457d55093d984fce7
BLAKE2b-256 checksum
How to use checksums
e3d4506ef52ecefa3b00e726ced177a999607125e714d2398b93b257277c6c2c
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 22, 2026.

Transparency log

Security for rac-api-client 0.1.7

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.7.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 22, 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