python-simple-workflow is a wrapper for Amazon Simple Workflow service.
It aims to provide some abstractions over the webservice concepts through Boto library Swf api implementation.
It aims to provide:
- Modelisation: Swf entities and concepts are to be manipulated through Models and QuerySets (any ressemblance with the Django api would not be a coincidence).
- High-level Events, History: A higher level of abstractions over Swf events and history. Events are implemented as stateful objects aware of their own state and possible transitions. History enhance the events flow description, and can be compiled to check it’s integrity and the activities statuses transitions.
- Decisions: Stateful abstractions above the Swf decision making system.
- Actors: Swf actors base implementation such as a Decider or an activity task processor Worker from which the user can easily inherit to implement it’s own decision/processing model.
It provides querysets and model objects over commonly used concepts: domains, workflow types, activity types, and so on.
It is under MIT license, and any ideas, features requests, patches, pull requests to improve it are of course welcome.
pip install simple-workflow
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.