Skip to main content

Asynchronous client library for Airtable API

PyPI version License: MIT Downloads

Key Features

  • Asyncio and aiohttp based
  • All Airtable REST API methods supported
  • API rate limit support
  • Fully type annotated (PEP 484)
  • Mapping of table fields into variable names

Installation

aioairtable is available on PyPI. Use pip to install it:

pip install aioairtable

Requirements

Using aioairtable

Pass a value of any hashable type to acquire or do not specify any parameter:

import asyncio

from msgspec import Struct, field

from aioairtable import Airtable, SortDirection


class TableFields(Struct):
    field_1: str | None = field(default=None, name="Field 1")
    field_2: str | None = field(default=None, name="Field 2")
    field_3: str | None = field(default=None, name="Field 3")


async def main() -> None:
    airtable = Airtable(api_key="some_key")
    base = airtable.base("base_id")
    table = base.table("table_name", TableFields)
    records, offset = await table.list_records(
        fields=("field_1", "field_2"),
        filter_by_formula="{field_3}",
        max_records=100500,
        page_size=3,
        sort=(
            ("field_1", SortDirection.ASC),
            ("field_2", SortDirection.DESC),
        ),
        view="table3",
        offset="record033",
    )
    for record in records:
        print(record)

    record = await table.create_record(
        TableFields(
            field_1="value_1_new_001",
            field_2="value_2_new_001",
            field_3="value_3_new_001",
        )
    )
    await record.delete()


asyncio.run(main())

Metadata

Release files for aioairtable 0.2.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 aioairtable 0.2.6
File Size Uploaded Provenance Actions
aioairtable-0.2.6.tar.gz 7.6 kB Without provenance Details for aioairtable-0.2.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aioairtable 0.2.6
File Interpreter ABI Platform Actions
aioairtable-0.2.6-py3-none-any.whl Python 3 none any Details for aioairtable-0.2.6-py3-none-any.whl

Total release size: 15.9 kB

Release files / aioairtable-0.2.6.tar.gz

Download URL aioairtable-0.2.6.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
26f1fe94acecf26e190416ee5b9c86592bb967a0a665256027d7d350a63a4602
BLAKE2b-256 checksum
How to use checksums
ec27b7bcaa6826316b8d8da83ccf59b01ec57c30d426c0abaf99e6be34a7553b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aioairtable-0.2.6-py3-none-any.whl

Download URL aioairtable-0.2.6-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4096eebdecf95979b144d232ca9ce9a9be3e371c43afaef3563fd21f8f4b355d
BLAKE2b-256 checksum
How to use checksums
3f86aef1ca96ab7e51f5fd734ca7b48609c799eba3d64408556337052aa48451
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for aioairtable 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files No provenance

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