-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
165 lines (147 loc) · 5.02 KB
/
pyproject.toml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
[tool.poetry]
name = "encord-active"
version = "v0.1.83"
description = "Enable users to improve machine learning models in an active learning fashion via data, label, and model quality."
authors = ["Cord Technologies Limited <[email protected]>"]
classifiers = [
"Environment :: Console",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
]
documentation = "https://docs.encord.com/docs/active-overview"
homepage = "https://encord.com/encord-active/"
keywords = [
"encord",
"active",
"machine",
"learning",
"data",
"label",
"model",
"quality",
"test",
]
readme = "README.md"
repository = "https://github.com/encord-team/encord-active"
include = [".env", "src/encord_active/frontend/dist/**/*"]
exclude = [
"src/encord_active/frontend/*.json",
"src/encord_active/frontend/.*",
"src/encord_active/frontend/*.html",
"src/encord_active/frontend/*.ts",
"src/encord_active/frontend/*.cjs",
"src/encord_active/frontend/assets/**/*",
"src/encord_active/frontend/public/**/*",
"src/encord_active/frontend/src/**/*",
"src/encord_active/frontend/node_modules/**/*"
]
packages = [{ include = "encord_active", from = "src" }]
license = "Apache-2.0"
[tool.poetry.scripts]
encord-active = "encord_active.cli.main:cli"
[tool.poetry.dependencies]
python = ">=3.9,<3.9.7 || >3.9.7,<3.12"
encord = ">=0.1.95,<0.1.115"
numpy = ">=1.23.5,<1.24.0"
opencv-python = "4.5.5.64"
natsort = "^8.1.0"
pandas = "^1.4.3"
shapely = "^1.7.0"
watchdog = "^2.1.9"
matplotlib = "^3.5.3"
scikit-learn = "^1.0.1"
scipy = "1.10.1"
av = "^10.0.0"
pytz = "^2022.2.1"
types-pytz = "^2022.2.1"
plotly = "^5.10.0"
termcolor = "^2.0.1"
loguru = "^0.6.0"
python-dotenv = "^0.21.0"
typer = "^0.6.1"
rich = "^12.6.0"
PyYAML = "^6.0"
toml = "^0.10.2"
pydantic = "^1.10.2"
pycocotools = { version = "^2.0.6", optional = true }
psutil = "^5.9.4"
pandera = { extras = ["mypy"], version = "^0.15.1" }
jupyterlab = { version = "^3.5.2", optional = true }
ipywidgets = { version = "^8.0.4", optional = true }
inquirerpy = "^0.3.4"
umap-learn = "^0.5.3"
llvmlite = "^0.40.0" # Pinning, as lower versions conflict with other libs
prisma = "^0.8.2"
fastapi = "^0.95.2"
uvicorn = { extras = ["standard"], version = "^0.21.1" }
nodejs-bin = "^16.15.1a4"
pyjwt = "^2.7.0"
torch = "^2.0.0"
clip-ea = "^1.0"
torchvision = "^0.15.2"
ftfy = "^6.1.1"
regex = "^2023.5.5"
poethepoet = "^0.16.5"
orjson = "^3.9.0"
sqlmodel = "^0.0.8"
alembic = "^1.11.1"
cachetools = "^5.3.1"
types-cachetools = "^5.3.0.6"
python-multipart = "^0.0.6"
[tool.poetry.extras]
coco = ["pycocotools"]
notebooks = ["jupyterlab", "ipywidgets"]
[tool.poetry.dev-dependencies]
pytest = "^5.2"
black = "^22.6.0"
isort = "^5.10.1"
pre-commit = "^2.16.0"
mypy = "^0.981"
pylint = "^2.14.5"
types-requests = "^2.28.8"
types-PyYAML = "^6.0.12"
ipython = "^8.5.0"
tabulate = "^0.9.0"
types-tabulate = "^0.8.5"
ipdb = "^0.13.9"
types-toml = "^0.10.8"
tuna = "^0.5.11"
jupyter = "^1.0.0"
pyinstrument = "^4.5.0"
[tool.poe.tasks]
importtime = { shell = "python -X importtime -c 'import encord_active.cli.main' 2> imports.prof && python -m tuna imports.prof" }
torch-linux = 'python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu'
[tool.prisma]
use_global_node = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py39']
include = '.*\/.*\.i?py(nb)?$'
[tool.isort]
profile = "black"
[tool.mypy]
plugins = "pandera.mypy"
ignore_missing_imports = true
enable_recursive_aliases = true
exclude = ['examples/', "./src/encord_active/db/migrations/.*"]
[tool.pylint.'MASTER']
extension-pkg-allow-list = "cv2"
ignore-paths = ['^examples/.*', "src/encord_active/db/migrations.*"]
[tool.pylint.'TYPING']
generated-members = "torch.*, cv2"
[tool.pylint.'MESSAGES CONTROL']
max-line-length = 120
disable = "all"
enable = "C0123, C0200, C0209, E0001, E0011, E0012, E0013, E0014, E0100, E0101, E0102, E0103, E0104,E0105,E0106,E0107,E0108,E0110,E0111,E0112,E0113,E0114,E0115,E0116,E0117,E0118,E0119,E0202,E0203,E0211,E0213,E0236,E0237,E0238,E0239,E0240,E0241,E0242,E0243,E0244,E0301,E0302,E0303,E0304,E0305,E0306,E0307,E0308,E0309,E0310,E0311,E0312,E0313,E0402,E0601,E0602,E0602,E0603,E0604,E0605,E0633,E0643,E0701,E0702,E0703,E0704,E0710,E0711,E0712,E1003,E1101,E1101,E1111,E1120,E1121,E1123,E1124,E1125,E1126,E1127,E1128,E1129,E1130,E1131,E1132,E1133,E1134,E1135,E1136,E1137,E1138,E1139,E1140,E1141,E1142,E1200,E1201,E1205,E1205,E1206,E1300,E1301,E1302,E1303,E1304,E1305,E1306,E1307,E1310,E1507,E1700,E1701,E2501,E2502,E2510,E2511,E2512,E2513,E2514,E2515,E4702,E4703,W0611,W0621,W1309,W1404,W1514"