1{
2 lib,
3 buildPythonPackage,
4 dnspython,
5 fetchFromGitHub,
6 loguru,
7 numpy,
8 poetry-core,
9 python-dateutil,
10 pythonOlder,
11 pyyaml,
12 requests,
13 setuptools,
14 tqdm,
15 typing-extensions,
16 pinecone-plugin-assistant,
17 pinecone-plugin-interface,
18 urllib3,
19}:
20
21buildPythonPackage rec {
22 pname = "pinecone-client";
23 version = "7.3.0";
24 pyproject = true;
25
26 disabled = pythonOlder "3.8";
27
28 src = fetchFromGitHub {
29 owner = "pinecone-io";
30 repo = "pinecone-python-client";
31 tag = "v${version}";
32 hash = "sha256-PT8Jr3sq5iZ9VFt6H6t4lLk72FXnHdyPUbcNGftg4QU=";
33 };
34
35 build-system = [
36 setuptools
37 poetry-core
38 ];
39
40 dependencies = [
41 dnspython
42 loguru
43 numpy
44 python-dateutil
45 pinecone-plugin-assistant
46 pinecone-plugin-interface
47 pyyaml
48 requests
49 tqdm
50 typing-extensions
51 urllib3
52 ];
53
54 pythonImportsCheck = [ "pinecone" ];
55
56 meta = {
57 description = "Pinecone python client";
58 homepage = "https://www.pinecone.io/";
59 changelog = "https://github.com/pinecone-io/pinecone-python-client/releases/tag/${src.tag}";
60 license = lib.licenses.mit;
61 maintainers = with lib.maintainers; [ happysalada ];
62 };
63}