orgparse
orgparse copied to clipboard
Python module for reading Emacs org-mode files
``` python from pathlib import Path fp = Path('mypath') env = orgparse.OrgEnv(filename=fp) root = orgparse.load(fp, env) ``` => ``` File "/usr/lib/python3.10/site-packages/orgparse/__init__.py", line 142, in load return loadi(lines, filename=filename, env=env) File...
Your current folder structure looks like this ``` orgparse ├── doc │ ├── ... │ └── source │ └── ... ├── ... ├── orgparse │ ├── date.py │ ├── extra.py...
Here we are. I will give details about the improvements and arguments for them in direct code comments. # Intention My intention was a "bug" I haven't reported in an...
While writing a long Issue text about why `unittest` isn't running I found out that you use `pytest`. Please offer information's like this in your README or in separate `CONTRIBUTE.md`....
https://github.com/karlicoss/orgparse/blob/36b31d8151e45ac6701822864816b48446d3dcad/orgparse/__init__.py#L135 I am preparing a little bugfix but stumbled across this line where you use `codecs.open()` instead of `builtin.open()` or `pathlib.Path.open()`. From your current point of view: Is there a...
I wrote a `get_nodes_with_heading` function in `node.py` for my own project so that one can easily zoom-in on nodes with a certain heading in the loaded document. # Example Usage:...
Thanks for your recent work on orgparse, it looks promising. It would be great if orgparse supported lists like this: ``` - one - two - three ``` I was...
Now orgparse unable parse [multiline properties](https://emacs.stackexchange.com/a/38436). Properties where new values/new lines for same items presented as ``` :PROPERTIES: :item: value 1 :item+: same item value 2 :another_item: another value ```...
Hi! Author of [this primitive Org mode to Python3 parser](https://github.com/novoid/lazyblorg/blob/master/lib/orgparser.py) speaking. I'd love to replace my stupid parser with a decent one in the future - if possible. So: what...
Is there any plan to support writing to org files? i.e. creating new org-nodes?