Skip to main content

faa-drs

CI PyPI Python

Python SDK for the FAA Dynamic Regulatory System (DRS) API.

Documentation: https://cldixon.github.io/faa-drs/

Install

uv add faa-drs

Set the API key

Get a key from the DRS API page in DRS Help & Training. Then set the key in the environment:

export DRS_API_KEY="your-key"

Use

from faa_drs import DRSClient, DocType

with DRSClient() as drs:
    for doc in drs.iter_documents(DocType.AC, filters={"drs:status": "Current"}):
        print(doc.number, doc.title)
        drs.download_to(doc, "downloads/")

The client:

  • Gets all pages for you. The API returns a maximum of 750 documents per page.
  • Validates filters against the document type before it sends a request.
  • Retries connection errors, timeouts, HTTP 429 and HTTP 5xx.
  • Returns typed models. doc.content contains the full text when the API supplies it.

An async client, AsyncDRSClient, has the same methods.

Develop

uv sync --all-groups
uv run ruff check . && uv run ruff format --check .
uv run ty check
uv run pytest
uv run pytest -m live   # Calls the real API. Needs DRS_API_KEY.
uv run zensical serve   # Docs at http://localhost:8000

License

MIT. This project is not affiliated with the FAA.

Metadata

Release files for faa-drs 0.1.1

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

Source distribution (sdist)

Source distribution for faa-drs 0.1.1
File Size Uploaded
faa_drs-0.1.1.tar.gz 32.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for faa-drs 0.1.1
File Interpreter ABI Platform
faa_drs-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 69.4 kB

Release files / faa_drs-0.1.1.tar.gz

Download URL faa_drs-0.1.1.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3955fed115ef780ef8b048202f6d50a7fd6a2f0eb1d1329badddbaf973b310fa
BLAKE2b-256 checksum
How to use checksums
1f52284ceb11689c154ab49d1e0868e4f29a7a9856bd55147493b3a78da01914
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 4, 2026.

Transparency log

Release files / faa_drs-0.1.1-py3-none-any.whl

Download URL faa_drs-0.1.1-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
044357ee0b32659aad40e774f85bfc801a7a50fa4b6f568448667eef927e9baa
BLAKE2b-256 checksum
How to use checksums
1982cca278947d7ccdc1fc17dfb1f6fe4aecf0844c5cb2b31218caff4356d2a4
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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