Skip to content

Commit

Permalink
Add poetry (#193)
Browse files Browse the repository at this point in the history
* added unit testing framework

* added missing newline

* moved around files

* fixed folder name

* added tests

* readded fairgbm

* clean up

* formatting changes

* more cleanup

* added more tests

* updated readme

* added poetry

* Apply suggestions from code review

Co-authored-by: Sérgio Jesus <36162088+sgpjesus@users.noreply.github.com>

* removed old requirements

---------

Co-authored-by: Sérgio Jesus <36162088+sgpjesus@users.noreply.github.com>
  • Loading branch information
valmik-patel and sgpjesus authored Aug 22, 2024
1 parent cd499b2 commit 1e9e723
Show file tree
Hide file tree
Showing 6 changed files with 3,320 additions and 28 deletions.
3,262 changes: 3,262 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
[tool.poetry]
name = "aequitas"
version = "1.0.0"
description = ""
authors = ["None"]
readme = "README.md"
packages = [
{ include = "aequitas", from="src" },
{ include = "aequitas_cli", from="src" },
{ include = "aequitas_webapp", from="src" },
]

[tool.poetry.dependencies]
python = ">=3.8,<4"
matplotlib = ">=3.0.3"
pandas = ">=0.24.1"
pyyaml = ">=5.1"
seaborn = ">=0.9.0"
altair = ">=4.1.0"
millify = "0.1.1"
scipy = ">=0.18.1"
optuna = ">=3.0.0"
aif360 = ">=0.5.0"
fairgbm = "0.9.14"
fairlearn = ">=0.8.0"
hydra-core = ">=1.3.0"
validators = ">=0.22.0"
hyperparameter-tuning = ">=0.3.1"
numpy = "1.23.5"
fastparquet = "2024.2.0"
sqlalchemy = {version = ">=1.1.1", optional = true}
tabulate = {version = "0.8.2", optional = true}
xhtml2pdf = {version = "0.2.15", optional = true}
ohio = {version = ">=0.2.0", optional = true}
markdown2 = {version = "2.3.5", optional = true}
flask = {version = "0.12.2", optional = true}
flask-bootstrap = {version = "3.3.7.1", optional = true}

[tool.poetry.extras]
cli = ["sqlalchemy", "tabulate", "xhtml2pdf", "ohio", "markdown2"]
webapp = ["flask", "flask-bootstrap"]

[tool.poetry.group.dev.dependencies]
argcmdr = "0.6.0"
awsebcli = "3.20.10"
bumpversion = "0.5.3"
flake8 = "3.5.0"
twine = "1.14.0"
pytest = "^8.2.0"
pytest-cov = "^5.0.0"

[[tool.poetry.source]]
name = "pypi-public"
url = "https://pypi.org/simple/"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
5 changes: 0 additions & 5 deletions requirements/cli.txt

This file was deleted.

16 changes: 0 additions & 16 deletions requirements/main.txt

This file was deleted.

5 changes: 0 additions & 5 deletions requirements/management.txt

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/webapp.txt

This file was deleted.

0 comments on commit 1e9e723

Please sign in to comment.