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.2.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.2.0
File Size Uploaded Provenance Actions
forcingkit_client-0.2.0.tar.gz 78.5 kB With provenance Details for forcingkit_client-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 96.9 kB

Release files / forcingkit_client-0.2.0.tar.gz

Download URL forcingkit_client-0.2.0.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8cf70dd818d07bf7ed847a674aa2a4c9259a21d77cc6f6f437a1562699b8f18
BLAKE2b-256 checksum
How to use checksums
9c0ec71ea94ba374960b2b86a34ebddf1542a5b0485d0c2e67f5d864daa18539
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 25, 2026.

Transparency log

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

Download URL forcingkit_client-0.2.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de70732f1e534724107e27fad2ce00268dbbc49c78b568206fbfd9c8531c5bcf
BLAKE2b-256 checksum
How to use checksums
2656bfd0aa36aa12c125ee594d505157e080556c51894d0f183c133ab4eca131
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 25, 2026.

Transparency log

Security for forcingkit-client 0.2.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.2.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 25, 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