1
+ [project ]
2
+ name = " timescale-vector"
3
+ version = " 0.0.9"
4
+ description = " Python library for storing vector data in Postgres"
5
+ authors = [
6
+ {
name =
" Matvey Arye" ,
email =
" [email protected] " },
7
+ ]
8
+ requires-python = " >=3.10"
9
+ license = {text = " Apache-2.0" }
10
+ readme = " README.md"
11
+ classifiers = [
12
+ " Development Status :: 3 - Alpha" ,
13
+ " Intended Audience :: Developers" ,
14
+ " License :: OSI Approved :: Apache Software License" ,
15
+ " Programming Language :: Python :: 3.10" ,
16
+ ]
17
+
18
+ dependencies = [
19
+ " python-dotenv>=1.0.1" ,
20
+ " asyncpg>=0.29.0" ,
21
+ " psycopg2>=2.9.9" ,
22
+ " pgvector>=0.3.5" ,
23
+ " numpy>=1,<2" ,
24
+ ]
25
+
26
+ [project .optional-dependencies ]
27
+ dev = [
28
+ " ruff>=0.6.9" ,
29
+ " pyright>=1.1.384" ,
30
+ " pytest>=8.3.3" ,
31
+ " langchain>=0.3.3" ,
32
+ " langchain-openai>=0.2.2" ,
33
+ " langchain-community>=0.3.2" ,
34
+ " pandas>=2.2.3" ,
35
+ " pytest-asyncio>=0.24.0" ,
36
+ ]
37
+
38
+ [project .urls ]
39
+ repository = " https://github.com/timescale/python-vector"
40
+ documentation = " https://timescale.github.io/python-vector"
41
+
42
+ [build-system ]
43
+ requires = [" hatchling" ]
44
+ build-backend = " hatchling.build"
45
+
46
+ [tool .hatch .build .targets .wheel ]
47
+ packages = [" timescale_vector" ]
48
+
49
+ [tool .pytest .ini_options ]
50
+ addopts = [
51
+ " --import-mode=importlib" ,
52
+ ]
53
+
54
+ [tool .pyright ]
55
+ typeCheckingMode = " strict"
56
+ reportImplicitOverride = true
57
+ exclude = [
58
+ " **/.bzr" ,
59
+ " **/.direnv" ,
60
+ " **/.eggs" ,
61
+ " **/.git" ,
62
+ " **/.git-rewrite" ,
63
+ " **/.hg" ,
64
+ " **/.ipynb_checkpoints" ,
65
+ " **/.mypy_cache" ,
66
+ " **/.nox" ,
67
+ " **/.pants.d" ,
68
+ " **/.pyenv" ,
69
+ " **/.pytest_cache" ,
70
+ " **/.pytype" ,
71
+ " **/.ruff_cache" ,
72
+ " **/.svn" ,
73
+ " **/.tox" ,
74
+ " **/.venv" ,
75
+ " **/.vscode" ,
76
+ " **/__pypackages__" ,
77
+ " **/_build" ,
78
+ " **/buck-out" ,
79
+ " **/dist" ,
80
+ " **/node_modules" ,
81
+ " **/site-packages" ,
82
+ " **/venv" ,
83
+ ]
84
+
85
+ [tool .ruff ]
86
+ line-length = 120
87
+ indent-width = 4
88
+ output-format = " grouped"
89
+ target-version = " py310"
90
+
91
+ exclude = [
92
+ " .bzr" ,
93
+ " .direnv" ,
94
+ " .eggs" ,
95
+ " .git" ,
96
+ " .git-rewrite" ,
97
+ " .hg" ,
98
+ " .ipynb_checkpoints" ,
99
+ " .mypy_cache" ,
100
+ " .nox" ,
101
+ " .pants.d" ,
102
+ " .pyenv" ,
103
+ " .pytest_cache" ,
104
+ " .pytype" ,
105
+ " .ruff_cache" ,
106
+ " .svn" ,
107
+ " .tox" ,
108
+ " .venv" ,
109
+ " .vscode" ,
110
+ " __pypackages__" ,
111
+ " _build" ,
112
+ " buck-out" ,
113
+ " build" ,
114
+ " dist" ,
115
+ " node_modules" ,
116
+ " site-packages" ,
117
+ " venv" ,
118
+ " nbs"
119
+ ]
120
+
121
+ [tool .ruff .format ]
122
+ docstring-code-format = true
123
+ quote-style = " double"
124
+ indent-style = " space"
125
+ skip-magic-trailing-comma = false
126
+ line-ending = " auto"
127
+
128
+ [tool .ruff .lint ]
129
+ select = [
130
+ " E" ,
131
+ " F" ,
132
+ " UP" ,
133
+ " B" ,
134
+ " SIM" ,
135
+ " I" ,
136
+ " ARG" ,
137
+ " W291" ,
138
+ " PIE" ,
139
+ " Q"
140
+ ]
0 commit comments