summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: b535304334add82cef0d0e501339193f68ed1ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tool.poetry]
name = "text-recognizer"
version = "0.1.0"
authors = ["aktersnurra <gustaf.rydholm@gmail.com>"]
description = "Text recognition software using best pratices in python."
license = "MIT"
readme = "README.md"
homepage = "https://github.com/aktersnurra/text-recognizer"
repository = "https://github.com/aktersnurra/text-recognizer"
keywords = ["text recognizer, deep learning, pytorch"]

[tool.poetry.dependencies]
python = "^3.9"
loguru = "^0.6.0"
omegaconf = "^2.1.0"
einops = "^0.3.0"
hydra-core = "^1.2.0"
smart-open = "^5.2.1"
torch = ">=2.0.0"
torchvision = "^0.15.0"
adan-pytorch = "^0.1.0"
torchmetrics = "^0.9.3"
pytorch-lightning = "^2.0.7"
nvidia-cublas-cu11 = "^11.11.3.6"
nvidia-cuda-cupti-cu11 = "^11.8.87"
nvidia-cuda-nvrtc-cu11 = "^11.8.89"
nvidia-cuda-runtime-cu11 = "^11.8.89"
nvidia-cudnn-cu11 = "^8.9.4.25"
nvidia-cufft-cu11 = "^10.9.0.58"
nvidia-curand-cu11 = "^10.3.0.86"
nvidia-cusolver-cu11 = "^11.4.1.48"
nvidia-cusparse-cu11 = "^11.7.5.86"
nvidia-nccl-cu11 = "^2.18.3"
nvidia-nvtx-cu11 = "^11.8.86"
triton = "^2.0.0.post1"

[tool.poetry.group.dev.dependencies]
pytest = "^5.4.2"
coverage = { extras = ["toml"], version = "^5.1" }
pytest-cov = "^2.9.0"
pytest-mock = "^3.1.0"
flake8 = "^5.0.4"
safety = "^1.9.0"
mypy = "^0.770"
typeguard = "^2.7.1"
wandb = "0.15.8"
scipy = "^1.6.1"
jupyterlab = "^3.0.15"
ipywidgets = "^7.6.3"
torchinfo = "^1.5.3"
jupyter = "^1.0.0"
h5py = "^3.6.0"
matplotlib = "^3.5.1"
boltons = "^20.1.0"
nltk = "^3.6.7"
defusedxml = "^0.7.1"
Pillow = "^9.0.0"
editdistance = "^0.5.3"
torchmetrics = "^0.9.3"
tqdm = "^4.46.1"
toml = "^0.10.1"
setuptools = "59.5.0"
opencv-python = "^4.5.5"
black = "^22.8.0"
click = "^8.1.3"
flake8-annotations = "^2.9.1"
flake8-black = "^0.3.3"
flake8-bugbear = "^22.9.11"
flake8-docstrings = "^1.6.0"
flake8-import-order = "^0.18.1"
flake8-bandit = "^4.1.1"
darglint = "^1.8.1"
hydra-optuna-sweeper = "^1.2.0"

[tool.coverage.report]
fail_under = 50

[tool.isort]
profile = "black"

[tool.ruff]
line-length = 88
select = []

[tool.poetry.scripts]
download-emnist = "text_recognizer.data.emnist:download_emnist"
download-nltk = "text_recognizer.data.utils.sentence_generator:load_nltk_brown_corpus"
generate-emnist-lines = "text_recognizer.data.emnist_lines:generate_emnist_lines"
download-iam = "text_recognizer.data.iam:download_iam"
generate-iam-lines = "text_recognizer.data.iam_lines:generate_iam_lines"
generate-iam-paragraphs = "text_recognizer.data.iam_paragraphs:create_iam_paragraphs"
generate-iam-synthetic-paragraphs = "text_recognizer.data.iam_synthetic_paragraphs:create_synthetic_iam_paragraphs"
show-iam-extended-info = "text_recognizer.data.iam_extended_paragraphs:show_dataset_info"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"