fixSeqPadding 1.0.1__tar.gz → 2.0.1__tar.gz
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.
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/LICENSE +1 -1
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/PKG-INFO +18 -11
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/README.md +3 -4
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/PKG-INFO +18 -11
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/entry_points.txt +0 -1
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixseqpadding/__main__.py +12 -10
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/setup.py +3 -2
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/SOURCES.txt +0 -0
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/dependency_links.txt +0 -0
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/requires.txt +0 -0
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixSeqPadding.egg-info/top_level.txt +0 -0
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/fixseqpadding/__init__.py +0 -0
- {fixSeqPadding-1.0.1 → fixseqpadding-2.0.1}/setup.cfg +0 -0
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: fixSeqPadding
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Tool to repair bad padding in image-sequences.
|
|
5
5
|
Home-page: https://github.com/jrowellfx/fixSeqPadding
|
|
6
6
|
Author: James Philip Rowell
|
|
7
7
|
Author-email: james@alpha-eleven.com
|
|
8
|
-
License:
|
|
9
|
-
Platform: UNKNOWN
|
|
8
|
+
License: BSD-3-Clause
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
12
10
|
Classifier: Operating System :: POSIX
|
|
13
11
|
Classifier: Operating System :: Unix
|
|
14
12
|
Classifier: Operating System :: MacOS
|
|
@@ -16,17 +14,26 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
16
14
|
Requires-Python: >=3.6, <4
|
|
17
15
|
Description-Content-Type: text/markdown
|
|
18
16
|
License-File: LICENSE
|
|
17
|
+
Requires-Dist: seqLister
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
19
29
|
|
|
20
30
|
# fixSeqPadding
|
|
21
31
|
|
|
22
32
|
Cmd-line util to repair badly-padded frames in image-sequences.
|
|
23
|
-
You'll probably never need this util, it only exists as a helper for users of `lsseq`
|
|
24
|
-
|
|
33
|
+
You'll probably never need this util, it only exists as a helper for users of [`lsseq`](https://github.com/jrowellfx/lsseq)
|
|
34
|
+
and [`renumseq`](https://github.com/jrowellfx/renumseq).
|
|
25
35
|
|
|
26
36
|
`lsseq` reports when sequences have badly padded frames, so in the rare
|
|
27
|
-
situation that you stumble upon a badly-padded frame-sequence
|
|
37
|
+
situation that you stumble upon a badly-padded frame-sequence this might save you some time
|
|
28
38
|
as opposed to cobbling together a shell script to fix the bad-filenames. (Or worse
|
|
29
39
|
renaming each one by hand in a file-explorer - ouch!)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# fixSeqPadding
|
|
2
2
|
|
|
3
3
|
Cmd-line util to repair badly-padded frames in image-sequences.
|
|
4
|
-
You'll probably never need this util, it only exists as a helper for users of `lsseq`
|
|
5
|
-
|
|
4
|
+
You'll probably never need this util, it only exists as a helper for users of [`lsseq`](https://github.com/jrowellfx/lsseq)
|
|
5
|
+
and [`renumseq`](https://github.com/jrowellfx/renumseq).
|
|
6
6
|
|
|
7
7
|
`lsseq` reports when sequences have badly padded frames, so in the rare
|
|
8
|
-
situation that you stumble upon a badly-padded frame-sequence
|
|
8
|
+
situation that you stumble upon a badly-padded frame-sequence this might save you some time
|
|
9
9
|
as opposed to cobbling together a shell script to fix the bad-filenames. (Or worse
|
|
10
10
|
renaming each one by hand in a file-explorer - ouch!)
|
|
11
|
-
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: fixSeqPadding
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Tool to repair bad padding in image-sequences.
|
|
5
5
|
Home-page: https://github.com/jrowellfx/fixSeqPadding
|
|
6
6
|
Author: James Philip Rowell
|
|
7
7
|
Author-email: james@alpha-eleven.com
|
|
8
|
-
License:
|
|
9
|
-
Platform: UNKNOWN
|
|
8
|
+
License: BSD-3-Clause
|
|
10
9
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
12
10
|
Classifier: Operating System :: POSIX
|
|
13
11
|
Classifier: Operating System :: Unix
|
|
14
12
|
Classifier: Operating System :: MacOS
|
|
@@ -16,17 +14,26 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
16
14
|
Requires-Python: >=3.6, <4
|
|
17
15
|
Description-Content-Type: text/markdown
|
|
18
16
|
License-File: LICENSE
|
|
17
|
+
Requires-Dist: seqLister
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: license-file
|
|
26
|
+
Dynamic: requires-dist
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
Dynamic: summary
|
|
19
29
|
|
|
20
30
|
# fixSeqPadding
|
|
21
31
|
|
|
22
32
|
Cmd-line util to repair badly-padded frames in image-sequences.
|
|
23
|
-
You'll probably never need this util, it only exists as a helper for users of `lsseq`
|
|
24
|
-
|
|
33
|
+
You'll probably never need this util, it only exists as a helper for users of [`lsseq`](https://github.com/jrowellfx/lsseq)
|
|
34
|
+
and [`renumseq`](https://github.com/jrowellfx/renumseq).
|
|
25
35
|
|
|
26
36
|
`lsseq` reports when sequences have badly padded frames, so in the rare
|
|
27
|
-
situation that you stumble upon a badly-padded frame-sequence
|
|
37
|
+
situation that you stumble upon a badly-padded frame-sequence this might save you some time
|
|
28
38
|
as opposed to cobbling together a shell script to fix the bad-filenames. (Or worse
|
|
29
39
|
renaming each one by hand in a file-explorer - ouch!)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 3-Clause BSD License
|
|
4
4
|
#
|
|
5
|
-
# Copyright (c) 2008-
|
|
5
|
+
# Copyright (c) 2008-2026, James Philip Rowell,
|
|
6
6
|
# Alpha Eleven Incorporated
|
|
7
7
|
# www.alpha-eleven.com
|
|
8
8
|
# All rights reserved.
|
|
@@ -66,11 +66,13 @@ import glob
|
|
|
66
66
|
|
|
67
67
|
import seqLister
|
|
68
68
|
|
|
69
|
-
VERSION = "
|
|
69
|
+
VERSION = "2.0.1"
|
|
70
|
+
|
|
71
|
+
PROG_NAME = "fixseqpadding"
|
|
70
72
|
|
|
71
73
|
def warnSeqSyntax(silent, basename, seq) :
|
|
72
74
|
if not silent :
|
|
73
|
-
print(
|
|
75
|
+
print(PROG_NAME,
|
|
74
76
|
": warning: invalid range [", seq, "] for seq ", basename,
|
|
75
77
|
file=sys.stderr, sep='')
|
|
76
78
|
|
|
@@ -98,7 +100,7 @@ def main():
|
|
|
98
100
|
by the padding of the smallest index specified in the SEQ argument
|
|
99
101
|
or if --pad has been specified then force use of PAD digits.
|
|
100
102
|
'''),
|
|
101
|
-
usage="%(prog)s [OPTION]... [SEQ]...")
|
|
103
|
+
usage="%(prog)s [-h | --help] [OPTION]... [SEQ]...")
|
|
102
104
|
|
|
103
105
|
p.add_argument("--version", action="version", version=VERSION)
|
|
104
106
|
p.add_argument("--fix", action="store",
|
|
@@ -126,7 +128,7 @@ def main():
|
|
|
126
128
|
an existing frame with a correctly padded name \
|
|
127
129
|
then overwrite the frame. The opposite of --skip.")
|
|
128
130
|
'''
|
|
129
|
-
p.add_argument("--
|
|
131
|
+
p.add_argument("--dry-run", action="store_true",
|
|
130
132
|
dest="dryRun", default=False,
|
|
131
133
|
help="Don't fix the padding for SEQ, just display how the \
|
|
132
134
|
files would have been renamed. Forces --verbose" )
|
|
@@ -157,13 +159,13 @@ def main():
|
|
|
157
159
|
fixNumList = seqLister.expandSeq(simpleBadPadList, cruftList)
|
|
158
160
|
if len(fixNumList) == 0 :
|
|
159
161
|
if not args.silent :
|
|
160
|
-
print(
|
|
162
|
+
print(PROG_NAME,
|
|
161
163
|
": error: invalid bad-padding list, use seqLister syntax",
|
|
162
164
|
file=sys.stderr, sep='')
|
|
163
165
|
sys.exit(0)
|
|
164
166
|
if len(cruftList) > 0 :
|
|
165
167
|
if not args.silent :
|
|
166
|
-
print(
|
|
168
|
+
print(PROG_NAME,
|
|
167
169
|
": error: invalid entries in the list of badly padded frames: ",
|
|
168
170
|
" ".join(cruftList),
|
|
169
171
|
file=sys.stderr, sep='')
|
|
@@ -198,7 +200,7 @@ def main():
|
|
|
198
200
|
match = pattern.search(arg)
|
|
199
201
|
if not match :
|
|
200
202
|
if not args.silent :
|
|
201
|
-
print(
|
|
203
|
+
print(PROG_NAME, ": warning: ", arg,
|
|
202
204
|
" not a sequence or not in lsseq native format",
|
|
203
205
|
file=sys.stderr, sep='')
|
|
204
206
|
continue
|
|
@@ -317,7 +319,7 @@ def main():
|
|
|
317
319
|
if len(fnumMatchList) > 1 and not args.silent :
|
|
318
320
|
sys.stdout.flush()
|
|
319
321
|
sys.stderr.flush()
|
|
320
|
-
print(
|
|
322
|
+
print(PROG_NAME, ": warning: ", correctName,
|
|
321
323
|
" exists but there is a duplicate frame number ", fnum,
|
|
322
324
|
" with different padding",
|
|
323
325
|
file=sys.stderr, sep='')
|
|
@@ -328,7 +330,7 @@ def main():
|
|
|
328
330
|
if len(fnumMatchList) > 1 and not args.silent :
|
|
329
331
|
sys.stdout.flush()
|
|
330
332
|
sys.stderr.flush()
|
|
331
|
-
print(
|
|
333
|
+
print(PROG_NAME, ": warning: ", correctName,
|
|
332
334
|
" corresponds to multiple files with bad-padding. Ambiguous rename. Skipping",
|
|
333
335
|
file=sys.stderr, sep='')
|
|
334
336
|
sys.stderr.flush()
|
|
@@ -8,17 +8,18 @@ long_description = (here / 'README.md').read_text(encoding='utf-8')
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name = 'fixSeqPadding',
|
|
11
|
-
version = '
|
|
11
|
+
version = '2.0.1',
|
|
12
12
|
description='Tool to repair bad padding in image-sequences.',
|
|
13
13
|
long_description=long_description,
|
|
14
14
|
long_description_content_type='text/markdown',
|
|
15
15
|
url = 'https://github.com/jrowellfx/fixSeqPadding',
|
|
16
16
|
author = 'James Philip Rowell',
|
|
17
17
|
author_email = 'james@alpha-eleven.com',
|
|
18
|
+
license = "BSD-3-Clause",
|
|
19
|
+
license_files = ["LICENSE"],
|
|
18
20
|
|
|
19
21
|
classifiers=[
|
|
20
22
|
'Programming Language :: Python :: 3',
|
|
21
|
-
'License :: OSI Approved :: BSD License',
|
|
22
23
|
'Operating System :: POSIX',
|
|
23
24
|
'Operating System :: Unix',
|
|
24
25
|
'Operating System :: MacOS',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|