https://github.com/limscoder/amfast
An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
https://github.com/limscoder/amfast
Last synced: 11 months ago
JSON representation
An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
- Host: GitHub
- URL: https://github.com/limscoder/amfast
- Owner: limscoder
- License: mit
- Created: 2015-03-12T19:02:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T16:26:59.000Z (about 8 years ago)
- Last Synced: 2025-04-08T06:28:37.040Z (12 months ago)
- Language: Python
- Homepage:
- Size: 26.5 MB
- Stars: 5
- Watchers: 2
- Forks: 6
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: license.txt
Awesome Lists containing this project
README
##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