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.1.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orglearn-1.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file orglearn-1.1.1.tar.gz.

File metadata

  • Download URL: orglearn-1.1.1.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for orglearn-1.1.1.tar.gz
Algorithm Hash digest
SHA256 031764d5e963fe59a6c8e8cdebcc090e078ead652e6549a2b056b2eb925aaa10
MD5 7ea24b5cbf0f69734b3761ee49055f75
BLAKE2b-256 00dd5010c547006b75fcb2dfdcc8c7827f53919221b8ca6c0db4faaee2a8501c

See more details on using hashes here.

File details

Details for the file orglearn-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: orglearn-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for orglearn-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f1315f4e60c391fd6a17a1a7ab145fd444a3ef52ce31652869724532a868cd2
MD5 af251e0bb48bf2311b096607f5978e02
BLAKE2b-256 b624e51ec3aad8a68b942040759bd6d64077dc1be797a7536a2fba36815229ea

See more details on using hashes here.

Supported by

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