Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Fathom Python SDK client

The Python SDK client for communicating with the Fathom API. See the SDK documentation for more information.

Example usage:

"""An example usage of the Fathom API client."""

import os

from fathom.sdk.v2 import Client, point, polygon, write_tiffs

if __name__ == "__main__":
    client = Client(
        os.environ["FATHOM_CLIENT_ID"],
        os.environ["FATHOM_CLIENT_SECRET"],
        os.environ["FATHOM_API_ADDR"],
    )

    layer_ids = [
        "GLOBAL-1ARCSEC-00_OFFSET-1in10-PLUVIAL-DEFENDED-DEPTH-2020-PERCENTILE50-v0.0.0_test",
        "GLOBAL-1ARCSEC-00_OFFSET-1in100-PLUVIAL-DEFENDED-DEPTH-2020-PERCENTILE50-v0.0.0_test",
    ]

    # Get from points
    pt = point(lat=51.996147, lng=-2.159495)
    points_response = client.geo.get_points(([pt]), layer_ids)

    # Or using a polygon
    poly = polygon(
        [
            point(51.45, 0),
            point(51.55, 0),
            point(51.55, -0.1),
            point(51.45, -0.1),
            point(51.45, 0),
        ]
    )
    polygon_response = client.geo.get_polygon(poly, layer_ids)
    write_tiffs(
        polygon_response,
        output_dir,
    )

Metadata

Release files for fathom-global-client-sdk 1.5.0a1

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

Built distribution (wheel)

Table of built distributions (wheels) for fathom-global-client-sdk 1.5.0a1
File Interpreter ABI Platform
fathom_global_client_sdk-1.5.0a1-py3-none-any.whl Python 3 none any Details

Release files / fathom_global_client_sdk-1.5.0a1-py3-none-any.whl

Download URL fathom_global_client_sdk-1.5.0a1-py3-none-any.whl
Size 83.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b79fe7f044f021c3ec35f93daf7aad18fdfe0c9a0686d9c0dc39530d1824a48e
BLAKE2b-256 checksum
How to use checksums
5cb1d9aef9432b71b5ed84da43e7df596c695563377da088364f460b8a13fd9e
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 8, 2026.

Transparency log
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