Skip to main content

henfoil — Python SDK (HF-SDK-001)

Official headless client for production HENFOIL — same REST surface as the workspace.

Version 0.3.5 · Docs: api.hendoi.com/?doc=python-sdk

Install

pip install henfoil
# monorepo:
pip install -e henfoil-sdk/python

0.3.5 additions (product parity)

Method Route
flow_rans / flow_rans_transition / flow_rans_polar POST /flow/rans*
batch / select / envelope / sensitivity decide / matrix
icing / erosion / impact / erosion_presets specialty screens
section_fea / section_fea_export POST /aerospace/section-fea*
analysis_transonic POST /analysis/transonic
methods GET /methods

Still included: polars + Trust, suite mesh/FEA, wing PIPE / BLOCK-GATE / flow_rans_3d*, optimize / inverse / robustness.

What it cannot claim

Not Fluent / Nastran / HyperMesh / LEWICE / FAR bird-strike. Shell FEA has no twist or dihedral. Free plan = 0 pythonSdk calls/month. No henfoil login yet — hfk_… key only.

Auth

export HENFOIL_API_KEY=hfk_…
# optional: export HENFOIL_API_URL=https://henfoil.hendoi.com
# local:   export HENFOIL_API_URL=http://localhost:8001
python -c "from henfoil import Client; print(Client().sdk_budget())"

Example

from henfoil import Client, trust_summary

c = Client()
coords = c.generate("2412")["coordinates"]
polar = c.polar(coords, re=2e5, aoa=(-4, 12, 2))
print(trust_summary(polar)["decisionGate"])

rans = c.flow_rans(coords, {"includeField": True, "aoaDeg": 4})
c.suite_cfd_export(rans, "vtk")

wing = c.wing_pipeline(
    coords,
    {"span": 6, "rootChord": 1.0, "taper": 0.5, "twistDeg": -2, "aoaDeg": 4},
    run_rans3d=False,
)
fea = c.suite_fea(coords, {"chordM": 1, "spanM": 2, "taper": 0.5, "ribs": 4, "speedMs": 60, "cl": 0.8})

Meters: every call spends apiRequests + pythonSdk; suite/RANS/FEA also spend computeCredits.

Metadata

Release files for henfoil 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for henfoil 0.3.5
File Size Uploaded Provenance Actions
henfoil-0.3.5.tar.gz 14.2 kB Without provenance Details for henfoil-0.3.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for henfoil 0.3.5
File Interpreter ABI Platform Actions
henfoil-0.3.5-py3-none-any.whl Python 3 none any Details for henfoil-0.3.5-py3-none-any.whl

Total release size: 26.1 kB

Release files / henfoil-0.3.5.tar.gz

Download URL henfoil-0.3.5.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b355a40d4f65f437e9c798020bdd121b6d115964baddf9f43c72bcc28bd174c3
BLAKE2b-256 checksum
How to use checksums
2bc7a41f10717e01fed91928890c932d59bc7a7729765fe12ba79200b3f2bd37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / henfoil-0.3.5-py3-none-any.whl

Download URL henfoil-0.3.5-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36185a150fe614bcf4a4c13141d1025b77ee3115063d87d3e201ac66ddd51dbf
BLAKE2b-256 checksum
How to use checksums
505f6ce8536893723a84460c14ad89df0ea6580838df99867ea6b0a3d01c20f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for henfoil 0.3.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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