python3Packages.openinference-semantic-conventions: init at 0.1.30
OpenTelemetry Semantic Conventions for AI Observability https://github.com/Arize-ai/openinference
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
nix-update-script,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "openinference-semantic-conventions";
|
||||
version = "0.1.30";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arize-ai";
|
||||
repo = "openinference";
|
||||
tag = "python-openinference-semantic-conventions-v${finalAttrs.version}";
|
||||
hash = "sha256-MkgajZknHOw4/qra6uZ99rtpiylpHhOj8tDfLGUSU74=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/python/${finalAttrs.pname}";
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "openinference.semconv" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "OpenTelemetry Semantic Conventions for AI Observability";
|
||||
homepage = "https://github.com/Arize-ai/openinference";
|
||||
changelog = "https://github.com/Arize-ai/openinference/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -11834,6 +11834,10 @@ self: super: with self; {
|
||||
}
|
||||
);
|
||||
|
||||
openinference-semantic-conventions =
|
||||
callPackage ../development/python-modules/openinference-semantic-conventions
|
||||
{ };
|
||||
|
||||
openmm = toPythonModule (
|
||||
pkgs.openmm.override {
|
||||
python3Packages = self;
|
||||
|
||||
Reference in New Issue
Block a user