Skip to main content

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

docflow-0.3.3.tar.gz (95.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page