Skip to main content

forcingkit-client

A lightweight Python client for a forcingkit service. It returns ocean, atmosphere and station forcing as xarray objects, and interpolates forcing along a trajectory (a tagged animal, a vessel, a drifter). It depends on httpx, numpy, pandas, scipy, xarray and zarr only, none of the service's data-access stack, so it installs into a simulator or an application's embedded Python (3.11 or newer).

from forcingkit_client import Client

fk = Client("http://localhost:9598")
box = (-70.9, 41.3, -70.6, 41.6)  # west, south, east, north
ocean = fk.ocean(box, "2025-07-01", 24)  # u, v, temp, salt, zeta
air = fk.atmosphere(box, "2025-07-01", 24)  # HRRR u10, v10, t2m, ...

# lon, lat, time, z: one value per point; z in metres, positive up
track = fk.interpolate_trajectory(
    lon, lat, time, z, variables=("u", "v"), atmosphere=("u10", "v10")
)

Store builds run as jobs on the service; the client polls them and opens the finished store over HTTP through a local cache (~/.cache/forcingkit-client), so only the chunks read are fetched, once. AsyncClient has the same methods for callers that must not block an event loop.

Units are SI; z is metres, positive up. Documentation: https://forcingkit.docs.lhzn.io/client.html.

Metadata

Release files for forcingkit-client 0.1.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 forcingkit-client 0.1.0
File Size Uploaded Provenance Actions
forcingkit_client-0.1.0.tar.gz 77.3 kB With provenance Details for forcingkit_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for forcingkit-client 0.1.0
File Interpreter ABI Platform Actions
forcingkit_client-0.1.0-py3-none-any.whl Python 3 none any Details for forcingkit_client-0.1.0-py3-none-any.whl

Total release size: 94.8 kB

Release files / forcingkit_client-0.1.0.tar.gz

Download URL forcingkit_client-0.1.0.tar.gz
Size 77.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f87b960ef4a0747ea6ec2e52c9fb8ecabf18d57923d26a63b21b45dcf262769e
BLAKE2b-256 checksum
How to use checksums
47052edb369d1e3fc80ad9de05e7ade77b78214807b66c8bae896a148d049804
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 2, 2026.

Transparency log

Release files / forcingkit_client-0.1.0-py3-none-any.whl

Download URL forcingkit_client-0.1.0-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0853c7d17dcc05d890ef7ff79049ed17306f5eb21a1814cc13d34322d7dc1b2
BLAKE2b-256 checksum
How to use checksums
7a55ba405f03c1839c9769628e95b5aefae4aecf5438cf81e979557e1cef6c9a
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 2, 2026.

Transparency log

Security for forcingkit-client 0.1.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 forcingkit_client-0.1.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 2, 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