lsseq 4.2.0__tar.gz → 4.3.0__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.
- {lsseq-4.2.0 → lsseq-4.3.0}/PKG-INFO +159 -103
- {lsseq-4.2.0 → lsseq-4.3.0}/README.md +158 -102
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq/__main__.py +636 -263
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/PKG-INFO +159 -103
- {lsseq-4.2.0 → lsseq-4.3.0}/setup.py +1 -1
- {lsseq-4.2.0 → lsseq-4.3.0}/LICENSE +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq/__init__.py +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/SOURCES.txt +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/dependency_links.txt +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/entry_points.txt +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/requires.txt +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/lsseq.egg-info/top_level.txt +0 -0
- {lsseq-4.2.0 → lsseq-4.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsseq
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3.0
|
|
4
4
|
Summary: ls-like command for image-sequences
|
|
5
5
|
Home-page: https://github.com/jrowellfx/lsseq
|
|
6
6
|
Author: James Philip Rowell
|
|
@@ -95,7 +95,7 @@ however it can print sequences in a variety of formats useful for `nuke`,
|
|
|
95
95
|
python3 -m pip install lsseq --upgrade
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
There is additional installation-information
|
|
98
|
+
There is additional installation-information in an
|
|
99
99
|
[addendum](https://github.com/jrowellfx/lsseq#addendum---more-on-installing-command-line-tools)
|
|
100
100
|
below with a helpful technique for installing `lsseq` system-wide.
|
|
101
101
|
|
|
@@ -332,8 +332,8 @@ A full listing of all the command-line options follows, as displayed when runnin
|
|
|
332
332
|
```
|
|
333
333
|
usage: lsseq [-h | --help] [OPTION]... [FILE]...
|
|
334
334
|
|
|
335
|
-
List directory contents like /bin/ls except condense
|
|
336
|
-
sequences to one entry each. Filenames that are part of image
|
|
335
|
+
List directory contents like /bin/ls (see LS(1)) except condense
|
|
336
|
+
image sequences to one entry each. Filenames that are part of image
|
|
337
337
|
sequences are assumed to be of the form:
|
|
338
338
|
|
|
339
339
|
<descriptiveName>.<frameNum>.<imgExtension>
|
|
@@ -353,128 +353,184 @@ list of image sequences as such:
|
|
|
353
353
|
positional arguments:
|
|
354
354
|
FILE file names
|
|
355
355
|
|
|
356
|
-
|
|
357
|
-
-h
|
|
356
|
+
miscellaneous options:
|
|
357
|
+
--help, -h show this help message and exit
|
|
358
358
|
--version show program's version number and exit
|
|
359
|
-
--
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
359
|
+
--silent, --quiet suppress error and warning messages.
|
|
360
|
+
-- end of options, all subsequent arguments are
|
|
361
|
+
positional arguments.
|
|
362
|
+
|
|
363
|
+
sequence interpretation:
|
|
364
|
+
--split-sequence prints sequences with missing frames as separate
|
|
365
|
+
sequences as if there are multiple sequences with the
|
|
366
|
+
same name, but with different frame ranges. Note: this
|
|
367
|
+
option only affects the printing of a sequence, not in
|
|
368
|
+
how sequence times are calculated. In other words,
|
|
369
|
+
sorting by time might not produce the results you
|
|
370
|
+
would expect when splitting sequences with this
|
|
371
|
+
option.
|
|
372
|
+
--no-split-sequence consider frames with the same name as all being part
|
|
373
|
+
of the same sequence. [default]
|
|
374
|
+
--strict-num-separator, -s
|
|
375
|
+
strictly enforce the use of '.' (dot) as a separator
|
|
376
|
+
between the descriptiveName and frameNumber when
|
|
377
|
+
looking to interpret filenames as image sequences.
|
|
378
|
+
i.e., <descriptiveName>.<frameNum>.<imgExtension>
|
|
379
|
+
(also see --loose-num-separator) [default]
|
|
380
|
+
--loose-num-separator, -l
|
|
381
|
+
allow the use of '_' (underscore), in addition to '.'
|
|
382
|
+
(dot) as a separator between the descriptiveName and
|
|
383
|
+
frameNumber when looking to interpret filenames as
|
|
384
|
+
image sequences. i.e.,
|
|
385
|
+
<descriptiveName>_<frameNum>.<imgExtension> (also see
|
|
386
|
+
--strict-num-separator)
|
|
387
|
+
|
|
388
|
+
display of error frames:
|
|
366
389
|
--show-missing, -m show list of missing frames as 'm:[<list>]' [default]
|
|
367
390
|
--skip-missing, -M do not show list of missing frames.
|
|
368
|
-
--show-zero, -z show list of zero length images as 'z:[<list>]'
|
|
391
|
+
--show-zero, -z show list of zero length images as 'z:[<list>]'
|
|
392
|
+
[default]
|
|
369
393
|
--skip-zero, -Z do not show list of zero length images.
|
|
370
394
|
--show-bad-frames, -b
|
|
371
|
-
lists potentially bad frames based on the minimum size
|
|
372
|
-
good frame (see --good-frame-min-size). Reported
|
|
373
|
-
'b:[<list>]'
|
|
395
|
+
lists potentially bad frames based on the minimum size
|
|
396
|
+
of a good frame (see --good-frame-min-size). Reported
|
|
397
|
+
as 'b:[<list>]'
|
|
374
398
|
--skip-bad-frames, -B
|
|
375
399
|
do not show list of potentially bad frames. [default]
|
|
376
400
|
--good-frame-min-size BYTES
|
|
377
|
-
any frame size less than BYTES is a bad frame. Short
|
|
378
|
-
for byte sizes are accepted as in '1K' (i.e.,
|
|
379
|
-
'1.5K' for example. [default: 512]
|
|
401
|
+
any frame size less than BYTES is a bad frame. Short
|
|
402
|
+
forms for byte sizes are accepted as in '1K' (i.e.,
|
|
403
|
+
1024) or '1.5K' for example. [default: 512]
|
|
380
404
|
--show-bad-padding report badly padded frame numbers which occurs when a
|
|
381
|
-
number is padded but shouldn't be, or isn't padded but
|
|
382
|
-
should be. Reported as 'p:[<list>]' [default]
|
|
405
|
+
number is padded but shouldn't be, or isn't padded but
|
|
406
|
+
it should be. Reported as 'p:[<list>]' [default]
|
|
383
407
|
--skip-bad-padding do not show list of badly padded frames.
|
|
384
|
-
--combine-lists, -c combine the lists of zero, missing and bad frames into
|
|
385
|
-
list. Reported as 'e:[<list>]'
|
|
386
|
-
--no-combine-lists
|
|
387
|
-
--no-error-lists, -n Skip printing ALL error lists. Note: Setting
|
|
388
|
-
|
|
389
|
-
command line has the effect of ONLY showing the bad-
|
|
390
|
-
error list
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
sequences with this option.
|
|
398
|
-
--no-split-sequence consider frames with the same name as all being part of the
|
|
399
|
-
same sequence. [default]
|
|
400
|
-
--loose-num-separator, -l
|
|
401
|
-
allow the use of '_' (underscore), in addition to '.' (dot)
|
|
402
|
-
as a separator between the descriptiveName and frameNumber
|
|
403
|
-
when looking to interpret filenames as image sequences.
|
|
404
|
-
i.e., <descriptiveName>_<frameNum>.<imgExtension> (also see
|
|
405
|
-
--strict-num-separator)
|
|
406
|
-
--strict-num-separator, -s
|
|
407
|
-
strictly enforce the use of '.' (dot) as a separator
|
|
408
|
-
between the descriptiveName and frameNumber when looking to
|
|
409
|
-
interpret filenames as image sequences. i.e.,
|
|
410
|
-
<descriptiveName>.<frameNum>.<imgExtension> (also see
|
|
411
|
-
--loose-num-separator) [default]
|
|
408
|
+
--combine-lists, -c combine the lists of zero, missing and bad frames into
|
|
409
|
+
one list. Reported as 'e:[<list>]'
|
|
410
|
+
--no-combine-lists don't combine the error lists [default].
|
|
411
|
+
--no-error-lists, -n Skip printing ALL error lists. Note: Setting --show-
|
|
412
|
+
bad-padding (for example) AFTER this option on the
|
|
413
|
+
command line has the effect of ONLY showing the bad-
|
|
414
|
+
padding error list
|
|
415
|
+
|
|
416
|
+
sequence-category filters:
|
|
417
|
+
--img-ext, -i print list of image, cache and movie file extensions
|
|
418
|
+
and exit.
|
|
419
|
+
--list-all-files list all sequences plus regular /bin/ls output.
|
|
420
|
+
[default]
|
|
412
421
|
--only-sequences, -o omit any regular /bin/ls output, only list sequences.
|
|
413
|
-
--list-all-files list all sequences plus regular /bin/ls output. [default]
|
|
414
422
|
--only-images, -O strictly list only image sequences (i.e., no movies or
|
|
415
423
|
caches).
|
|
416
|
-
--not-images
|
|
417
|
-
files will be listed with regular /bin/ls output
|
|
418
|
-
--only-sequences has been specified on the
|
|
424
|
+
--not-images omit image files from being considered as sequences.
|
|
425
|
+
Image files will be listed with regular /bin/ls output
|
|
426
|
+
unless --only-sequences has been specified on the
|
|
427
|
+
command line.
|
|
419
428
|
--only-movies strictly list only movies (i.e., no images or caches).
|
|
420
|
-
--not-movies
|
|
421
|
-
will be listed with regular /bin/ls output
|
|
422
|
-
--only-sequences has been specified on the
|
|
429
|
+
--not-movies omit movies from being considered as sequences. movie
|
|
430
|
+
files will be listed with regular /bin/ls output
|
|
431
|
+
unless --only-sequences has been specified on the
|
|
432
|
+
command line.
|
|
423
433
|
--only-caches strictly list only cache sequences (i.e., no images or
|
|
424
434
|
movies).
|
|
425
|
-
--not-caches
|
|
426
|
-
will be listed with regular /bin/ls output
|
|
427
|
-
--only-sequences has been specified on the
|
|
428
|
-
|
|
429
|
-
|
|
435
|
+
--not-caches omit caches from being considered as sequences. cache
|
|
436
|
+
files will be listed with regular /bin/ls output
|
|
437
|
+
unless --only-sequences has been specified on the
|
|
438
|
+
command line.
|
|
439
|
+
|
|
440
|
+
sequence display-modifiers:
|
|
441
|
+
--format FORMAT, -f FORMAT
|
|
442
|
+
list image sequences in various formats. The choices
|
|
443
|
+
are 'native' (default), 'nuke', 'rv', 'shake', 'glob',
|
|
444
|
+
'mplay', and 'houdini'. Note that glob prints correct
|
|
445
|
+
results only if the frame numbers are padded. Further
|
|
446
|
+
note that reporting of missing/zero/bad/etc. frames
|
|
447
|
+
(e.g. --show-missing) only happens with 'native'
|
|
448
|
+
format.
|
|
430
449
|
--prepend-path-abs, -p
|
|
431
450
|
prepend the absolute path name to the image name. This
|
|
432
451
|
option implies the option --only-sequences and also
|
|
433
|
-
suppresses printing directory name headers when
|
|
434
|
-
directory contents.
|
|
452
|
+
suppresses printing directory name headers when
|
|
453
|
+
listing directory contents.
|
|
435
454
|
--prepend-path-rel, -P
|
|
436
455
|
prepend the relative path name to the image name. This
|
|
437
|
-
option implies the option --only-sequences and will
|
|
438
|
-
suppress printing directory name headers when
|
|
439
|
-
directory contents.
|
|
440
|
-
--extremes, -e only list the first and last frame of an image or
|
|
441
|
-
sequence on a separate line each. This option
|
|
442
|
-
--prepend-path-abs (unless --prepend-path-rel
|
|
443
|
-
specified) as well as --only-sequences
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
--by-columns, -C list non-sequence entries by columns (see ls(1))
|
|
448
|
-
--by-rows, -x list non-sequence entries by lines instead of by columns
|
|
449
|
-
(see ls(1))
|
|
450
|
-
--directory, -d list directory entries instead of contents, and do not
|
|
451
|
-
dereference symbolic links (see ls(1))
|
|
452
|
-
--classify, -F append indicator (one of */=>@|) to entries (see ls(1))
|
|
453
|
-
--reverse, -r reverse order while sorting.
|
|
456
|
+
option implies the option --only-sequences and will
|
|
457
|
+
also suppress printing directory name headers when
|
|
458
|
+
listing directory contents.
|
|
459
|
+
--extremes, -e only list the first and last frame of an image or
|
|
460
|
+
cache-sequence on a separate line each. This option
|
|
461
|
+
implies --prepend-path-abs (unless --prepend-path-rel
|
|
462
|
+
is explicitly specified) as well as --only-sequences
|
|
463
|
+
and --not-movies.
|
|
464
|
+
|
|
465
|
+
sequence sorting and display:
|
|
454
466
|
--recursive, -R list subdirectories recursively.
|
|
455
|
-
--
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
'
|
|
467
|
+
--reverse, -r reverse order while sorting.
|
|
468
|
+
--sort-by-time, -t sort by modification time, the default comparison time
|
|
469
|
+
is between the most recently modified (newest) frames
|
|
470
|
+
in each sequence. (see --time) (see LS(1))
|
|
471
|
+
--time FRAME_AGE which frame in the sequence to use to compare times
|
|
472
|
+
between sequences when sorting by time. The possible
|
|
473
|
+
values for 'FRAME_AGE' are 'oldest', 'median' and
|
|
474
|
+
'newest'. [default: 'newest']
|
|
475
|
+
--global-sort-by-time, -G
|
|
476
|
+
when using either --prepend-path-abs or --prepend-
|
|
477
|
+
path-rel then this option will sort ALL sequences by
|
|
478
|
+
time compared to each other, as opposed to only
|
|
479
|
+
sorting sequences by time within their common
|
|
480
|
+
directory. If the above conditions are NOT met, then
|
|
481
|
+
this option is simply ignored.
|
|
462
482
|
--only-show TENSE [CC]YYMMDD[-hh[mm[ss]]]
|
|
463
483
|
where TENSE is either 'before' or 'since'; only list
|
|
464
|
-
sequences up to (and including) or after (and
|
|
465
|
-
the time specified. The --time argument
|
|
466
|
-
frame to use for the cutoff
|
|
467
|
-
(century) defaults to the
|
|
468
|
-
'-hh' (hours), 'mm'
|
|
469
|
-
zero if not
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
484
|
+
sequences up to (and including) or after (and
|
|
485
|
+
including) the time specified. The --time argument
|
|
486
|
+
specifies which frame to use for the cutoff
|
|
487
|
+
comparison. The optional CC (century) defaults to the
|
|
488
|
+
current century. The optional '-hh' (hours), 'mm'
|
|
489
|
+
(minutes) or 'ss' (seconds) default to zero if not
|
|
490
|
+
specified.
|
|
491
|
+
|
|
492
|
+
symbolic-link handling:
|
|
493
|
+
Control for whether or not to follow symbolic links to
|
|
494
|
+
the final target of files and/or directories. Regardless,
|
|
495
|
+
lsseq shall always write the name of the link itself and
|
|
496
|
+
not the file referenced by the link.
|
|
497
|
+
|
|
498
|
+
--dereference-command-line, -H
|
|
499
|
+
only follow symbolic links of files and directories
|
|
500
|
+
listed on the command line. [default]
|
|
501
|
+
--dereference, -L follow all symbolic links to the final target of files
|
|
502
|
+
and directories.
|
|
503
|
+
--no-dereference do not follow any symbolic links.
|
|
504
|
+
--dereference-command-line-symlink-to-dir
|
|
505
|
+
only follow each command line symbolic link that
|
|
506
|
+
points to a directory, (i.e. do not follow links to
|
|
507
|
+
files).
|
|
508
|
+
--dereference-symlink-to-dir
|
|
509
|
+
only follow all symbolic links that point to
|
|
510
|
+
directories, (i.e. do not follow links to files).
|
|
511
|
+
--no-dereference-dir do not follow any symbolic links to directories.
|
|
512
|
+
--dereference-command-line-symlink-to-file
|
|
513
|
+
only follow each command line symbolic link that
|
|
514
|
+
points to a regular file, (i.e. do not follow links to
|
|
515
|
+
directories).
|
|
516
|
+
--dereference-symlink-to-file
|
|
517
|
+
only follow all symbolic links that point to regular
|
|
518
|
+
files, (i.e. do not follow links to directories).
|
|
519
|
+
--no-dereference-file
|
|
520
|
+
do not follow any symbolic links to regular files.
|
|
521
|
+
|
|
522
|
+
LS(1) control for non-sequences:
|
|
523
|
+
--single, -1 list one non-sequence entry per line (see LS(1))
|
|
524
|
+
--all, -a do not ignore entries starting with '.' while omitting
|
|
525
|
+
implied '.' and '..' directories (see LS(1) --almost-
|
|
526
|
+
all)
|
|
527
|
+
--by-columns, -C list non-sequence entries by columns (see LS(1))
|
|
528
|
+
--by-rows, -x list non-sequence entries by lines instead of by
|
|
529
|
+
columns (see LS(1))
|
|
530
|
+
--directory, -d list directory entries instead of contents, and do not
|
|
531
|
+
follow symbolic links (see LS(1))
|
|
532
|
+
--classify, -F append indicator (one of */=>@|) to entries, and do
|
|
533
|
+
not follow symbolic links. (see LS(1))
|
|
478
534
|
```
|
|
479
535
|
|
|
480
536
|
## Addendum - more on installing command-line tools
|
|
@@ -503,7 +559,7 @@ so that they are accessible to all users. This works on both MacOS and Linux.
|
|
|
503
559
|
# ln -s /usr/local/venv/bin/fixseqpadding /usr/local/bin/fixseqpadding
|
|
504
560
|
# exit
|
|
505
561
|
$ lsseq --version
|
|
506
|
-
4.
|
|
562
|
+
4.3.0
|
|
507
563
|
```
|
|
508
564
|
|
|
509
565
|
At this point any user should be able to run any of the commands linked in the example above.
|