From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georges Racinet Subject: Parsing org files with python Date: Sat, 23 Apr 2011 17:29:24 +0200 Message-ID: <4DB2F054.1040705@racinet.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0D2D43772F5FA9DF599FC7AA" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDeiX-0006We-CI for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 11:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDeiV-0003rP-SM for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 11:25:53 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDeiV-0003rF-Kx for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 11:25:51 -0400 Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 87C4C17207B for ; Sat, 23 Apr 2011 17:25:50 +0200 (CEST) Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 5mwbH+QxTVpS for ; Sat, 23 Apr 2011 17:25:49 +0200 (CEST) Received: from [192.168.0.12] (bob75-1-81-57-228-14.fbx.proxad.net [81.57.228.14]) (Authenticated sender: georges@racinet.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 10173172070 for ; Sat, 23 Apr 2011 17:25:47 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0D2D43772F5FA9DF599FC7AA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there, I'm a quite recent user of org-mode (just a few months, very partial usage for now), and a python developer. Since I spend almost all my time in Emacs, org-mode is the most efficient tool to keep track of my working time. Now the question : are you aware of a python library to parse org files ?= The ultimate goal would be to write an importer for OpenERP, which is itself written in python, and of course I'd prefer not to reinvent the wheel. A simple search on the web returned a project called OrgNode or orgtils, hosted at Google Code : http://members.optusnet.com.au/~charles57/GTD/orgnode.html http://code.google.com/p/orgtils/ but it lacks as far as I can tell the capability of understanding CLOCK markers and is not published on pypi.python.org either. Perhaps is the author on this list, too ? Are there other known libraries around that may prove useful ? Being quite new to this game, I could be mistaken, but it doesn't seem to have anything to do with org-babel, right ? And please, don't hesitate to tell if this ain't the right mailing-list for that kind of question :-) Cheers --=20 Georges Racinet, http://www.racinet.fr Zope/CPS expertise, assistance & development GPG: 0x4862FFF7 identi.ca & twitter: gracinet --------------enig0D2D43772F5FA9DF599FC7AA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNsvBUAAoJEOAffZJiF+Z4HogIAKaXbvXY/MyomITDu7P/2d+C e6axa+9IVsrzR6ObQbIjb5mbh9Tth0tHwMEyPwucR3kkillUp+i73TC8FLnVh51a HKiyko6qhLdCxvt064G9P86zoMp41UVmjVv39diiHMW2ehfV+kofGpY0Xf5hiY4O UWZsTglV96Lw3yQjYtnXpIffkCPUEXTYd255i4obBRqH7G8Xinu3LNoZcfO1CkTn n2EHr4IsdShXN5Km7mw2Otkzvgwap6O0QXJshaA4HGGUszHvYzaXcSQTZ3coxBui w1C2kjMjgPB5JA/1xbRpvC+V+3N40/lrxvXdUsVNCUIc5U/7aoXQwdE9HCRu7k4= =RfwI -----END PGP SIGNATURE----- --------------enig0D2D43772F5FA9DF599FC7AA--