MsaDocModels
msaDocModels - MSA Document Pydantic Models and Schemas, used to store Parser, NLP, NLU and AI results for processed documents Optimized for use with FastAPI/Pydantic.
Install / Use
/learn @u2d-ai/MsaDocModelsREADME
<p align="center"> <em>msaDocModels - MSA Document Pydantic Models and Schemas, used to store Parser, NLP, NLU and AI results for processed documents</em> <br> Optimized for use with FastAPI/Pydantic. <br> <a href="https://pypi.org/project/msaDocModels" target="_blank"> <img src="https://img.shields.io/pypi/v/msaDocModels?color=%2334D058&label=pypi%20package" alt="Package version"> </a> <a href="https://pypi.org/project/msaDocModels" target="_blank"> <img src="https://img.shields.io/pypi/pyversions/msaDocModels.svg?color=%2334D058" alt="Supported Python versions"> </a> </p>
Documentation: <a href="https://msaDocModels.u2d.ai/" target="_blank">msaDocModels Documentation (https://msaDocModels.u2d.ai/)</a>
Features
- Schema/Models for Document Understanding Result Data: sdu.
- Schema/Models for General Document Handling Data: wdc.
- Schema/Models for Workflow Definition and Processing Data: wfl.
- Schema/Models for Work With Text: spk.
- API Message class: msg, allows generic API JSON message creation with capabilities to re-create original datatypes and class instances.
Main Dependencies
- msaUtils >= 0.0.2
- Pydantic
License Agreement
msaDocModelsis based onMITopen source and free to use, it is free for commercial use, but please show/list the copyright information about msaDocModels somewhere.
How to create the documentation
We use mkdocs and mkdocsstring. The code reference and nav entry get's created virtually by the triggered python script /docs/gen_ref_pages.py while mkdocs serve or build is executed.
Requirements Install for the PDF creation option:
PDF Export is using mainly weasyprint, if you get some errors here pls. check there documentation. Installation is part of the msaDocModels, so this should be fine.
We can now test and view our documentation using:
mkdocs serve
Build static Site:
mkdocs build
Build and Publish
Build:
python setup.py sdist
Publish to pypi:
twine upload dist/*
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
