changeset 2:b8be785f8e87

lets pretend that were dead...er, doing something
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 07 Apr 2013 13:51:29 -0700
parents 6aafed869664
children 613d4807661e
files README.txt intentmademanifest/api.py setup.py
diffstat 3 files changed, 33 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt	Sun Apr 07 03:29:48 2013 -0700
+++ b/README.txt	Sun Apr 07 13:51:29 2013 -0700
@@ -6,6 +6,13 @@
 As risen from the stillborn ashes:
 http://k0s.org/mozilla/hg/MozbaseWorkflow/
 
+
+Potential Uses
+--------------
+
+* dependency somethin somethin'
+
+
 Links
 -----
 
@@ -20,11 +27,20 @@
 * https://pypi.python.org/pypi/fysom
   pYthOn Finite State Machine
 
+* https://pypi.python.org/pypi/workflow/1.01
+  Simple workflows for Python;
+  Not sure if this is really what's needed. And....1.01???
 
-Potential Uses
---------------
+* https://pypi.python.org/pypi/xworkflows
+  A library implementing workflows (or state machines) for Python projects.
+
 
-* dependency somethin somethin'
+State Machines:
+
+Workflow == state machines, so an understanding from either
+perspective is the same apropos the other.
+
+* http://en.wikipedia.org/wiki/Finite-state_machine
 
 ----
 
--- a/intentmademanifest/api.py	Sun Apr 07 03:29:48 2013 -0700
+++ b/intentmademanifest/api.py	Sun Apr 07 13:51:29 2013 -0700
@@ -21,5 +21,17 @@
 
     def state(self):
         """
-        current state
+        current state;
+        returns the current state object
         """
+
+class State(object):
+    """a state"""
+
+    def __init__(self, *transitions):
+
+    def available():
+        """avalable transitions"""
+
+    def transit():
+        """invoke a transition"""
--- a/setup.py	Sun Apr 07 03:29:48 2013 -0700
+++ b/setup.py	Sun Apr 07 13:51:29 2013 -0700
@@ -5,7 +5,7 @@
 import os
 
 version = "0.0"
-dependencies = ['MakeItSo', 'webob']
+dependencies = []
 
 # allow use of setuptools/distribute or distutils
 kw = {}