-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (83 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
99 lines (83 loc) · 2.48 KB
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
# pyproject.toml
[build-system]
requires = [
"scikit-build-core>=0.9.0",
"setuptools>=67",
"wheel>=0.44.0",
"pybind11>=2.10",
"grpcio-tools",
"cmake==3.27.0",
]
build-backend = "scikit_build_core.build"
[project]
name = "pyenvector"
version = "1.4.2"
description = "Python SDK for enVector: encrypted vector search powered by homomorphic encryption"
authors = [
{name = "CryptoLab Inc.", email = "pypi@cryptolab.co.kr"}
]
readme = "README_pypi.md"
requires-python = ">=3.9,<3.14"
dependencies = [
"grpcio>=1.49.1,<=1.74.0",
"grpcio-health-checking>=1.49.1,<=1.74.0",
"protobuf>=5.0.0,<6.0.0",
"googleapis-common-protos>=1.56.0",
"loguru",
"numpy>=2.0.2",
"tqdm",
"cryptography",
"threadpoolctl>=3.1.0",
"boto3>=1.34.0",
"google-cloud-secret-manager>=2.18.0",
"google-cloud-storage>=2.14.0",
]
license = {text = "Proprietary"}
classifiers = [
"License :: Other/Proprietary License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security :: Cryptography",
]
# Public repo URLs -- these appear on PyPI. Do not change to -private.
[project.urls]
Homepage = "https://envector.io"
Documentation = "https://docs.envector.io"
Repository = "https://github.com/CryptoLabInc/envector-python-sdk"
"Bug Tracker" = "https://github.com/CryptoLabInc/envector-python-sdk/issues"
[project.scripts]
pyenvector-keygen = "pyenvector.cli.pyenvector_keygen:main"
[project.optional-dependencies]
colab = [
"numpy==2.0.2" # Compatible with Colab
]
[tool.scikit-build]
cmake.source-dir = "./external/evi-crypto"
cmake.version = ">=3.19"
# macOS deployment target for Apple Silicon compatibility
cmake.define.MACOSX_DEPLOYMENT_TARGET = "11.0"
cmake.args = [
"-DBUILD_PYTHON=ON",
]
wheel.packages = ["pyenvector"]
wheel.install-dir = "evi"
[tool.ruff]
line-length = 120
extend-exclude = [
# Exclude generated protobuf/grpc Python files from lint/format
"pyenvector/proto_gen/**",
]
[tool.ruff.lint]
select = ["E", "F", "I"]
per-file-ignores = { "__init__.py" = ["E402", "F401", "F403"] }
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "lf"