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.1

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.1
File Size Uploaded Provenance Actions
forcingkit_client-0.2.1.tar.gz 79.5 kB With provenance Details for forcingkit_client-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 98.4 kB

Release files / forcingkit_client-0.2.1.tar.gz

Download URL forcingkit_client-0.2.1.tar.gz
Size 79.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5021c988ee1a8ea57bb56fbebc4839f5e541f633d1f4da583cc4cd915c65f2ee
BLAKE2b-256 checksum
How to use checksums
5ea604103f99219f5108cde70e8c883328c60029aca15625676804de2702eb1b
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.1-py3-none-any.whl

Download URL forcingkit_client-0.2.1-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac547326cdaa17b17598397782c27831d8965bfb372943189952597e7ef9a338
BLAKE2b-256 checksum
How to use checksums
5395f597120abf422190859ae89183e55bbcbb7430e6e418bcc970505868e278
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.1

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.1.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