Metadata-Version: 2.4
Name: as3lib-miniAMF
Version: 1
Summary: A fork of Mini-AMF using up to date dependencies.
Author-email: ajdelguidice <ajdelguidice@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/ajdelguidice/as3lib-miniAMF
Keywords: amf,amf0,amf3,actionscript,air,flash,flashplayer,bytearray,recordset,decoder,encoder,sharedobject,lso,sol
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: defusedxml
Dynamic: license-file

# as3lib-miniamf
This is a fork of <a href="https://pypi.org/project/Mini-AMF/">Mini-AMF</a> 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.

## Change Overview
Python 2 support has been removed.
<br>The cython modules now compile properly and pass all of the tests.
<br>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.
<br>Use importlib instead of pkg_resources.
<br>Use datetime.fromtimestamp instead of datetime.utcfromtimestamp.
<br>cElementTree can no longer be used for xml.
<br>sol.save and sol.load actually close their files.
<br>Replaces find_module with find_spec and spread load_module out into create_module and exec_module in util.imports.ModuleFinder
