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.
getsends a GET request for a single object. The URI for that object should be passed as the first argument.
client.get("/collections/WY7fpswEV3oLhyjiArpHES")
get_pagedreturns 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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rac_api_client-0.1.5.tar.gz | 4.2 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rac_api_client-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / rac_api_client-0.1.5.tar.gz
| Download URL | rac_api_client-0.1.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79707a2c9ba0ef55898a3c8cbf01b551c91c1e5c63b537e561d87234894d3460
|
|
BLAKE2b-256 checksum How to use checksums |
079d855be46841af3a44532d44b54ea043b633c88cf69f6af47ba5e1c7739d07
|
| 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 Sep 8, 2026.
Transparency logRelease files / rac_api_client-0.1.5-py3-none-any.whl
| Download URL | rac_api_client-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3df712f5dec450ead22c57c40e30eff36fa67b576439828528ccfb52f3ef13a4
|
|
BLAKE2b-256 checksum How to use checksums |
0c654d82ff98d021ececdb887be2abe884868f8ad028bde4c60436428ed71c6e
|
| 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 Sep 8, 2026.
Transparency logSecurity for rac-api-client 0.1.5
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.
Attestation for rac_api_client-0.1.5.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 Sep 8, 2026.
Transparency logA 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.