Skip to main content

A fork of Mini-AMF using up to date dependencies.

Project description

as3lib-miniamf

This is a fork of Mini-AMF that aims to work properly on newer python versions (3.11+). This could theoretically go down to 3.9 but PyFloat_Unpack{4,8} and PyFloat_Pack{4,8} were changed in 3.11 so I would need to do some backporting. Miniamf made use of a lot of deprecated or removed functionality, especially in the cython modules, which means I had to rewrite a lot of stuff. If something doesn't work as expected, please let me know, I'll try to fix it as best as I can.

This package uses the same directories as miniamf. They should not be installed together.

While I am trying to bring back the remoting stuff, the stuff listed below will not be brought back:

  • Elixir (never updated to python 3)
  • Google AppEngine (SDK no longer easily accessible)

Change Overview

Python 2 support has been removed.
The cython modules now compile properly and pass all of the tests.
The cython modules are no longer optional. I tried to make them optional but I couldn't figure out how to without breaking other stuff.
Use importlib instead of pkg_resources.
Use datetime.fromtimestamp instead of datetime.utcfromtimestamp.
cElementTree can no longer be used for xml.
sol.save and sol.load actually the files they opened.
Replaces find_module with find_spec and spread load_module out into create_module and exec_module in util.imports.ModuleFinder
A utcnow function has been added to miniamf.util because remoting support requires it
Remoting support has been partially brought back. The gateways currently available are wsgi and django.
SQLAlchemy support has been brought back. It currently fails one test when _accel modules aren't used.

TODO

Make cython modules work on python 3.9 and 3.10
Make cython modules optional
Fully bring back remoting support
Add tests for AS3 vectors and dictionaries.
Fix Django adapters

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

as3lib_miniamf-2.tar.gz (174.2 kB view details)

Uploaded Source

File details

Details for the file as3lib_miniamf-2.tar.gz.

File metadata

  • Download URL: as3lib_miniamf-2.tar.gz
  • Upload date:
  • Size: 174.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for as3lib_miniamf-2.tar.gz
Algorithm Hash digest
SHA256 6b233692e0f07a4d7b358c336d7c6c683e9fe28f2b38c0cf7c0281de43dea116
MD5 d1ee4533670cbc8adf05c61c54162202
BLAKE2b-256 252b3d022222ee6cfecc74d160679281d939dd1525f21488af72dc4768dbd744

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page