A Python library for parsing frame ranges.
OTHER License
Bot releases are hidden (Show)
FileSequence.__str__
about format caveatmypy --strict
checktyping_extensions
dependencyFull Changelog: https://github.com/justinfx/fileseq/compare/v2.1.0...v2.1.1
Published by justinfx 7 months ago
Full Changelog: https://github.com/justinfx/fileseq/compare/v2.0.0...v2.1.0
Published by justinfx 8 months ago
This is a new major version release that drops support for python2
FileSequence
instancepy.typed
marker fileFileSequence.setExtension()
with empty string to properly clear extension valuePublished by justinfx about 1 year ago
New in patch release v1.15.2
Published by justinfx over 1 year ago
Published by justinfx over 2 years ago
New in release v1.15.0
utils.batchFrames
and utils.batchIterable
functions, and batches()
methods added to FrameSet
and FileSequence
FileSequence
setters should atomically update fields, only if no exception is raisedfindSequenceOnDisk
: add preserve_padding
option to apply original padding characters to matching sequence<UDIM>
and %(UDIM)d
padding formats (thanks @herronelou)FileSequence.setPadStyle()
: add set_zfill
options to convert the zfill and decimalPlaces values instead of default behavior to convert the padding character representationutils.xrange2
to support start/start/step fields like the builtin range
utils
module in sphinx docsPublished by justinfx almost 3 years ago
New in release v1.14.0
findSequenceOnDisk
: support mixed-case matching, and normalize mixed path separatorsfindSequenceOnDisk
docstring about unsupported wildcard charactersPublished by justinfx about 3 years ago
New in patch release v1.13.1
utils.asString
to convert derived string types to bytesfindSequenceOnDisk
Published by justinfx over 3 years ago
New in v1.13.0
to_dict()
method and from_dict()
classmethod to FileSequence
to expand support for custom serialization beyond just pickle format (just as json)Published by justinfx over 3 years ago
New in patch release v1.12.3
FileSequence
py2 str/unicode support, and py3 bytes/str support (#100)Published by justinfx over 3 years ago
New in release v1.12.2
FileSequence
__str__()
, __repr__()
, and __format__()
methods (adds __unicode__()
method) (#99)Published by justinfx over 3 years ago
New in release v1.12.1
Duplicate release of v1.12.0 for pypi deployment
yield_sequences_in_list
frame sorting to group different pad widths into different sequences (#94)yield_sequences_in_list
to retain user pad_style
and subframe
options in sequences (#98)PAD_STYLE
constants to have a helpful string repr for debugging (b246e0dd)Published by justinfx over 3 years ago
New in release v1.12.0
yield_sequences_in_list
frame sorting to group different pad widths into different sequences (#94)yield_sequences_in_list
to retain user pad_style
and subframe
options in sequences (#98)PAD_STYLE
constants to have a helpful string repr for debugging (b246e0dd)Published by justinfx over 3 years ago
New in patch release v1.11.3
FrameSet
constructor to raise ParseException
on non-numeric args (#92)Published by justinfx almost 4 years ago
New in patch release v1.11.2
findSequenceOnDisk
(#89)Published by justinfx about 4 years ago
New in patch release v1.11.1
FileSequence
, introduced in 1.11.0 #87FileSequence.getPaddingChars
to use a mapping of pad widths #86Published by justinfx about 4 years ago
This release introduces support for subframe sequences.
Subframes: 1001-1066x0.25, 1001.5-1066.0x0.5
At the FileSequence
level, subframe support is opt-in via the constructor allow_subframes=True
and also in related findSequence*
functions. The expectation is that existing sequence and frameset behaviour should not change.
FrameSet.from_range()
constructor #83Published by justinfx over 4 years ago
In this release there is a change to what is perceived to be a bug in the padding width of negative frames (#80) being padded one character wider than they should, making them unbalanced with the positive frame widths, and also does not align with other systems like Nuke. One possible impact to be aware of is if a sequence with negative frames were written out with a previous version of fileseq (with the wider negative frame padding) and then that same sequence pattern were used to iterate the files in this new release, the file paths may not match the negative frames.
Published by justinfx over 4 years ago
FileSequence.__hash__()
implementation (a114eadb)findSequenceOnDisk
when sequences contain multiple digit components that confused the frame position; yield_sequences_in_list
updated to accept a "using" context sequence as a template (#76)Published by justinfx over 5 years ago
This patch release fixes a number of locations where python2 usage started returning unicode
instead of the native str
type. Added tests to ensure the native str
type is returned from FileSequence
, FrameSet
, and utility functions that return string types.
This patch is meant to maintain v1.x api compatibility for existing python2 users by not suddenly introducing unicode
types.