Skip to main content

Tool to learn from your org-mode notes

Project description

GitHub

Orglearn

Orglearn provides toolbox for learning from your org-mode notes. It can generate mind maps, anki decks and even pdfs textbooks.

Modes [commands]

Anki

Convert notes to anki deck. The converter will take all leafs of the tree (nodes without children) and convert them into anki cards. The node title is front-side of the card and the body is the back-side of the card.

Mind map

Convert notes into a mid map. This is a good way to visualize the relationships between each node.

PDF

Orglearn is able to create pdf from your notes. You can achieve similar results converting org files to pdf using emacs. But we think that using pandoc results in better looking PDFs and gives us the best way to customize the result.

To be able to convert org files to pdf you need to have pandoc along with pdflatex installed on your system.

Installation

The latest stable release of orglearn can be obtained via pypi:

pip install orglearn

If you wish to install the latest master branch:

git clone https://github.com/MatejKastak/orglearn && cd orglearn
python -m venv env && . env/bin/activate # In case you want to install in virtualenv.
pip install .

Usage

Below are some basic examples for running orglearn:

orglearn anki file1.org # Convert org file into anki deck ./file1.apkg
orglearn anki file1.org file2.org # Convert multiple files into single deck

Contributing

Contributions are highly appreciated. If you choose to contribute please read the Contribution Guidelines (TBD).

We are using the black for the source code formatting. To use it automatically prepare pre-commit hooks with the following command.

pre-commit install # Install the pre-commit hooks

Tests

Use the following command to run tests:

make test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orglearn-1.1.4.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

orglearn-1.1.4-py3-none-any.whl (18.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page