fotolab 0.16.5__py2.py3-none-any.whl → 0.16.11__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fotolab/__init__.py +1 -1
- fotolab/cli.py +1 -0
- {fotolab-0.16.5.dist-info → fotolab-0.16.11.dist-info}/METADATA +50 -2
- {fotolab-0.16.5.dist-info → fotolab-0.16.11.dist-info}/RECORD +7 -7
- {fotolab-0.16.5.dist-info → fotolab-0.16.11.dist-info}/LICENSE.md +0 -0
- {fotolab-0.16.5.dist-info → fotolab-0.16.11.dist-info}/WHEEL +0 -0
- {fotolab-0.16.5.dist-info → fotolab-0.16.11.dist-info}/entry_points.txt +0 -0
fotolab/__init__.py
CHANGED
fotolab/cli.py
CHANGED
@@ -68,6 +68,7 @@ def setup_logging(args: argparse.Namespace) -> None:
|
|
68
68
|
def build_parser() -> argparse.ArgumentParser:
|
69
69
|
"""Build the CLI parser."""
|
70
70
|
parser = argparse.ArgumentParser(
|
71
|
+
prog="fotolab",
|
71
72
|
description=__doc__,
|
72
73
|
formatter_class=lambda prog: argparse.RawTextHelpFormatter(
|
73
74
|
prog, max_help_position=20
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fotolab
|
3
|
-
Version: 0.16.
|
3
|
+
Version: 0.16.11
|
4
4
|
Summary: A console program that manipulate images.
|
5
5
|
Keywords: photography,photo
|
6
6
|
Author-email: Kian-Meng Ang <kianmeng@cpan.org>
|
@@ -56,6 +56,8 @@ python -m pip install -e git+https://github.com/kianmeng/fotolab.git
|
|
56
56
|
fotolab -h
|
57
57
|
```
|
58
58
|
|
59
|
+
<!--help !-->
|
60
|
+
|
59
61
|
```console
|
60
62
|
usage: fotolab [-h] [-o] [-op] [-od OUTPUT_DIR] [-q] [-v] [-d] [-V]
|
61
63
|
{animate,auto,border,contrast,info,resize,rotate,montage,sharpen,watermark,env}
|
@@ -82,7 +84,7 @@ positional arguments:
|
|
82
84
|
watermark watermark an image
|
83
85
|
env print environment information for bug reporting
|
84
86
|
|
85
|
-
|
87
|
+
options:
|
86
88
|
-h, --help show this help message and exit
|
87
89
|
-o, --overwrite overwrite existing image
|
88
90
|
-op, --open open the image using default program (default: 'False')
|
@@ -94,12 +96,16 @@ optional arguments:
|
|
94
96
|
-V, --version show program's version number and exit
|
95
97
|
```
|
96
98
|
|
99
|
+
<!--help !-->
|
100
|
+
|
97
101
|
### fotolab animate
|
98
102
|
|
99
103
|
```console
|
100
104
|
fotolab animate -h
|
101
105
|
```
|
102
106
|
|
107
|
+
<!--help-animate !-->
|
108
|
+
|
103
109
|
```console
|
104
110
|
usage: fotolab animate [-h] [-f FORMAT] [-d DURATION] [-l LOOP]
|
105
111
|
IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
@@ -116,12 +122,16 @@ optional arguments:
|
|
116
122
|
-l LOOP, --loop LOOP set the loop cycle (default: '0')
|
117
123
|
```
|
118
124
|
|
125
|
+
<!--help-animate !-->
|
126
|
+
|
119
127
|
### fotolab auto
|
120
128
|
|
121
129
|
```console
|
122
130
|
fotolab auto -h
|
123
131
|
```
|
124
132
|
|
133
|
+
<!--help-auto !-->
|
134
|
+
|
125
135
|
```console
|
126
136
|
usage: fotolab auto [-h] IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
127
137
|
|
@@ -132,12 +142,16 @@ optional arguments:
|
|
132
142
|
-h, --help show this help message and exit
|
133
143
|
```
|
134
144
|
|
145
|
+
<!--help-auto !-->
|
146
|
+
|
135
147
|
### fotolab border
|
136
148
|
|
137
149
|
```console
|
138
150
|
fotolab border -h
|
139
151
|
```
|
140
152
|
|
153
|
+
<!--help-border !-->
|
154
|
+
|
141
155
|
```console
|
142
156
|
usage: fotolab border [-h] [-c COLOR] [-w WIDTH] [-wt WIDTH] [-wr WIDTH]
|
143
157
|
[-wb WIDTH] [-wl WIDTH]
|
@@ -162,12 +176,16 @@ optional arguments:
|
|
162
176
|
set the width of left border (default: '0')
|
163
177
|
```
|
164
178
|
|
179
|
+
<!--help-border !-->
|
180
|
+
|
165
181
|
### fotolab contrast
|
166
182
|
|
167
183
|
```console
|
168
184
|
fotolab contrast -h
|
169
185
|
```
|
170
186
|
|
187
|
+
<!--help-contrast !-->
|
188
|
+
|
171
189
|
```console
|
172
190
|
usage: fotolab contrast [-h] [-c CUTOFF] IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
173
191
|
|
@@ -181,12 +199,16 @@ optional arguments:
|
|
181
199
|
discard from histogram (default: '1')
|
182
200
|
```
|
183
201
|
|
202
|
+
<!--help-contrast !-->
|
203
|
+
|
184
204
|
### fotolab info
|
185
205
|
|
186
206
|
```console
|
187
207
|
fotolab info -h
|
188
208
|
```
|
189
209
|
|
210
|
+
<!--help-info !-->
|
211
|
+
|
190
212
|
```console
|
191
213
|
usage: fotolab info [-h] IMAGE_FILENAME
|
192
214
|
|
@@ -197,12 +219,16 @@ optional arguments:
|
|
197
219
|
-h, --help show this help message and exit
|
198
220
|
```
|
199
221
|
|
222
|
+
<!--help-info !-->
|
223
|
+
|
200
224
|
### fotolab rotate
|
201
225
|
|
202
226
|
```console
|
203
227
|
fotolab rotate -h
|
204
228
|
```
|
205
229
|
|
230
|
+
<!--help-rotate !-->
|
231
|
+
|
206
232
|
```console
|
207
233
|
usage: fotolab rotate [-h] IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
208
234
|
|
@@ -213,12 +239,16 @@ optional arguments:
|
|
213
239
|
-h, --help show this help message and exit
|
214
240
|
```
|
215
241
|
|
242
|
+
<!--help-rotate !-->
|
243
|
+
|
216
244
|
### fotolab montage
|
217
245
|
|
218
246
|
```console
|
219
247
|
fotolab montage -h
|
220
248
|
```
|
221
249
|
|
250
|
+
<!--help-montage !-->
|
251
|
+
|
222
252
|
```console
|
223
253
|
usage: fotolab montage [-h] IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
224
254
|
|
@@ -229,12 +259,16 @@ optional arguments:
|
|
229
259
|
-h, --help show this help message and exit
|
230
260
|
```
|
231
261
|
|
262
|
+
<!--help-montage !-->
|
263
|
+
|
232
264
|
### fotolab resize
|
233
265
|
|
234
266
|
```console
|
235
267
|
fotolab resize -h
|
236
268
|
```
|
237
269
|
|
270
|
+
<!--help-resize !-->
|
271
|
+
|
238
272
|
```console
|
239
273
|
usage: fotolab resize [-h] [-wh WIDTH | -ht HEIGHT]
|
240
274
|
IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
@@ -250,12 +284,16 @@ optional arguments:
|
|
250
284
|
set the height of the image (default: '277')
|
251
285
|
```
|
252
286
|
|
287
|
+
<!--help-resize !-->
|
288
|
+
|
253
289
|
### fotolab sharpen
|
254
290
|
|
255
291
|
```console
|
256
292
|
fotolab sharpen -h
|
257
293
|
```
|
258
294
|
|
295
|
+
<!--help-sharpen !-->
|
296
|
+
|
259
297
|
```console
|
260
298
|
usage: fotolab sharpen [-h] [-r RADIUS] [-p PERCENT] [-t THRESHOLD]
|
261
299
|
IMAGE_FILENAMES [IMAGE_FILENAMES ...]
|
@@ -275,12 +313,16 @@ optional arguments:
|
|
275
313
|
(default: '3')
|
276
314
|
```
|
277
315
|
|
316
|
+
<!--help-sharpen !-->
|
317
|
+
|
278
318
|
### fotolab watermark
|
279
319
|
|
280
320
|
```console
|
281
321
|
fotolab watermark -h
|
282
322
|
```
|
283
323
|
|
324
|
+
<!--help-watermark !-->
|
325
|
+
|
284
326
|
```console
|
285
327
|
usage: fotolab watermark [-h] [-t WATERMARK_TEXT]
|
286
328
|
[-p {top-left,top-right,bottom-left,bottom-right}]
|
@@ -314,12 +356,16 @@ optional arguments:
|
|
314
356
|
'black')
|
315
357
|
```
|
316
358
|
|
359
|
+
<!--help-watermark !-->
|
360
|
+
|
317
361
|
### fotolab env
|
318
362
|
|
319
363
|
```console
|
320
364
|
fotolab env -h
|
321
365
|
```
|
322
366
|
|
367
|
+
<!--help-env !-->
|
368
|
+
|
323
369
|
```console
|
324
370
|
usage: fotolab env [-h]
|
325
371
|
|
@@ -327,6 +373,8 @@ options:
|
|
327
373
|
-h, --help show this help message and exit
|
328
374
|
```
|
329
375
|
|
376
|
+
<!--help-env !-->
|
377
|
+
|
330
378
|
## Copyright and License
|
331
379
|
|
332
380
|
Copyright (C) 2024 Kian-Meng Ang
|
@@ -1,9 +1,9 @@
|
|
1
|
-
fotolab/__init__.py,sha256=
|
1
|
+
fotolab/__init__.py,sha256=ws6rH_ebFMRrVcs19YfwQMC3uWdwEb3vkfRuHcv4AhY,2062
|
2
2
|
fotolab/__main__.py,sha256=aboOURPs_snOXTEWYR0q8oq1UTY9e-NxCd1j33V0wHI,833
|
3
3
|
fotolab/animate.py,sha256=ejimhTozo9DN7BbqqcV4x8zLnanZRKq1pxBBFeOdr6Q,2967
|
4
4
|
fotolab/auto.py,sha256=1Toxe8pA_tq15g1-imMFuHf1L94Ac7EthPTu7E8SAzE,2217
|
5
5
|
fotolab/border.py,sha256=5ch2d7LVPhB2OFuuXSW5ci6Cn967CPDQu0qSfaO7uMg,3591
|
6
|
-
fotolab/cli.py,sha256=
|
6
|
+
fotolab/cli.py,sha256=XENJqvvMxOTHVYfch8gZJhkzGxhex0LUAe75ISNNWPo,5032
|
7
7
|
fotolab/contrast.py,sha256=l7Bs5p8W8ypN9Cg3fFHnU-A20UwMKtjTiPk6D0PRwpM,2095
|
8
8
|
fotolab/env.py,sha256=NTTvfISWBBfIw5opWrUfg0BtkaAtdUtcISBAJC2gVUk,1449
|
9
9
|
fotolab/info.py,sha256=DawXTQJiQDBwy0Ml5Ysk8MvKga3ikp_aIw73AR3LdZo,1687
|
@@ -12,8 +12,8 @@ fotolab/resize.py,sha256=cvPfh4wUfydM23Do7VnP6Bx2EqMHKfYFYrpiNhyWzCU,3259
|
|
12
12
|
fotolab/rotate.py,sha256=l_vQgf0IcI8AR1TSVsk4PrMZtJ3j_wpU77rKiGJ-KTA,1715
|
13
13
|
fotolab/sharpen.py,sha256=wUPtJdtB6mCRmcHrA0CoEVO0O0ROBJWhejTvUeL67QU,2655
|
14
14
|
fotolab/watermark.py,sha256=JnCIB--WZ2COG1BNrFY14GaWznz7BqBlwOVz4uW8H3Q,6546
|
15
|
-
fotolab-0.16.
|
16
|
-
fotolab-0.16.
|
17
|
-
fotolab-0.16.
|
18
|
-
fotolab-0.16.
|
19
|
-
fotolab-0.16.
|
15
|
+
fotolab-0.16.11.dist-info/entry_points.txt,sha256=mvw7AY_yZkIyjAxPtHNed9X99NZeLnMxEeAfEJUbrCM,44
|
16
|
+
fotolab-0.16.11.dist-info/LICENSE.md,sha256=tGtFDwxWTjuR9syrJoSv1Hiffd2u8Tu8cYClfrXS_YU,31956
|
17
|
+
fotolab-0.16.11.dist-info/WHEEL,sha256=Sgu64hAMa6g5FdzHxXv9Xdse9yxpGGMeagVtPMWpJQY,99
|
18
|
+
fotolab-0.16.11.dist-info/METADATA,sha256=FQb3uvY2CJ3K_-lsYgite22ZHh45j21tRWuL7uXfUGk,10659
|
19
|
+
fotolab-0.16.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|