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