You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation and formatting updates. No functional changes.
helper.py TUPLE_STR_BYTES, while functionally the same, should be str, bytes
constants.py, put DEFAULT_EXECUTABLE into a one-liner so that it's properly documented by AutoAPI
@@ -218,7 +218,7 @@ By default, ExifToolHelper has some **built-in error checking**, making the meth
218
218
219
219
* Example using get_tags() on a list which includes a non-existent file
220
220
221
-
* Using ExifToolHelper.get_tags()
221
+
* ExifToolHelper with error-checking, using :py:meth:`exiftool.ExifToolHelper.get_tags`
222
222
223
223
.. code-block::
224
224
@@ -245,7 +245,7 @@ By default, ExifToolHelper has some **built-in error checking**, making the meth
245
245
exiftool.exceptions.ExifToolExecuteError: execute returned a non-zero exit status: 1
246
246
247
247
248
-
* Using ExifTool.execute_json() (Note how the missing file is silently ignored and doesn't show up in returned list.)
248
+
* ExifTool only, without error checking, using :py:meth:`exiftool.ExifTool.execute_json` (**Note how the missing file is silently ignored and doesn't show up in returned list.**)
249
249
250
250
.. code-block::
251
251
@@ -263,9 +263,9 @@ By default, ExifToolHelper has some **built-in error checking**, making the meth
* Example using get_tags() with a typo. Let's say you wanted to get_tags, but accidentally copy/pasted something and left a ``=`` character behind...
266
+
* Example using :py:meth:`exiftool.ExifToolHelper.get_tags` with a typo. Let's say you wanted to ``get_tags()``, but accidentally copy/pasted something and left a ``=`` character behind (deletes tag rather than getting!)...
267
267
268
-
* Using ExifToolHelper.get_tags()
268
+
* Using :py:meth:`exiftool.ExifToolHelper.get_tags`
269
269
270
270
.. code-block::
271
271
@@ -286,7 +286,7 @@ By default, ExifToolHelper has some **built-in error checking**, making the meth
286
286
raise ExifToolTagNameError(t)
287
287
exiftool.exceptions.ExifToolTagNameError: Invalid Tag Name found: "XMP:Subject=hi"
288
288
289
-
* Using ExifTool.execute_json(). It still errors out, but more cryptic
289
+
* Using :py:meth:`exiftool.ExifTool.execute_json`. It still raises an exception, but more cryptic and difficult to debug
290
290
291
291
.. code-block::
292
292
@@ -305,7 +305,7 @@ By default, ExifToolHelper has some **built-in error checking**, making the meth
Copy file name to clipboardExpand all lines: docs/source/intro.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ What PyExifTool Is NOT
38
38
Nomenclature
39
39
============
40
40
41
-
PyExifTool's namespace is *exiftool*. While naming the library the same name of the tool it's meant to interface with, it can cause some ambiguity when describing it in docs.
41
+
PyExifTool's namespace is *exiftool*. Since library name the same name of the tool it's meant to interface with, it can cause some ambiguity when describing it in docs.
42
42
Hence, here's some common nomenclature used.
43
43
44
44
Because the term `exiftool` is overloaded (lowercase, CapWords case, ...) and can mean several things:
# TODO: this list copy could be expensive if the input is a very huge list. Perhaps in the future have a flag that takes the lists in verbatim without any processing?
0 commit comments