Skip to main content

aracnid-airtable

A Python Airtable connector implementation for the aracnid-base contract.

Overview

aracnid-airtable provides an AirtableConnector implementation that follows the shared connector interface used across aracnid-* connector modules. It wraps Airtable CRUD operations with consistent validation, normalization, and error handling semantics.

Installation

Using Poetry:

poetry add aracnid-airtable

Using pip:

pip install aracnid-airtable

Requirements

  • Python 3.12+
  • Airtable API key with access to the target base/table

Configuration

Set your Airtable API key in the environment:

export AIRTABLE_API_KEY=your_api_key

Quick Start

from aracnid_airtable.connector import AirtableConnector

connector = AirtableConnector(
    base_id="appXXXXXXXXXXXXXX",
    table_name="MyTable",
)

created = connector.create_one({"name": "example", "status": "active"})
record_id = created["id"]

one = connector.read_one(record_id)
many = connector.read_many({"status": "active"})

updated = connector.update_one(record_id, {"status": "inactive"})
replaced = connector.replace_one(record_id, {"name": "replacement"})

deleted = connector.delete_one(record_id, hard=True)

API Notes

  • read_one(record_id) returns None when the record is not found.
  • delete_one(record_id, hard=False) raises RuntimeError because soft delete is not supported by this connector.
  • delete_one(record_id, hard=True) performs a hard delete and returns:
    • True if deleted
    • False if the record does not exist

Testing

Run default tests (excluding external-service integration tests):

pytest -m "not integration" -q

Run integration tests (real Airtable):

pytest -m integration -q

Integration test environment variables

  • AIRTABLE_API_KEY
  • AIRTABLE_BASE_ID
  • AIRTABLE_TABLE_NAME

If these are not set, integration tests will skip.

Development

Run all tests:

pytest -q

Run linting/type checks (if configured in your environment):

ruff check .
pyright

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for aracnid-airtable 1.7.0

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

Source distribution (sdist)

Source distribution for aracnid-airtable 1.7.0
File Size Uploaded Provenance Actions
aracnid_airtable-1.7.0.tar.gz 10.4 kB With provenance Details for aracnid_airtable-1.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aracnid-airtable 1.7.0
File Interpreter ABI Platform Actions
aracnid_airtable-1.7.0-py3-none-any.whl Python 3 none any Details for aracnid_airtable-1.7.0-py3-none-any.whl

Total release size: 20.7 kB

Release files / aracnid_airtable-1.7.0.tar.gz

Download URL aracnid_airtable-1.7.0.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
76543f2c46072ae891d1fee95b94bd3b32bb4fa8508266c63d28ece018169d70
BLAKE2b-256 checksum
How to use checksums
84284c44280d3414326c932c4e29cbd8f02b74fd3bf9dc1dd0705a170c429412
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Release files / aracnid_airtable-1.7.0-py3-none-any.whl

Download URL aracnid_airtable-1.7.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aadd474686786e36b5d46314636b7f7f1f84371fd907c13bf7e8f77f8c46837b
BLAKE2b-256 checksum
How to use checksums
b9cabd96d4cc80f6992fe68923ba29645e61cbe1a4473a7878b8d8ae4e1bde23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 15, 2026.

Transparency log

Security for aracnid-airtable 1.7.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aracnid_airtable-1.7.0.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 Nov 15, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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