Releases: Askaholic/faf-replay-parser-python
Releases · Askaholic/faf-replay-parser-python
v0.6.0 - Update python wheels
- Added wheels for cpython 3.11 and 3.12
- Added wheels for pypy 3.10
- Dropped python 3.7 support
Full Changelog: v0.5.3...v0.6.0
v0.5.3 - Add `extract_scfa` function
As of this version, the version numbers for this library will no longer correspond with those of the underlying Rust crate, but will instead represent compatibility of the Python API exposed by this package.
What's Changed
- Add
extract_scfa
for decompressing.fafreplay
files
Full Changelog: v0.5.2...v0.5.3
v0.5.2 - Update dependencies
Update to pyo3 version 0.16.4
.
- Added support for python 3.10
- Dropped support for python 3.6
Update package metadata
v0.5.1-rev0 - Add command name lookup array
New in this version
Command names can be looked up through the NAMES
array:
>>> from fafreplay import commands
>>> commands.NAMES[0]
"Advance"
New in the previous version
Note that as of version 0.5.1, there is an additional constant commands.MAX
that defines the maximum valid command id. This can be used to verify validity of command ids or to construct a parser that parses all commands:
>>> from fafreplay import commands, Parser
>>> if command_id > commands.MAX:
... raise Exception("Invalid command id")
>>> parser = Parser(commands=range(commands.MAX + 1))
Also note that the commands
argument to Parser
can now be any iterable. Again, both of these changes are available in 0.5.1