1
0
Fork 0
forked from fz0x1/go-org-py
go-org-py-orgwiki/README.md
2025-06-23 17:25:28 +02:00

594 B

go-org-py

go-org-py provides Python bindings for go-org, a fast and accurate Org-mode parser and renderer written in Go. The bindings are generated using gopy, enabling direct access to go-org functionality from Python.

install

go install golang.org/x/tools/cmd/goimports@latest
go install github.com/go-python/gopy@master
pip install git+https://git.fz0x1.wtf/fz0x1/go-org-py.git

using

from go_org_py import convert

html = convert.OrgToHTML("* test")
# or
html = convert.Render("* test", <path file>, "html")