python312Packages.kalshi-python: init at 2.0.0 (#352048)

This commit is contained in:
OTABI Tomoya 2024-11-19 17:39:29 +09:00 committed by GitHub
commit 6bd0af7a55
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 55 additions and 0 deletions

View File

@ -18830,6 +18830,12 @@
githubId = 6204883;
name = "Longrin Wischnewski";
};
robbiebuxton = {
email = "robbiesbuxton@gmail.com";
github = "robbiebuxton";
githubId = 67549526;
name = "Robbie Buxton";
};
robbinch = {
email = "robbinch33@gmail.com";
github = "robbinch";

View File

@ -0,0 +1,47 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
urllib3,
certifi,
python-dateutil,
six,
}:
buildPythonPackage rec {
pname = "kalshi-python";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "kalshi_python";
hash = "sha256-ybO7O+rxS3rSo6GN/FZC/BhSnlfH5/+TpJkSxhRBYYw=";
};
dependencies = [
urllib3
certifi
python-dateutil
six
];
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"kalshi_python"
];
meta = {
description = "Official python SDK for algorithmic trading on Kalshi.";
homepage = "https://github.com/Kalshi/kalshi-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ robbiebuxton ];
};
}

View File

@ -6808,6 +6808,8 @@ self: super: with self; {
kaleido = callPackage ../development/python-modules/kaleido { };
kalshi-python = callPackage ../development/python-modules/kalshi-python {};
kanidm = callPackage ../development/python-modules/kanidm { };
kaptan = callPackage ../development/python-modules/kaptan { };