3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.langchainplus-sdk: init at 0.0.6

This commit is contained in:
natsukium 2023-06-08 01:32:52 +09:00 committed by Yt
parent b9e05544c9
commit e60f893ad4
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, pydantic
, pythonOlder
, requests
, tenacity
}:
buildPythonPackage rec {
pname = "langchainplus-sdk";
version = "0.0.6";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "langchainplus_sdk";
hash = "sha256-yRGpj9LQK6pI90K31wD9alXxHJpUXuXWawiCWUDJoy4=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
pydantic
requests
tenacity
];
# upstrem has no tests
doCheck = false;
pythonImportsCheck = [
"langchainplus_sdk"
];
meta = {
description = "Client library to connect to the LangChainPlus LLM Tracing and Evaluation Platform";
homepage = "https://pypi.org/project/langchainplus-sdk/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ natsukium ];
};
}

View file

@ -5518,6 +5518,8 @@ self: super: with self; {
langchain = callPackage ../development/python-modules/langchain { };
langchainplus-sdk = callPackage ../development/python-modules/langchainplus-sdk { };
langcodes = callPackage ../development/python-modules/langcodes { };
langdetect = callPackage ../development/python-modules/langdetect { };