Unverified Commit aa9e2532 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

python3Packages.{everett,comet-ml,cometx}: init at {3.4.0,3.49.11,2.3.1} (#419869)

parents 336ee557 d2ff0028
Loading
Loading
Loading
Loading
+73 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  dulwich,
  everett,
  importlib-metadata,
  jsonschema,
  numpy,
  psutil,
  python-box,
  requests,
  requests-toolbelt,
  rich,
  semantic-version,
  sentry-sdk,
  setuptools,
  simplejson,
  urllib3,
  wrapt,
  wurlitzer,
}:

buildPythonPackage rec {
  pname = "comet-ml";
  version = "3.53.0";

  src = fetchPypi {
    pname = "comet_ml";
    inherit version;
    hash = "sha256-KYMe6lDNj5nyXaB0hsk2STwGATkAuRwr8SSzlz3W4tA=";
  };

  pyproject = true;
  build-system = [
    setuptools
  ];

  dependencies = [
    dulwich
    everett
    importlib-metadata
    jsonschema
    numpy
    psutil
    python-box
    requests
    requests-toolbelt
    rich
    semantic-version
    sentry-sdk
    simplejson
    urllib3
    wrapt
    wurlitzer
  ];

  pythonRelaxDeps = [
    "everett"
    "python-box"
  ];

  pythonImportsCheck = [ "comet_ml" ];

  meta = {
    description = "Platform designed to help machine learning teams track, compare, explain, and optimize their models";
    homepage = "https://www.comet.com/site/";
    changelog = "https://www.comet.com/docs/v2/api-and-sdk/python-sdk/releases/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jherland ];
    mainProgram = "comet";
  };
}
+59 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  comet-ml,
  ipython,
  matplotlib,
  numpy,
  requests,
  scipy,
  selenium,
  urllib3,
  zipfile2,
  tqdm,
}:

buildPythonPackage rec {
  pname = "cometx";
  version = "2.6.0";

  pyproject = true;
  build-system = [ setuptools ];

  src = fetchFromGitHub {
    owner = "comet-ml";
    repo = "cometx";
    tag = version;
    hash = "sha256-zlSk3DlrkvPOPCe6gtiXvn65NCw/y5BxCiVmC0GzvFg=";
  };

  dependencies = [
    comet-ml
    ipython
    matplotlib
    numpy
    requests
    scipy
    selenium
    urllib3
    zipfile2
    tqdm
  ];

  # WARNING: Running the tests will create experiments, models, assets, etc.
  # on your Comet account.
  doCheck = false;

  pythonImportsCheck = [ "cometx" ];

  meta = {
    description = "Open source extensions for the Comet SDK";
    homepage = "https://github.com/comet-ml/comet-sdk-extensions/";
    changelog = "https://github.com/comet-ml/cometx/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jherland ];
    mainProgram = "cometx";
  };
}
+45 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  configobj,
  pytestCheckHook,
  pyyaml,
  setuptools,
  sphinx,
}:

buildPythonPackage rec {
  pname = "everett";
  version = "3.4.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "willkg";
    repo = "everett";
    tag = "v${version}";
    hash = "sha256-olYxUbsKaL7C5UTAPwW+EufjbWbbHZdZcQ/lfogNJrg=";
  };

  build-system = [ setuptools ];

  dependencies = [
    configobj
    pyyaml
  ];

  nativeCheckInputs = [
    pytestCheckHook
    sphinx
  ];

  pythonImportsCheck = [ "everett" ];

  meta = {
    description = "Python configuration library for your app";
    homepage = "https://github.com/willkg/everett";
    changelog = "https://github.com/willkg/everett/releases/tag/${version}";
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [ jherland ];
  };
}
+6 −0
Original line number Diff line number Diff line
@@ -2885,8 +2885,12 @@ self: super: with self; {
  colout = callPackage ../development/python-modules/colout { };
  comet-ml = callPackage ../development/python-modules/comet-ml { };
  cometblue-lite = callPackage ../development/python-modules/cometblue-lite { };
  cometx = callPackage ../development/python-modules/cometx { };
  comicapi = callPackage ../development/python-modules/comicapi { };
  comicon = callPackage ../development/python-modules/comicon { };
@@ -4861,6 +4865,8 @@ self: super: with self; {
  events = callPackage ../development/python-modules/events { };
  everett = callPackage ../development/python-modules/everett { };
  evohome-async = callPackage ../development/python-modules/evohome-async { };
  evolutionhttp = callPackage ../development/python-modules/evolutionhttp { };