openform-core
Headless, port-agnostic Python core for PDF form discovery, table-aware JSON schema extraction, and multi-provider LLM & speech-to-text automation.
No database, no web framework, and no hardcoded ports or services — connect any LLM endpoint (Ollama, llama.cpp, vLLM, OpenAI, Gemini, Claude) and any audio endpoint (faster-whisper-server, whisper.cpp, /asr, or in-process faster-whisper) to whatever port or engine you run.
Install
pip install openform-core
# Optional extras
pip install "openform-core[audio]" # in-process faster-whisper + PyAV streaming
pip install "openform-core[fillable]" # commonforms: convert flat/scanned PDFs into fillable forms
pip install "openform-core[local]" # in-process llama-cpp-python GGUF support
pip install "openform-core[all]" # everything
Quickstart
from openform import FormEngine, OllamaLLM, OpenAICompatibleAudioProvider
engine = FormEngine(
llm=OllamaLLM(host="http://localhost:11434", model="qwen2.5:3b"),
audio=OpenAICompatibleAudioProvider(base_url="http://localhost:9000/v1"),
)
result = engine.fill(
"form.pdf",
"Narrative text...",
out_path="filled.pdf",
)
print(result.values)
Architecture (Ports & Adapters)
openform.pdf: Ruling-line table & widget geometry discovery (pdfplumber+pypdf), tooltip/radio-group schema builder, andcommonformswrapper ([fillable]).openform.ai:LLM/LLMProviderport,OllamaLLM,OpenAICompatibleLLM(llama.cpp,vLLM,OpenAI,Gemini,Anthropic, custom URLs),LlamaCppLLM([local]), andLLMRegistry.openform.audio:AudioProviderport,OpenAICompatibleAudioProvider,LegacyWhisperASRProvider,AutoWhisperProvider, andLocalWhisperProvider+StreamingTranscriber([audio]).openform.prompts: Domain-neutral extraction rules (en,es) andPromptPackcustomization for vertical applications (FireForm,PoliceForm,EMSForm).openform.schemas:ProfileContextandFillResultmodels.
Metadata
Release files for openform-core 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openform_core-0.1.0.tar.gz | 163.0 kB | With provenance | Details for openform_core-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openform_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for openform_core-0.1.0-py3-none-any.whl |
Total release size: 211.8 kB
Release files / openform_core-0.1.0.tar.gz
| Download URL | openform_core-0.1.0.tar.gz |
|---|---|
| Size | 163.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7193ecff9da9574cad88143f22b3efbbc15e0e64ad75d38ae6e5d74614e0ec5f
|
|
BLAKE2b-256 checksum How to use checksums |
bfe9f00cf1fd40732cff95039ea2c683bbb78e7d0668ca985b3d2e5dff5cbb33
|
| 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 Dec 4, 2026.
Transparency logRelease files / openform_core-0.1.0-py3-none-any.whl
| Download URL | openform_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 48.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb12a270c011b74bdebb7ca534397f6aa70525641d096a29871d7cdd4a75f4dc
|
|
BLAKE2b-256 checksum How to use checksums |
ac9117b0c4a928fb0240623c29cf271cb847cd79a250afd14213cb8de9aa756e
|
| 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 Dec 4, 2026.
Transparency logSecurity for openform-core 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.
Attestation for openform_core-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 Dec 4, 2026.
Transparency logA 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.