renumSeq 1.4.2__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.
@@ -1,6 +1,6 @@
1
1
  3-Clause BSD License
2
2
 
3
- Copyright (c) 2008-2022, James Philip Rowell,
3
+ Copyright (c) 2008-2025, James Philip Rowell,
4
4
  Alpha Eleven Incorporated
5
5
  www.alpha-eleven.com
6
6
  All rights reserved.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: renumSeq
3
- Version: 1.4.2
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
@@ -15,7 +15,7 @@ Requires-Python: >=3.7, <4
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: seqLister>=1.2.0
18
- Requires-Dist: lsseq<4.0.0,>=3.0.0
18
+ Requires-Dist: lsseq>=4.0.0
19
19
  Dynamic: author
20
20
  Dynamic: author-email
21
21
  Dynamic: classifier
@@ -57,14 +57,14 @@ there is an option to force `renumseq` to overwrite those files if desired.
57
57
  `renumseq` doesn't need to make temporary copies of files during the renumbering
58
58
  (it does a move of the file), so it's fast.
59
59
 
60
- `renumseq` also has a useful option, called `--replaceUnderscore`
60
+ `renumseq` also has a useful option, called `--replace-underscore`
61
61
  that changes any underscore-separators (separating the filename from the
62
62
  frame-number) with dot-separators, like this:
63
63
 
64
64
  `filename_[n-m].extension` -> `filename.[n-m].extension`
65
65
 
66
66
  `Protip`: If all you want to do is switch the separator from an underscore to a dot, then
67
- use a zero offset, plus the `--replaceUnderscore` argument.
67
+ use a zero offset, plus the `--replace-underscore` argument.
68
68
 
69
69
  ## Installing renumseq
70
70
 
@@ -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-2022, James Philip Rowell,
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 = "1.4.2"
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 --onlyShow'.
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("--replaceUnderscore", action="store_true",
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("--dryRun", "--dryrun", action="store_true",
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
- lsseqCmd = ['lsseq', '--looseNumSeparator', '--onlySequences', '--noErrorLists'] + globResult
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 --showBadPadding option of 'lsseq'
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
  #
@@ -1,8 +0,0 @@
1
- renumseq/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- renumseq/__main__.py,sha256=LHBNpowKCqO_y70q8DpY2oghHZJxS6-LSeNpcJEiN5I,25868
3
- renumSeq-1.4.2.dist-info/LICENSE,sha256=R6fdEb8ZKpCYTdOM-ZNPs2bVjqLdDfUwiDcx1xP0dCk,1620
4
- renumSeq-1.4.2.dist-info/METADATA,sha256=geSGmMqhWKKvLutI7jLmDdy8rMOPnv3VymDZXzX9vOE,3723
5
- renumSeq-1.4.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
6
- renumSeq-1.4.2.dist-info/entry_points.txt,sha256=Vu6IBWCxwfVRG3XOZi4ENlMnpe4igvepbHfKy8NGuOY,52
7
- renumSeq-1.4.2.dist-info/top_level.txt,sha256=N4wzD8IZmW7curkqRcVgXNstK4X3cqZ4K1tVNYsukDI,9
8
- renumSeq-1.4.2.dist-info/RECORD,,