Skip to content

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.

License

Notifications You must be signed in to change notification settings

limscoder/amfast

Repository files navigation

##AmFast

A Flash remoting framework for Python that uses AMF to communicate between Python and Flash, Flex, and any other system that supports AMF.

##Server Features

  • Support for NetConnection and RemoteObject RPC.
  • Support for Producer/Consumer 'push' messaging with HTTP polling, HTTP long-polling, and real-time HTTP streaming channels.
  • Support for authentication with NetConnection and RemoteObject.
  • Built in Channels for CherryPy, Twisted Web, Google App Engine, Django, Tornado and plain WSGI.
  • Support for configurable Endpoints. Use AmFast's built-in AMF encoder/decoder C-extension, or use an external AMF encoder/decoder, such as PyAmf for a pure-Python implementation.

##AMF Encoder/Decoder Features

  • AMF0/AMF3 encoder/decoder written in C as a Python extension for speed.
  • Map custom classes with ClassDef objects for complete control over serialization/de-serialization.
  • Full support for IExternalizable objects.
  • Data persistence with SqlAlchemy including remotely-loadable lazy-loaded attributes.
  • Actionscript code generation from ClassDef objects.

##Installation

Most current version is: 0.5.3 Download the package distribution from PyPi Extract package and execute the following command from within the root distribution directory:

# To install entire package:
python setup.py install

# Install without compiling encode/decode extensions.
#
# If you don't compile the encode/decode extensions,
# you can use PyAmf for encoding/decoding.
python setup.py --without-extensions install

About

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published