-
Notifications
You must be signed in to change notification settings - Fork 470
/
pyproject.toml
149 lines (136 loc) · 3.6 KB
/
pyproject.toml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "superduper-framework"
description = "🔮 Bring AI to your favourite database 🔮"
readme = "README.md"
version = '0.5.0.dev'
license = {file = "LICENSE"}
maintainers = [{name = "superduper.io, Inc.", email = "opensource@superduper.com"}]
keywords = [
"databases",
"mongodb",
"data-science",
"machine-learning",
"mlops",
"vector-database",
"ai",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: GPU :: NVIDIA CUDA",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed"
]
requires-python = ">=3.10"
dependencies = [
"boto3>=1.16",
"dill>=0.3.6",
"loguru>=0.7.2",
"loki-logger-handler==1.0.0",
"networkx>=2.8.8",
"requests>=2.22", # lower bound from openai and boto3
"tqdm>=4.64.1",
"typer>=0.7.0",
"pydantic>=1",
"pygments",
"numpy>=1.24.3",
"overrides>=7",
"tenacity>=8.1.0,<=8.2.3",
"packaging",
"prettytable",
"python-dotenv",
"PyYAML>=6.0.0",
"uvicorn>=0.24.0",
"fastapi>=0.103.2",
"ruamel.yaml>=0.18",
"python-magic",
"apscheduler",
"python-multipart>=0.0.9",
"httpx",
"toml",
]
[project.optional-dependencies]
test = [
"scikit-learn>=1.1.3",
"pandas",
"pre-commit",
"black==23.3",
"ruff==0.4.4",
"mypy",
"types-PyYAML",
"types-requests",
"interrogate",
"pytest",
"pytest-cov",
"nbval>=0.10.0",
]
[project.urls]
homepage = "https://superduper.io"
documentation = "https://docs.superduper.io/docs/intro"
source = "https://github.com/superduper-io/superduper"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["superduper*"]
[tool.black]
skip-string-normalization = true
target-version = ["py38"]
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
warn_unused_ignores = true
disable_error_code = ["has-type", "attr-defined", "assignment", "misc", "override", "call-arg", "import-untyped"]
[tool.pytest.ini_options]
addopts = "-W ignore"
[tool.interrogate]
color = true
exclude = []
fail-under = 30.1
ignore-magic = true
ignore-nested-classes = false
ignore-nested-functions = true
ignore-private = true
ignore-property-decorators = true
ignore-regex = []
ignore-semiprivate = true
omit-covered-files = true
quiet = false
verbose = 0
whitelist-regex = []
[tool.ruff.lint]
extend-select = [
"I", # Missing required import (auto-fixable)
"F", # PyFlakes
#"W", # PyCode Warning
"E", # PyCode Error
#"N", # pep8-naming
"D", # pydocstyle
]
ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
"D105", # Missing docstring in magic method
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D401",
"D102",
"E402",
]
exclude = ["templates", "superduper/templates"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"test/**" = ["D"]
[project.entry-points."console_scripts"]
superduper = "superduper.__main__:run"