Xanlib

Latest version: v0.2.0

Safety actively analyzes 688587 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

The serialisation/deserialisation core of the library has been overhauled to work with [bytes-like](https://docs.python.org/3/glossary.html#term-bytes-like-object), rather than [file-like](https://docs.python.org/3/glossary.html#term-file-object), objects.

- All of the classes can be cast to `bytes`
- Most of the classes now feature a `frombuffer` method. This opens up new possibilities of reading these structures from memory, such as files uncompressed on the fly, memory-mapped files, bytes copied over from a hex editor, and more.
- `Vertex` and `Face` now expose a C-style [struct](https://docs.python.org/3/library/struct.html#struct.Struct) as a class attribute. Its methods can be used to pack or unpack data directly into/from other libraries' classes, such as `numpy` arrays and so on.

0.1.1

The classes and their individual reader/writers have been greatly cleaned up, re-organised and annotated with type hints.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.