-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python312Packages.kalshi-python: init at 2.0.0
Signed-off-by: Robbie Buxton <robbiesbuxton@gmail.com>
- Loading branch information
1 parent
b54a912
commit 37ce067
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters