-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (57 loc) · 1.91 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
[build-system]
requires = ["setuptools>=69.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "chromacache"
version = "0.0.1"
authors = [
{ name="Mathieu Ciancone", email="[email protected]" },
{ name="Imene Kerboua", email="[email protected]"}
]
description = "A helper tool that simplifies caching embeddings for reusability."
keywords = ["chromadb", "vectorestore", "embeddings", "cache"]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"voyageai>=0.1.6",
"tiktoken>=0.5.2",
"openai>=1.6.1",
"chromadb>=0.5.2",
"python-dotenv>=1.0.1",
"cohere==4.41",
"sentence-transformers==3.0.1",
"mistralai==0.4.1"
]
[project.urls]
Homepage = "https://github.com/Lyon-NLP/chroma_cache"
[project.optional-dependencies]
dev = ["ruff>=0.0.254", "pytest", "pytest-xdist"]
[tool.setuptools.packages.find]
exclude = ["tests", "results"]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = ["F", "I", "E", "D"]
ignore = ["E501", # line too long
"E741", # ambiguous variable name
"F403", # undefined import
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
"D205", # 1 blank line required between summary line and description
"D415", # First line should end with a period
]
ignore-init-module-imports = true
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
suppress-none-returning = true