A fork of Mini-AMF using up to date dependencies.
Project description
as3lib-miniAMF
This is a fork of Mini-AMF that aims to bring back some of the cut/broken functionality and work properly on newer python versions.
This package uses the same directories as miniamf. They should not be installed together.
Changes
- Python 2 support has been removed
- The _accel modules have been fixed
- The _accel modules are optional and can be disabled by setting the environment variable 'MINIAMF_NO_CYTHON' to 1. This currently breaks some stuff but I'm working on it.
- pkg_resources (setuptools) has been replaced with importlib.resources
- The deprecated cElementTree can no longer be used for xml related stuff
- sol.save and sol.load now properly manage the files that they manipulate
- util.imports.ModuleFinder has been updated to use find_spec, create_module, and exec_module instead of the deprecated find_module and load_module
- Partial support for AS3 Dictionaries and Vectors has been added. The implementation used is adapted from this commit.
- util.pure.BufferedByteStream has been rewritten as a child of io.BytesIO. This shouldn't break things more than they already were.
- util.pure.Excursion has been removed because it is no longer needed.
- The functions utcnow and utcfromtimestamp were added to the util module as future proofing for when they are removed from datetime.
- Flex and remoting support have been mostly brought back. The gateways and adapters currently available are wsgi, Django (partially broken), and SQLAlchemy.
The remoting stuff below will not be brought back:
- Elixir (never updated to python 3)
- Google AppEngine (SDK no longer easily accessible)
TODO
Test cython modules on 3.9
Fix library when cython modules are not installed.
Bring back twisted support. (I'm having a bit of trouble with this)
Add tests for AS3 vectors and dictionaries.
Fix Django adapters
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
as3lib_miniamf-3.tar.gz
(174.4 kB
view details)
File details
Details for the file as3lib_miniamf-3.tar.gz.
File metadata
- Download URL: as3lib_miniamf-3.tar.gz
- Upload date:
- Size: 174.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12efc6390f8c4b9441b64634e7a02d9357d32866de9fba4437a189d1603f7f27
|
|
| MD5 |
77ec61d7bd66ab6c38ea6b13463346b9
|
|
| BLAKE2b-256 |
95fa41feba6d556e60373c32faaa8fbed647b412171bcdb8f090d56ade5fc734
|