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.
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 close their files.
Replaces find_module with find_spec and spread load_module out into create_module and exec_module in util.imports.ModuleFinder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file as3lib_miniamf-1.tar.gz.
File metadata
- Download URL: as3lib_miniamf-1.tar.gz
- Upload date:
- Size: 118.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6e5babbee8ce649f43ecf9916452f8e4250d42e3c0dcae00eafae23398f7425
|
|
| MD5 |
a1779a073ec460776797f051796a9c21
|
|
| BLAKE2b-256 |
b232f3da482d604ce5912ce7792f1249f48f5d5a304ac00cc7cf04e5f5632210
|