Mini-AMF

AMF serialization and deserialization support for Python


Keywords
amf, amf0, amf3, actionscript, air, flash, flashplayer, bytearray, recordset, decoder, encoder, sharedobject, lso, sol
License
MIT
Install
pip install Mini-AMF==0.9.1

Documentation

Mini-AMF

Mini-AMF provides Action Message Format (AMF) serialization and deserialization support for Python, compatible with the Adobe Flash Player. It supports Python 2.7 and 3.4+.

Mini-AMF is a trimmed-down version of the original PyAMF, which (as far as I can tell) is no longer being maintained. It provides only the core serialization and deserialization primitives, and support for reading and writing LSO objects on disk. Support for Flex-specific types, "remoting", and integration with web frameworks has all been removed. (Adapter classes are still supported.)

Mini-AMF is lightly maintained by Zack Weinberg. All bug reports and pull requests will be heard and responded to, but I have no plans to develop the software any further myself. Please note that patches to restore support for old versions of Python 2 will not be accepted, as this interferes with support for Python 3. Please also note that "remoting" and server integration will probably be easier to maintain in their own separate packages, one per framework.

What's AMF?

AMF is a binary message serialization format geared for remote procedure calls, native to the Adobe Flash Player and Adobe Integrated Runtime. There are two versions of the format, AMF0 and AMF3. AMF3 is more compact than AMF0, and and supports data types that are available only in ActionScript 3.0, such as ByteArray.

Automatic build statuses

Build status Test coverage Documentation status