Skip to content

Proposal: Refactored Version with Async Support and Enhanced Features #137

@mywaiting

Description

@mywaiting

Hello

I’ve taken the time to completely refactor the codebase of python-amazon-paapi. My version achieves the same functionality as the current implementation but with a cleaner and more efficient design. In addition, I’ve added full support for Python’s async features.

You can review the code followed this https://github.com/mywaiting/amazon-paapi-python-sdk

Key improvements include:

  • Customizable transport layer – The transport logic has been fully rewritten, allowing the library to support virtually all Python HTTP libraries.

  • Refactored data structures – All Amazon PAAPI data structures have been reimplemented using Python dataclasses, providing a more consistent and maintainable design with complete encoding/decoding support.

  • Reusable API interface – The API interface has been redesigned to be fully reusable, making it easier for developers to extend and integrate with their own projects.

The project’s code structure is essentially complete. However, I have not yet had the time to write tests or documentation or usage or any others for this refactored version.

At the moment, I do not plan to maintain this code in a separate repository. Instead, I would very much prefer for this work to be integrated here so the community can benefit from it under the original project.

Would you be open to reviewing and potentially merging this refactored version? I believe it could serve as a strong foundation for a new release of the library.

Thank you for your work on this project and for considering this contribution.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions