diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4a5297e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Notes.org diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..d13b774 --- /dev/null +++ b/default.nix @@ -0,0 +1,5 @@ +{ pkgs ? import { } }: + +with pkgs; + +poetry2nix.mkPoetryApplication { projectDir = ./.; } diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a21a4de --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,20 @@ +[tool.poetry] +name = "p3" +version = "0.1.0" +description = "" +authors = ["coolneng "] + +[tool.poetry.dependencies] +python = "^3.8" +scikit-learn = "^0.24.0" +pandas = "^1.2.0" +imbalanced-learn = "^0.7.0" + +[tool.poetry.dev-dependencies] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry.scripts] +competition = "processing:main" diff --git a/shell.nix b/shell.nix index 81c823e..39bb4fd 100644 --- a/shell.nix +++ b/shell.nix @@ -1,9 +1,5 @@ -{ pkgs ? import {} }: +{ pkgs ? import { } }: with pkgs; -mkShell { - buildInputs = [ - - ]; -} +mkShell { buildInputs = [ python38 poetry ]; }