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


Groups > comp.lang.python > #13028

Re: Python and Outlook-style rules

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <alec.taylor6@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '(although': 0.05; 'subject:Python': 0.06; 'chooses': 0.07; 'front-end': 0.07; 'rules.': 0.07; 'python': 0.08; 'back-end': 0.09; 'of)': 0.09; 'subject:Outlook': 0.09; 'am,': 0.12; 'from:addr:alec.taylor6': 0.16; 'from:name:alec taylor': 0.16; 'ie.': 0.16; 'values),': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'template': 0.19; 'cc:no real name:2**0': 0.20; 'this?': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; '(where': 0.23; 'dictionary': 0.23; 'sep': 0.23; 'outlook': 0.26; "i'm": 0.27; 'sat,': 0.28; 'url:mailman': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.30; 'module': 0.30; 'configurable': 0.30; 'logic': 0.30; 'widget': 0.30; 'specified': 0.31; 'list': 0.32; 'brian': 0.32; 'does': 0.32; 'there': 0.33; 'url:listinfo': 0.33; 'rules': 0.34; 'rule': 0.34; 'things': 0.34; 'rather': 0.35; 'similar': 0.35; 'record': 0.35; 'received:209.85.161': 0.35; 'primary': 0.36; 'url:python': 0.36; 'but': 0.37; 'something': 0.37; 'received:google.com': 0.38; 'url:org': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'enough': 0.39; 'user': 0.39; "i'd": 0.40; 'more': 0.60; 'easily': 0.61; 'address': 0.61; 'choose': 0.61; 'met': 0.63; 'fashion': 0.64; 'browser.': 0.77; '12:29': 0.84; 'to:name:brian': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=03Wc2V41j0X2Y8+hUajWH5toop4LaCn3bfhwpyx25SI=; b=D19rVZUsGdO8DkBAhaUF8m/3Qpzc04lxkHIvzT5e49FyZ3D4nhlzDVCItGaDevqLZ0 Q9fl2IbfAOFUY5eq5xzA9GFx2xRhTD8DNB8zCzHATLsVFrCSyWog1O/WbtiJZFvhSp7I r9hvWH+YIKzP6rKytV2OhMaaXVwkyRqRfmm+s=
MIME-Version 1.0
In-Reply-To <dc1769c1-c058-421e-900f-34a645dbf558@br5g2000vbb.googlegroups.com>
References <dc1769c1-c058-421e-900f-34a645dbf558@br5g2000vbb.googlegroups.com>
Date Sat, 10 Sep 2011 02:19:48 +1000
Subject Re: Python and Outlook-style rules
From Alec Taylor <alec.taylor6@gmail.com>
To Brian <dribnairb@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.906.1315585191.27778.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1315585191 news.xs4all.nl 2405 [2001:888:2000:d::a6]:54377
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:13028

Show key headers only | View raw


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
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web