Select Git revision
pyproject.toml
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
pyproject.toml 2.85 KiB
[tool.ruff]
# extend = "$HOME/.config/ruff.toml"
target-version = "py310"
# Set the maximum line length.
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
# Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that
# overlap with the use of a formatter, like Black, but we can override this behavior by
# explicitly adding the rule.
# extend-select = ["E501"]
ignore = ["ANN101", "ANN102", "RET504", "D102", "TD003", "FIX002"]
[tool.ruff.lint.pylint]
max-args = 9
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.poetry]
name = "tdacontextual"
version = "0.1.0"
description = ""
authors = ["Benjamin Matthias Ruppik <bruppikmath@gmail.com>"]
license = "Apache"
readme = "README.md"
[tool.poetry.dependencies] # main dependency group
python = "^3.10"
datasets = "^2.17.1"
deprecation = "^2.1.0"
evaluate = "^0.4.1"
gitpython = "^3.1.42"
giotto-tda = "^0.6.2"
gudhi = "^3.9.0"
h5py = "^3.10.0"
hydra-core = "*"
hydra-colorlog = "^1.2.0"
levenshtein = "^0.25.0"
matplotlib = "^3.8.3"
nltk = "^3.8.1"
pandas = "^2.2.0"
plotly = "^5.20.0"
ripser = "^0.6.8"
sentence-transformers = "^2.0.0"
seqeval = "^1.2.2"
StrEnum = { version = "^0.4", markers = "python_version < '3.11'" }
tensorboard = "^2.16.2"
torch = "2.*"
transformers = "4.*"
zarr = "^2.17.1"
pydantic = "^2.6.4"
tabulate = "^0.9.0"
python-dotenv = "^1.0.1"
seaborn = "^0.13.2"
pot = "^0.9.4"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
hypothesis = "^6.99.13"
pytest = "^8.0.1"
pytest-cov = "*"
ipykernel = "^6.29.3"
[tool.poetry.group.cpu]
optional = true
[tool.poetry.group.cpu.dependencies]
faiss-cpu = "1.7.4"
[tool.poetry.group.gpu]
optional = true
[tool.poetry.group.gpu.dependencies]
faiss-gpu = "*"
gpustat = "^1.1.1"
# This section is for using the PyPI mirror on hilbert (HHU internal)
#
# [[tool.poetry.source]]
# name = "hhu"
# url = "http://pypi.repo.test.hhu.de/simple/"
# priority = "default"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Script entry points for various tasks
[tool.poetry.scripts]
compute_and_save_codensity_from_precomputed_neighborhooods = "tdacontextual.tda.tda_contextual_embeddings.compute_local_estimates.run_compute_and_save_codensity_from_precomputed_neighborhooods:main"
create_fusion_features_from_features_config = "tdacontextual.tda.tda_contextual_embeddings.create_fusion_features_and_align_and_analyse_results.run_create_fusion_features_from_features_config:main"
load_precomputed_features_and_compute_and_save_wasserstein = "tdacontextual.term_extraction.precompute_features.load_precomputed_features.load_precomputed_features_and_compute_and_save_wasserstein:main"
full_training_prediction_evaluation_pipeline_for_single_setup = "tdacontextual.term_extraction.training_prediction_evaluation_pipeline.full_pipeline_script.run_full_pipeline_for_single_setup:main"