@@ -32,25 +32,19 @@ dependencies = [
3232 " pandas >= 1.0.0, < 3.0.0" ,
3333 " click >= 8.0.0, < 8.1.8" ,
3434 " requests >= 2.0.0, < 3.0.0" ,
35- " tabulate >= 0.9.0, < 0.10.0" ,
3635 " tenacity >= 8.0.0, < 9.0.0" ,
3736 " tqdm >= 4.0.0, < 5.0.0" ,
3837 " typeguard >= 4, < 5" ,
3938 " typing-extensions >= 4.1.0, < 5.0.0" ,
4039 " pyparsing >= 3.0.0, < 4.0.0" ,
4140 " websocket-client >= 1.0.0, < 2.0.0" ,
42- " pyyaml >= 6.0, < 7.0" ,
43- " Pillow >=9.0.0, <11.0.0" ,
4441 " cuid >= 0.4, < 0.5" ,
4542 " urllib3 >= 1.26, < 3" ,
46- " ffmpeg-python >= 0.2.0, < 0.3.0" ,
4743 " gql[requests,websockets] >= 3.5.0b5, < 4.0.0" ,
4844 " filelock >= 3.0.0, < 4.0.0" ,
4945 " pip-system-certs >= 4.0.0, < 5.0.0; platform_system=='Windows'" ,
5046 " pyrate-limiter >= 3, < 4" ,
51- " shapely >= 1.8, < 3" ,
52- " pyproj == 3.6.1" ,
53- " kili-formats == 0.1.8"
47+ " kili-formats == 0.2.0"
5448]
5549urls = { homepage = " https://github.com/kili-technology/kili-python-sdk" }
5650
@@ -89,12 +83,57 @@ dev = [
8983 # dead code detection
9084 " vulture==2.11" ,
9185 " dead==1.5.2" ,
92- # other optional dependencies
86+ # optional dependencies
87+ " kili-formats[all] == 0.2.0" ,
9388 " opencv-python >= 4.0.0, < 5.0.0" ,
9489 " azure-storage-blob >= 12.0.0, < 13.0.0" ,
90+ # optional dependencies gis
91+ " pyproj >= 2.6.1, < 3; python_version < '3.9'" ,
92+ " pyproj == 3.6.1; python_version >= '3.9'" ,
93+ " shapely >= 1.8, < 3" ,
94+ # optional dependencies - cli
95+ " tabulate >= 0.9.0, < 0.10.0" ,
96+ # optional dependencies - yolo
97+ " pyyaml >= 6.0, < 7.0" ,
98+ # optional dependencies - image
99+ " Pillow >=9.0.0, <11.0.0"
100+ ]
101+ all = [
102+ # aggregate all optional deps without dev
103+ " azure-storage-blob >= 12.0.0, < 13.0.0" ,
104+ " kili-formats[all] == 0.2.0" ,
105+ " opencv-python >= 4.0.0, < 5.0.0" ,
106+ " Pillow >=9.0.0, <11.0.0" ,
107+ " pyproj == 3.6.1; python_version >= '3.9'" ,
108+ " pyproj >= 2.6.1, < 3; python_version < '3.9'" ,
109+ " pyyaml >= 6.0, < 7.0" ,
110+ " shapely >= 1.8, < 3" ,
111+ " tabulate >= 0.9.0, < 0.10.0"
95112]
96- image-utils = [" opencv-python >= 4.0.0, < 5.0.0" ]
97113azure = [" azure-storage-blob >= 12.0.0, < 13.0.0" ]
114+ cli = [
115+ " tabulate >= 0.9.0, < 0.10.0"
116+ ]
117+ coco = [
118+ " kili-formats[coco] == 0.2.0"
119+ ]
120+ gis = [
121+ " pyproj >= 2.6.1, < 3; python_version < '3.9'" ,
122+ " pyproj == 3.6.1; python_version >= '3.9'" ,
123+ " shapely >= 1.8, < 3"
124+ ]
125+ image = [
126+ " Pillow >=9.0.0, <11.0.0" ,
127+ " kili-formats[image] == 0.2.0"
128+ ]
129+ image-utils = [" opencv-python >= 4.0.0, < 5.0.0" ]
130+
131+ video = [
132+ " kili-formats[video] == 0.2.0"
133+ ]
134+ yolo = [
135+ " pyyaml >= 6.0, < 7.0"
136+ ]
98137
99138[tool .pyright ]
100139exclude = [" **/__pycache__" , " .github/scripts/upload_test_stats_datadog.py" ]
0 commit comments