Python Document Workflows
Project description
Docflow is an implementation of document workflows in Python. A workflow defines states and transitions. A state is an “end point” associated with a document. A transition is a path from one state to another state (unidirectional). Docflow was inspired by repoze.workflow but aspires to be a framework-independent implementation.
0.3.3
Bugfix: Instantiating a workflow would clobber the workflow class
0.3.2
Transition handlers can now connect multiple from/to states
New: transition_from for specifying a transition in reverse
New: interactive transitions with form/validate/submit methods
Python 3 compatibility
Support for multiple workflows per document class, with workflow names
0.3.1
Fixed distribution package on PyPI
0.3
States now remember the order in which they were defined, for UI purposes
Document sorting by workflow state
Helper method to list available transitions
Subclasses can now override workflow exceptions (for framework-specific Forbidden handlers)
0.2
Workflows now have an apply_on class method.
0.1
Initial version (alpha)
Project details
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 docflow-0.3.3.tar.gz
.
File metadata
- Download URL: docflow-0.3.3.tar.gz
- Upload date:
- Size: 95.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 688b09ac266fcf98164425b5b46ab336b5ac12a8ea930eca4ae99839b72028f9 |
|
MD5 | a95e06fa6a16bad1667fedacdab532b2 |
|
BLAKE2b-256 | 0d6ca88ec244f7cc716ad9bb1ffe3752b4c19726fab32fcf5098a0352bf6f03e |