semvec/pypi-packages huggingface dataset:
fathom-global-client-sdk 1.2.1
Fathom Global Python SDK
Requires Python: >=3.10

# Fathom Python SDK client

The Python SDK client for communicating with the Fathom API. See [the SDK documentation](https://api-docs.fathom.global/sdk/python.html) for more information.

Example usage:

[//]: # "Example is expanded below"
```python
"""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,
    )
```
drbutil 0.0.25
A tiny collection of geometry processing routines frequently used in my projects.
Requires Python: >=3.8

# drbutil
[![PyPI version](https://badge.fury.io/py/drbutil.svg)](https://badge.fury.io/py/drbutil)

A tiny collection of geometry processing routines frequently used in my prototyping code.

Pure Python, low overhead and minimal dependencies.

## Dependencies

The only **actually required** library is [NumPy](https://github.com/numpy/numpy).

**Optionally**, 
* [matplotlib](https://github.com/matplotlib/matplotlib) shows 2D results,
* [Mayavi](https://github.com/enthought/mayavi) visualizes 3D results,
* [tqdm](https://github.com/tqdm/tqdm) realizes progress bars in the shell and
* [scipy](https://github.com/scipy/scipy) speeds up sparse solving operations.

## Install & Use
Install from [PyPI](https://pypi.org/project/drbutil/) with `pip install drbutil` or
clone the repo and run the `buildAndInstall.bat/.sh` script.

Then you can import everything in your project with `import drbutil` or `from drbutil import *`, respectively.