python3Packages.marqo: init at 3.11.0 (#335519)

authored by Arne Keller and committed by GitHub c53157f3 b35afb8c

+87
+7
maintainers/maintainer-list.nix
··· 16522 16522 githubId = 56316606; 16523 16523 name = "Amneesh Singh"; 16524 16524 }; 16525 + naufik = { 16526 + email = "naufal@naufik.net"; 16527 + github = "naufik"; 16528 + githubId = 8577904; 16529 + name = "Naufal Fikri"; 16530 + keys = [ { fingerprint = "1575 D651 E31EC 6117A CF0AA C1A3B 8BBC A515 8835"; } ]; 16531 + }; 16525 16532 naxdy = { 16526 16533 name = "Naxdy"; 16527 16534 email = "naxdy@naxdy.org";
+78
pkgs/development/python-modules/marqo/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pytestCheckHook, 6 + setuptools, 7 + requests, 8 + packaging, 9 + pydantic, 10 + typing-extensions, 11 + requests-mock, 12 + }: 13 + 14 + buildPythonPackage rec { 15 + name = "marqo"; 16 + version = "3.11.0"; 17 + pyproject = true; 18 + 19 + src = fetchFromGitHub { 20 + owner = "marqo-ai"; 21 + repo = "py-marqo"; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-8BcYJZ7tXkuvtQzopZO9bvLXAJQdd8MnQflVTawTaw0="; 24 + }; 25 + 26 + build-system = [ setuptools ]; 27 + 28 + nativeCheckInputs = [ 29 + pytestCheckHook 30 + requests-mock 31 + typing-extensions 32 + ]; 33 + 34 + disabledTestPaths = [ 35 + # Tests require network 36 + "tests/v2_tests/test_tensor_search.py" 37 + "tests/v2_tests/test_client.py" 38 + "tests/v2_tests/test_get_settings.py" 39 + "tests/v2_tests/test_tensor_search.py" 40 + "tests/v2_tests/test_add_documents.py" 41 + "tests/v2_tests/test_delete_documents.py" 42 + "tests/v2_tests/test_demos.py" 43 + "tests/v2_tests/test_custom_vector_search.py" 44 + "tests/v2_tests/test_create_index.py" 45 + "tests/v2_tests/test_image_chunking.py" 46 + "tests/v2_tests/test_telemetry.py" 47 + "tests/v2_tests/test_score_modifier_search.py" 48 + "tests/v2_tests/test_model_cache_management.py" 49 + "tests/v2_tests/test_embed.py" 50 + "tests/v2_tests/test_index_init_logging.py" 51 + "tests/v2_tests/test_marqo_cloud_instance_mapping.py" 52 + "tests/v2_tests/test_index_manipulation_features.py" 53 + "tests/v2_tests/test_index.py" 54 + "tests/v2_tests/test_get_indexes.py" 55 + "tests/v2_tests/test_hybrid_search.py" 56 + "tests/v2_tests/test_logging.py" 57 + "tests/v2_tests/test_recommend.py" 58 + ]; 59 + 60 + dependencies = [ 61 + packaging 62 + pydantic 63 + requests 64 + 65 + ]; 66 + 67 + pythonRemoveDeps = [ "urllib3" ]; 68 + 69 + pythonImportsCheck = [ "marqo" ]; 70 + 71 + meta = with lib; { 72 + description = "Unified embedding generation and search engine"; 73 + homepage = "https://marqo.ai"; 74 + changelog = "https://github.com/marqo-ai/py-marqo/releases/tag/${version}"; 75 + license = licenses.asl20; 76 + maintainers = with maintainers; [ naufik ]; 77 + }; 78 + }
+2
pkgs/top-level/python-packages.nix
··· 8113 8113 8114 8114 markups = callPackage ../development/python-modules/markups { }; 8115 8115 8116 + marqo = callPackage ../development/python-modules/marqo { }; 8117 + 8116 8118 marshmallow = callPackage ../development/python-modules/marshmallow { }; 8117 8119 8118 8120 marshmallow-dataclass = callPackage ../development/python-modules/marshmallow-dataclass { };