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; w from NECOFS
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.3.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.3.0
File Size Uploaded Provenance Actions
forcingkit_client-0.3.0.tar.gz 81.0 kB With provenance Details for forcingkit_client-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 100.7 kB

Release files / forcingkit_client-0.3.0.tar.gz

Download URL forcingkit_client-0.3.0.tar.gz
Size 81.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dfa54d8e647351469949f54c4b07e42f27b56c1aeda695e2751f45d53103045f
BLAKE2b-256 checksum
How to use checksums
589e19fba4dceafcdc783e2f17d001053a291938679c5dea35e41f36818e2425
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 28, 2026.

Transparency log

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

Download URL forcingkit_client-0.3.0-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ca08fac9df9760def870713d1b1b50dd501d512d10b9b87ba4ce78a7f0c2abc
BLAKE2b-256 checksum
How to use checksums
3563dde6cac830ddfd4b2050709c1a27fdf7fe1b6005960cfa2d6f49f6ad3990
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 28, 2026.

Transparency log

Security for forcingkit-client 0.3.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.3.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 28, 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