python313Packages.entsoe-apy: init at 0.5.1

Co-authored-by: Sigmanificient <edhyjox@gmail.com>
This commit is contained in:
Jonathan Berrisch
2025-11-10 11:43:09 +01:00
committed by Sigmanificient
co-authored by Sigmanificient
parent df3b829c1a
commit 856a51d463
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,47 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
isodate,
httpx,
loguru,
xsdata-pydantic,
}:
buildPythonPackage rec {
pname = "entsoe-apy";
version = "0.5.1";
src = fetchFromGitHub {
owner = "berrij";
repo = "entsoe-apy";
tag = "v${version}";
hash = "sha256-aOZsD8Cio7TjYHnUlgfgVWLB2+AnDw1J2fTcD8PFioE=";
};
pyproject = true;
build-system = [ setuptools ];
dependencies = [
httpx
loguru
xsdata-pydantic
isodate
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"entsoe"
];
meta = {
description = "Python Package to Query the ENTSO-E API";
homepage = "https://github.com/berrij/entsoe-apy";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ berrij ];
platforms = lib.platforms.all;
};
}
+2
View File
@@ -4784,6 +4784,8 @@ self: super: with self; {
entrypoints = callPackage ../development/python-modules/entrypoints { };
entsoe-apy = callPackage ../development/python-modules/entsoe-apy { };
enturclient = callPackage ../development/python-modules/enturclient { };
env-canada = callPackage ../development/python-modules/env-canada { };