renumSeq 1.4.1__py3-none-any.whl → 2.0.0__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.
- {renumSeq-1.4.1.dist-info → renumSeq-2.0.0.dist-info}/LICENSE +1 -1
- {renumSeq-1.4.1.dist-info → renumSeq-2.0.0.dist-info}/METADATA +16 -7
- renumSeq-2.0.0.dist-info/RECORD +8 -0
- {renumSeq-1.4.1.dist-info → renumSeq-2.0.0.dist-info}/WHEEL +1 -1
- renumseq/__main__.py +8 -7
- renumSeq-1.4.1.dist-info/RECORD +0 -8
- {renumSeq-1.4.1.dist-info → renumSeq-2.0.0.dist-info}/entry_points.txt +0 -0
- {renumSeq-1.4.1.dist-info → renumSeq-2.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: renumSeq
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Tool to renumber image sequences.
|
|
5
5
|
Home-page: https://github.com/jrowellfx/renumSeq
|
|
6
6
|
Author: James Philip Rowell
|
|
@@ -14,8 +14,17 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
14
14
|
Requires-Python: >=3.7, <4
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: seqLister
|
|
18
|
-
Requires-Dist: lsseq
|
|
17
|
+
Requires-Dist: seqLister>=1.2.0
|
|
18
|
+
Requires-Dist: lsseq>=4.0.0
|
|
19
|
+
Dynamic: author
|
|
20
|
+
Dynamic: author-email
|
|
21
|
+
Dynamic: classifier
|
|
22
|
+
Dynamic: description
|
|
23
|
+
Dynamic: description-content-type
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: requires-dist
|
|
26
|
+
Dynamic: requires-python
|
|
27
|
+
Dynamic: summary
|
|
19
28
|
|
|
20
29
|
# About renumseq
|
|
21
30
|
|
|
@@ -48,19 +57,19 @@ there is an option to force `renumseq` to overwrite those files if desired.
|
|
|
48
57
|
`renumseq` doesn't need to make temporary copies of files during the renumbering
|
|
49
58
|
(it does a move of the file), so it's fast.
|
|
50
59
|
|
|
51
|
-
`renumseq` also has a useful option, called `--
|
|
60
|
+
`renumseq` also has a useful option, called `--replace-underscore`
|
|
52
61
|
that changes any underscore-separators (separating the filename from the
|
|
53
62
|
frame-number) with dot-separators, like this:
|
|
54
63
|
|
|
55
64
|
`filename_[n-m].extension` -> `filename.[n-m].extension`
|
|
56
65
|
|
|
57
66
|
`Protip`: If all you want to do is switch the separator from an underscore to a dot, then
|
|
58
|
-
use a zero offset, plus the `--
|
|
67
|
+
use a zero offset, plus the `--replace-underscore` argument.
|
|
59
68
|
|
|
60
69
|
## Installing renumseq
|
|
61
70
|
|
|
62
71
|
```
|
|
63
|
-
python3 -m pip install renumSeq
|
|
72
|
+
python3 -m pip install renumSeq --upgrade
|
|
64
73
|
```
|
|
65
74
|
|
|
66
75
|
## Testing renumseq
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
renumseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
renumseq/__main__.py,sha256=Th2VHRQFAtORHtdksQAFZjhtKujhEJSbs9GqrMpO4AI,25867
|
|
3
|
+
renumSeq-2.0.0.dist-info/LICENSE,sha256=7ssn-dBSkdFTvXKCXb6weBMit69-58B_3P7GA5VBvms,1620
|
|
4
|
+
renumSeq-2.0.0.dist-info/METADATA,sha256=SanOxNCWBOpCAUVoTmNVt2M_CLlRvxZ-IU0nw5lKFvc,3718
|
|
5
|
+
renumSeq-2.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
6
|
+
renumSeq-2.0.0.dist-info/entry_points.txt,sha256=Vu6IBWCxwfVRG3XOZi4ENlMnpe4igvepbHfKy8NGuOY,52
|
|
7
|
+
renumSeq-2.0.0.dist-info/top_level.txt,sha256=N4wzD8IZmW7curkqRcVgXNstK4X3cqZ4K1tVNYsukDI,9
|
|
8
|
+
renumSeq-2.0.0.dist-info/RECORD,,
|
renumseq/__main__.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 3-Clause BSD License
|
|
4
4
|
#
|
|
5
|
-
# Copyright (c) 2008-
|
|
5
|
+
# Copyright (c) 2008-2025, James Philip Rowell,
|
|
6
6
|
# Alpha Eleven Incorporated
|
|
7
7
|
# www.alpha-eleven.com
|
|
8
8
|
# All rights reserved.
|
|
@@ -54,7 +54,7 @@ import glob
|
|
|
54
54
|
# MINOR version for added functionality in a backwards compatible manner
|
|
55
55
|
# PATCH version for backwards compatible bug fixes
|
|
56
56
|
#
|
|
57
|
-
VERSION = "
|
|
57
|
+
VERSION = "2.0.0"
|
|
58
58
|
|
|
59
59
|
PROG_NAME = "renumseq"
|
|
60
60
|
|
|
@@ -63,7 +63,7 @@ EXIT_ERROR = 1 # Internal error other than argparse - currently not u
|
|
|
63
63
|
EXIT_ARGPARSE_ERROR = 2 # The default code that argparse exits with if bad option.
|
|
64
64
|
|
|
65
65
|
# List of date formats accepted to set file times with --touch.
|
|
66
|
-
# They are same as the formats used by 'lsseq --
|
|
66
|
+
# They are same as the formats used by 'lsseq --only-show'.
|
|
67
67
|
#
|
|
68
68
|
# Note: We MUST list %y before %Y in each case below to make sure
|
|
69
69
|
# that, for example, "200731" get's interpreted as July 31, 2020
|
|
@@ -176,7 +176,7 @@ def main():
|
|
|
176
176
|
help="Rename the DESCRIPTIVE_NAME part of SEQ from its existing name to NEW_SEQNAME. \
|
|
177
177
|
When using this option then the command will exit with an error unless \
|
|
178
178
|
exactly one SEQ is being renamed and/or renumbered.")
|
|
179
|
-
p.add_argument("--
|
|
179
|
+
p.add_argument("--replace-underscore", action="store_true",
|
|
180
180
|
dest="fixUnderscore", default=False,
|
|
181
181
|
help="in the case that SEQ uses an underscore ('_') \
|
|
182
182
|
separating the filename from the frame number; then when renumbering \
|
|
@@ -198,7 +198,7 @@ def main():
|
|
|
198
198
|
Note: the default action is to leave \
|
|
199
199
|
the access time of the SEQ unchanged. ")
|
|
200
200
|
|
|
201
|
-
p.add_argument("--
|
|
201
|
+
p.add_argument("--dry-run", action="store_true",
|
|
202
202
|
dest="dryRun", default=False,
|
|
203
203
|
help="Don't renumber SEQ, just display how the \
|
|
204
204
|
files would have been renumbered. Forces --verbose" )
|
|
@@ -312,7 +312,8 @@ def main():
|
|
|
312
312
|
globResult = glob.glob(globPattern)
|
|
313
313
|
|
|
314
314
|
if len(globResult) > 0 :
|
|
315
|
-
|
|
315
|
+
|
|
316
|
+
lsseqCmd = ['lsseq', '--loose-num-separator', '--only-sequences', '--no-error-lists'] + globResult
|
|
316
317
|
lsseqResult = subprocess.run(lsseqCmd, capture_output=True, text=True)
|
|
317
318
|
if len(lsseqResult.stdout) > 0 :
|
|
318
319
|
if not args.silent :
|
|
@@ -555,7 +556,7 @@ def main():
|
|
|
555
556
|
#
|
|
556
557
|
# THIS IS an UNLIKELY OCCURANCE!
|
|
557
558
|
#
|
|
558
|
-
# However users should pay attention to the --
|
|
559
|
+
# However users should pay attention to the --show-bad-padding option of 'lsseq'
|
|
559
560
|
# and if need be, first fix SEQ with 'fixseqpadding' before using this
|
|
560
561
|
# util to get correct results in all circumstances.
|
|
561
562
|
#
|
renumSeq-1.4.1.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
renumseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
renumseq/__main__.py,sha256=gKc1Vepf2nhLTfJAZcdC_nswjXkG0vt-qnihfPYEqgw,25868
|
|
3
|
-
renumSeq-1.4.1.dist-info/LICENSE,sha256=R6fdEb8ZKpCYTdOM-ZNPs2bVjqLdDfUwiDcx1xP0dCk,1620
|
|
4
|
-
renumSeq-1.4.1.dist-info/METADATA,sha256=TJrzwZdbW6_om5pg-csNfOkw_AOaaNEC8ZAK3ePjI4c,3511
|
|
5
|
-
renumSeq-1.4.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
6
|
-
renumSeq-1.4.1.dist-info/entry_points.txt,sha256=Vu6IBWCxwfVRG3XOZi4ENlMnpe4igvepbHfKy8NGuOY,52
|
|
7
|
-
renumSeq-1.4.1.dist-info/top_level.txt,sha256=N4wzD8IZmW7curkqRcVgXNstK4X3cqZ4K1tVNYsukDI,9
|
|
8
|
-
renumSeq-1.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|