Elffuss BraidHub

kikocis/lancedb public

e822b4e34fb7 · 2.3 KiBRawPermalink
1[project]
2name = "lancedb"
3# version in Cargo.toml
4dependencies = [
5 "deprecation",
6 "pylance==0.18.0",
7 "requests>=2.31.0",
8 "retry>=0.9.2",
9 "tqdm>=4.27.0",
10 "pydantic>=1.10",
11 "attrs>=21.3.0",
12 "packaging",
13 "cachetools",
14 "overrides>=0.7",
15]
16description = "lancedb"
17authors = [{ name = "LanceDB Devs", email = "dev@lancedb.com" }]
18license = { file = "LICENSE" }
19readme = "README.md"
20requires-python = ">=3.9"
21keywords = [
22 "data-format",
23 "data-science",
24 "machine-learning",
25 "arrow",
26 "data-analytics",
27]
28classifiers = [
29 "Development Status :: 3 - Alpha",
30 "Environment :: Console",
31 "Intended Audience :: Science/Research",
32 "License :: OSI Approved :: Apache Software License",
33 "Operating System :: OS Independent",
34 "Programming Language :: Python",
35 "Programming Language :: Python :: 3",
36 "Programming Language :: Python :: 3 :: Only",
37 "Programming Language :: Python :: 3.8",
38 "Programming Language :: Python :: 3.9",
39 "Programming Language :: Python :: 3.10",
40 "Programming Language :: Python :: 3.11",
41 "Programming Language :: Python :: 3.12",
42 "Topic :: Scientific/Engineering",
43]
44
45[project.urls]
46repository = "https://github.com/lancedb/lancedb"
47
48[project.optional-dependencies]
49tests = [
50 "aiohttp",
51 "boto3",
52 "pandas>=1.4",
53 "pytest",
54 "pytest-mock",
55 "pytest-asyncio",
56 "duckdb",
57 "pytz",
58 "polars>=0.19, <=1.3.0",
59 "tantivy",
60]
61dev = ["ruff", "pre-commit"]
62docs = ["mkdocs", "mkdocs-jupyter", "mkdocs-material", "mkdocstrings[python]"]
63clip = ["torch", "pillow", "open-clip"]
64embeddings = [
65 "openai>=1.6.1",
66 "sentence-transformers",
67 "torch",
68 "pillow",
69 "open-clip-torch",
70 "cohere",
71 "huggingface_hub",
72 "InstructorEmbedding",
73 "google.generativeai",
74 "boto3>=1.28.57",
75 "awscli>=1.29.57",
76 "botocore>=1.31.57",
77 "ollama",
78 "ibm-watsonx-ai>=1.1.2",
79]
80azure = ["adlfs>=2024.2.0"]
81
82[tool.maturin]
83python-source = "python"
84module-name = "lancedb._lancedb"
85
86[build-system]
87requires = ["maturin>=1.4"]
88build-backend = "maturin"
89
90[tool.ruff.lint]
91select = ["F", "E", "W", "G", "TCH", "PERF"]
92
93[tool.pytest.ini_options]
94addopts = "--strict-markers --ignore-glob=lancedb/embeddings/*.py"
95markers = [
96 "slow: marks tests as slow (deselect with '-m \"not slow\"')",
97 "asyncio",
98 "s3_test",
99]