Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #13027 > unrolled thread

Python and Outlook-style rules

Started byBrian <dribnairb@gmail.com>
First post2011-09-09 07:29 -0700
Last post2011-09-10 15:50 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Python and Outlook-style rules Brian <dribnairb@gmail.com> - 2011-09-09 07:29 -0700
    Re: Python and Outlook-style rules Alec Taylor <alec.taylor6@gmail.com> - 2011-09-10 02:19 +1000
      Re: Python and Outlook-style rules Brian <dribnairb@gmail.com> - 2011-09-10 15:50 -0700

#13027 — Python and Outlook-style rules

FromBrian <dribnairb@gmail.com>
Date2011-09-09 07:29 -0700
SubjectPython and Outlook-style rules
Message-ID<dc1769c1-c058-421e-900f-34a645dbf558@br5g2000vbb.googlegroups.com>
I'm about to create a system which will need to allow hundreds of
users to create and maintain their own rules in a similar fashion to
MS Outlook rules. ie.
Each rule consists of one or more user configurable conditions and if/
when the conditions are met then one or more user configurable actions
will be applied.

The conditions will be things like "a specified key in a dictionary is
in a specified list of values" (where the user can choose the key and
the values), or "a specific record is in the specified
database" (where the user chooses the primary key of the record and
the database table to look in).

The actions will be things like "send an email to address" (where the
user chooses the address and the email template to use).

The user will do their configuration in a browser. Also, I need to be
able to continue to add new conditions and actions to the system over
time.

Is there a python module (preferably free/open source) which already
does (some of) this? I can write the back-end logic easily enough
(although I'd rather not re-invent the wheel) but I'd particularly
like to find a widget or similar which will make the front-end look
nice and be cross-browser compatible.

[toc] | [next] | [standalone]


#13028

FromAlec Taylor <alec.taylor6@gmail.com>
Date2011-09-10 02:19 +1000
Message-ID<mailman.906.1315585191.27778.python-list@python.org>
In reply to#13027
Something like this?

http://stackoverflow.com/questions/387606/using-user-input-to-find-information-in-a-mysql-database

On Sat, Sep 10, 2011 at 12:29 AM, Brian <dribnairb@gmail.com> wrote:
> I'm about to create a system which will need to allow hundreds of
> users to create and maintain their own rules in a similar fashion to
> MS Outlook rules. ie.
> Each rule consists of one or more user configurable conditions and if/
> when the conditions are met then one or more user configurable actions
> will be applied.
>
> The conditions will be things like "a specified key in a dictionary is
> in a specified list of values" (where the user can choose the key and
> the values), or "a specific record is in the specified
> database" (where the user chooses the primary key of the record and
> the database table to look in).
>
> The actions will be things like "send an email to address" (where the
> user chooses the address and the email template to use).
>
> The user will do their configuration in a browser. Also, I need to be
> able to continue to add new conditions and actions to the system over
> time.
>
> Is there a python module (preferably free/open source) which already
> does (some of) this? I can write the back-end logic easily enough
> (although I'd rather not re-invent the wheel) but I'd particularly
> like to find a widget or similar which will make the front-end look
> nice and be cross-browser compatible.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

[toc] | [prev] | [next] | [standalone]


#13087

FromBrian <dribnairb@gmail.com>
Date2011-09-10 15:50 -0700
Message-ID<3a160e5e-0dbe-47e3-9dba-901003041bd4@d12g2000vba.googlegroups.com>
In reply to#13028
On Sep 9, 5:19 pm, Alec Taylor <alec.tayl...@gmail.com> wrote:
> Something like this?
>
> http://stackoverflow.com/questions/387606/using-user-input-to-find-in...
>

Actually, I'm looking for a framework or something similar - something
more like this, only for python:
http://www.codeproject.com/KB/macros/RulesWizard.aspx

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web