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


Release history Release notifications

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
docflow-0.3.3.tar.gz (95.5 kB) Copy SHA256 hash SHA256 Source None Jun 27, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page