Re: [Orgmode] A python module for orgmode files
Hi Jonathan, Jonathan BISSON writes: > A new project : A python module for orgmode files > > https://github.com/bjonnh/PyOrgMode > > Hope someone would find this useful/helpful. > > You can also contribute as much as you wish/can ;) > > The code is not really clean (I'm working on docstrings and cleaning-up) > but should be usable. Please send the diff between your test file and the > output (the included file test.org gives identical results, but it's not > always the case) using the test.py test script. > > This module works with Python 3.1 and 2.7. Can you provide a patch to Worg/org-tools/index.org about this python module? Centralizing third-part tools in such a place will probably help ideas cross-fertilization! Thanks, -- Bastien ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A python module for orgmode files
On Mon, Dec 13, 2010 at 7:24 PM, Jonathan BISSON wrote: > On 12/14/2010 01:03 AM, Chris Malone wrote: >> I guess the real question is: did you write the org-mode-parsing Python >> code using org-mode? ;-) > > No but I was thinking that would be nice to fold classes and get TODO items > (and even scheduled ones) > Maybe using # as a "star". I don't know if it it possible to couple > python-mode to org-mode I think what Chris was referring to is the fact that you can write literate programs using org-mode and org-babel. You can mix documentation and code, and then run some nifty functions that separate them out. The advantage, of course, is that your source is self-documenting. I suppose most people comment their code when they open-source a project, but I also suspect their are some real advantages to organizing your source code using org-mode's hierachies. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A python module for orgmode files
On 12/14/2010 01:03 AM, Chris Malone wrote: > I guess the real question is: did you write the org-mode-parsing Python > code using org-mode? ;-) No but I was thinking that would be nice to fold classes and get TODO items (and even scheduled ones) Maybe using # as a "star". I don't know if it it possible to couple python-mode to org-mode > Looks promising, and I'll see if there is anything I can contribute, > although I am currently more familiar with Python than org-mode. Thanks Jeff and Chris, I would be happy to see what can be done with this. (I'm trying to follow the http://www.python.org/dev/peps/pep-0008/ Python Style Guide for the code to be clean and understandable) J. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A python module for orgmode files
I guess the real question is: did you write the org-mode-parsing Python code using org-mode? ;-) Looks promising, and I'll see if there is anything I can contribute, although I am currently more familiar with Python than org-mode. Chris On Mon, Dec 13, 2010 at 6:57 PM, Jeff Horn wrote: > Thanks for sharing! I'm just learning Python, but grok org-mode well > enough to use it everyday. I'll take a look and contribute if I can! > > Jeff > > On Mon, Dec 13, 2010 at 6:31 PM, Jonathan BISSON > wrote: > > Hi all, > > > > A new project : A python module for orgmode files > > > > https://github.com/bjonnh/PyOrgMode > > > > Hope someone would find this useful/helpful. > > > > You can also contribute as much as you wish/can ;) > > > > The code is not really clean (I'm working on docstrings and cleaning-up) > but > > should be usable. Please send the diff between your test file and the > output > > (the included file test.org gives identical results, but it's not always > the > > case) using the test.py test script. > > > > This module works with Python 3.1 and 2.7. > > > > > > Cheers > > > > ___ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > > > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jh...@gmu.edu > jrhorn...@gmail.com > > http://www.failuretorefrain.com/jeff/ > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] A python module for orgmode files
Thanks for sharing! I'm just learning Python, but grok org-mode well enough to use it everyday. I'll take a look and contribute if I can! Jeff On Mon, Dec 13, 2010 at 6:31 PM, Jonathan BISSON wrote: > Hi all, > > A new project : A python module for orgmode files > > https://github.com/bjonnh/PyOrgMode > > Hope someone would find this useful/helpful. > > You can also contribute as much as you wish/can ;) > > The code is not really clean (I'm working on docstrings and cleaning-up) but > should be usable. Please send the diff between your test file and the output > (the included file test.org gives identical results, but it's not always the > case) using the test.py test script. > > This module works with Python 3.1 and 2.7. > > > Cheers > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] A python module for orgmode files
Hi all, A new project : A python module for orgmode files https://github.com/bjonnh/PyOrgMode Hope someone would find this useful/helpful. You can also contribute as much as you wish/can ;) The code is not really clean (I'm working on docstrings and cleaning-up) but should be usable. Please send the diff between your test file and the output (the included file test.org gives identical results, but it's not always the case) using the test.py test script. This module works with Python 3.1 and 2.7. Cheers ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode