python3Packages.aistore: init at 1.25.0
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
braceexpand,
|
||||
cloudpickle,
|
||||
humanize,
|
||||
msgspec,
|
||||
overrides,
|
||||
packaging,
|
||||
pydantic,
|
||||
python-dateutil,
|
||||
pyyaml,
|
||||
requests,
|
||||
tenacity,
|
||||
urllib3,
|
||||
xxhash,
|
||||
|
||||
# optional-dependencies
|
||||
# botocore:
|
||||
wrapt,
|
||||
# etl:
|
||||
aiofiles,
|
||||
fastapi,
|
||||
flask,
|
||||
gunicorn,
|
||||
httpx,
|
||||
uvicorn,
|
||||
# mcp:
|
||||
mcp,
|
||||
# pytorch:
|
||||
alive-progress,
|
||||
torch,
|
||||
torchdata,
|
||||
webdataset,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aistore";
|
||||
version = "1.25.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
# Tags on GitHub do not match
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-aslNCRSV7QKgvvDuUQPgcbUyUDdGP2kC4ryFu6IVYYE=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
braceexpand
|
||||
cloudpickle
|
||||
humanize
|
||||
msgspec
|
||||
overrides
|
||||
packaging
|
||||
pydantic
|
||||
python-dateutil
|
||||
pyyaml
|
||||
requests
|
||||
tenacity
|
||||
urllib3
|
||||
xxhash
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
botocore = [
|
||||
wrapt
|
||||
];
|
||||
etl = [
|
||||
aiofiles
|
||||
fastapi
|
||||
flask
|
||||
gunicorn
|
||||
httpx
|
||||
uvicorn
|
||||
];
|
||||
mcp = [
|
||||
mcp
|
||||
];
|
||||
pytorch = [
|
||||
alive-progress
|
||||
torch
|
||||
torchdata
|
||||
webdataset
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "aistore" ];
|
||||
|
||||
# No tests in the Pypi archive
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Client-side APIs to access and utilize clusters, buckets, and objects on AIStore";
|
||||
homepage = "https://aistore.nvidia.com";
|
||||
downloadPage = "https://github.com/NVIDIA/aistore/tree/main/python/aistore/sdk";
|
||||
changelog = "https://github.com/NVIDIA/aistore/blob/main/python/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -618,6 +618,8 @@ self: super: with self; {
|
||||
|
||||
airtouch5py = callPackage ../development/python-modules/airtouch5py { };
|
||||
|
||||
aistore = callPackage ../development/python-modules/aistore { };
|
||||
|
||||
aistudio-sdk = callPackage ../development/python-modules/aistudio-sdk { };
|
||||
|
||||
ajpy = callPackage ../development/python-modules/ajpy { };
|
||||
|
||||
Reference in New Issue
Block a user