Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
IvanCodesDev
OpenMathModel
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
OpenMathModel
/
backend
/
api
/
pyproject.toml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
63 lines (59 loc) · 1.77 KB
main
Breadcrumbs
OpenMathModel
/
backend
/
api
/
pyproject.toml
Copy path
Top
File metadata and controls
Code
Blame
63 lines (59 loc) · 1.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "openmathmodel-api"
version = "0.1.0"
description = "OpenMathModel 控制面 API(FastAPI + SQLAlchemy 2 + Alembic)"
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.30",
"sqlalchemy>=2.0",
"alembic>=1.13",
"pydantic>=2.5,<3",
"pydantic-settings>=2.2",
"bcrypt>=4.1,<5",
"psycopg[binary]>=3.1,<4",
"python-multipart>=0.0.9",
# 附件正文抽取:OOXML/OpenDocument/压缩包/纯文本走标准库,PDF 必须有它
"pypdf>=5",
# 自定义模型接口的服务端出网调用(对话回复与任务执行共用)
"httpx>=0.27",
"omm-contracts",
"omm-agent-core",
# 六个建模阶段的真实 LLM 节点与提示词注册表
"omm-agent-skills",
# 实验阶段的 python 沙箱、工具注册表与调用记录器
"omm-agent-tools",
]
[project.optional-dependencies]
dev = [
"pytest>=8",
"httpx>=0.27",
"jsonschema>=4.21",
"rfc3339-validator>=0.1.4",
]
# 旧版二进制 Office 与 RTF:缺这些包时接口如实返回 unsupported,不会报错
legacy-docs = [
"olefile>=0.47",
"xlrd>=2.0",
"striprtf>=0.0.26",
]
# 图片 OCR:除这两个包外还需要系统里装有 Tesseract 可执行文件与对应语言包
ocr = [
"pytesseract>=0.3.13",
"pillow>=10",
]
# 扫描件 PDF 的远程 OCR 前置:远程 API(OpenAI 兼容协议)只收图片,PDF 需先
# 逐页渲染成图片再上送。图片附件本身零新增依赖(httpx 走核心依赖);缺这两个
# 包时扫描件如实 empty 并说明启用途径,不会报错。
pdf-ocr = [
"pypdfium2>=4",
"pillow>=10",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["omm_api*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
You can’t perform that action at this time.