Is there something like Zoe in Python

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Дамјан Георгиевски

    Is there something like Zoe in Python

    Zoe is an application written in Java that is also a SMTP/POP/WEB server
    that sits between your normal mail user agent (Thunderbird, mutt or
    Outlook) and the rest of the world. Every mail you've received or sent is
    stored and indexed in Zoe, so that you can perform searches (ala Google) on
    your own mail database, via its web interface.

    I was wondering if there's something similar but written in Python.



    --
    дамјан

    "The moment you commit and quit holding back, all sorts of unforseen
    incidents, meetings and material assistance will rise up to help you.
    The simple act of commitment is a powerful magnet for help." -- Napoleon
  • Diez B. Roggisch

    #2
    Re: Is there something like Zoe in Python

    ?????? ??????????? wrote:
    [color=blue]
    > Zoe is an application written in Java that is also a SMTP/POP/WEB server
    > that sits between your normal mail user agent (Thunderbird, mutt or
    > Outlook) and the rest of the world. Every mail you've received or sent is
    > stored and indexed in Zoe, so that you can perform searches (ala Google)
    > on your own mail database, via its web interface.
    >
    > I was wondering if there's something similar but written in Python.[/color]

    Not to my knowledge - I searched on such tools a while ago, and found ZOE to
    be a great application. It shouldn't be too hard to create such an app
    based on ZOPE and the usual standard libs - but I certainly don't have the
    time to do it :)
    --
    Regards,

    Diez B. Roggisch

    Comment

    • Michel Claveau - abstraction méta-galactique non t

      #3
      Re: Is there something like Zoe in Python

      Hi !

      You can use Hamster (http://hamster-fr.sourceforge.net )

      And drive it, from Python, via COM





      sample :



      # -*- coding: cp1252 -*-

      ''' Exemple d'appel de Hamster, depuis Python
      -----------------------------------------
      la fonction "exportgrou pe" exporte, dans le fichier
      texte indiqué, un ensemble de messages d'un newsgroup.
      (réalisation http://mclaveau.com)
      '''

      from win32com.client import Dispatch
      ham = None

      def exportgroupe(gr oupe,fichier,nd ebut=0,nfin=999 999999):
      global ham
      if ham == None:
      ham = Dispatch("Hamst er.App")
      grp = ham.NewsGrpOpen (groupe)
      if grp>0:
      print '\r\n','-'*70
      print 'Groupe :',groupe,
      print ' Messages, de',ham.NewsArt NoMin(grp),
      print ' à',ham.NewsArtN oMax(grp)
      ndebut = max(ham.NewsArt NoMin(grp), ndebut)
      nfin = min(ham.NewsArt NoMax(grp), nfin)
      fichier=open(fi chier,'w')
      for numero in range(ndebut, nfin):
      print numero,
      txtArticle = ham.NewsArtText Export(grp, numero)
      fichier.write(t xtArticle.encod e('cp1252','rep lace'))
      fichier.close()
      ham.NewsGrpClos e(grp)

      '''usage :
      exportgroupe( nom_groupe, fichier_destina taire, [num_message_déb ut],
      [num_message_fin])
      les paramètres entre crochets sont facultatifs.'''

      exportgroupe('f r.comp.lang.pyt hon','c:\pg.txt ')
      exportgroupe('p are-feux','c:\pf.tx t', 3000,3002)




      Comment

      • Richie Hindle

        #4
        Re: Is there something like Zoe in Python


        [??????][color=blue]
        > Zoe is an application written in Java that is also a SMTP/POP/WEB server
        > that sits between your normal mail user agent (Thunderbird, mutt or
        > Outlook) and the rest of the world. Every mail you've received or sent is
        > stored and indexed in Zoe, so that you can perform searches (ala Google) on
        > your own mail database, via its web interface.
        >
        > I was wondering if there's something similar but written in Python.[/color]

        Divmod Quotient: http://www.divmod.org/Home/Projects/Quotient/index.html

        I haven't used it, but I believe it's exactly what you describe.

        --
        Richie Hindle
        richie@entrian. com

        Comment

        • Miki Tebeka

          #5
          Re: Is there something like Zoe in Python

          Hello ????????????,
          [color=blue]
          > Zoe is an application written in Java that is also a SMTP/POP/WEB server
          > that sits between your normal mail user agent (Thunderbird, mutt or
          > Outlook) and the rest of the world. Every mail you've received or sent is
          > stored and indexed in Zoe, so that you can perform searches (ala Google) on
          > your own mail database, via its web interface.
          >
          > I was wondering if there's something similar but written in Python.[/color]
          You can do indexing with Lupy (http://www.divmod.org/Home/Projects/Lupy/)
          The SMTP/POP/WEB stuff can be done with the standard Python library or with
          twisted (http://twistedmatrix.com/).

          HTH.
          --
          ------------------------------------------------------------------------
          Miki Tebeka <miki.tebeka@gm ail.com>

          The only difference between children and adults is the price of the toys

          Comment

          Working...