Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocSpectra

DocSpectra

Any file in. Spectral JSON out. Fast.

DocSpectra is a schema-driven document-parsing library: hand it a file in any supported format and a JSON Schema, get back schema-conforming JSON — extracted by extreme-concurrency LLM specialists that chunk, route, fan out and self-correct (powered by xtremeparse).

file + JSON schema ──► docspectra.parse ──► JSON

Layout

  • docspectra/parser — file → text (provider engines as optional extras: pdf-inspect, anydoc, paddleocr, mineru; magic-byte type routing; file-level decline chains — a provider whose gate fires on a specific file declines and the next engine takes it)
  • docspectra/agents — the only PydanticAI boundary (AgentRunner adapter)
  • docspectra/serviceparse: file + JSON schema → JSON

DocSpectra is deliberately generic: JSON Schema in and out, no document vendors, no HTTP server, no domain tools. Applications assemble it with their own schema sources and renderers (e.g. bridging DocXCast templates).

Status

Parser layer implemented and tested.

About

DocSpectra: schema-driven document parsing — any file in, spectral JSON out

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages