Tool to learn from your org-mode notes
Project description
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file orglearn-1.1.5.tar.gz
.
File metadata
- Download URL: orglearn-1.1.5.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669d8fffba1382cec663c7939837148c9417df5bb5bab9e0f6c26485d1610c00 |
|
MD5 | c4e7682e61eaa7e865462484517158d7 |
|
BLAKE2b-256 | 4016e76e721f9a2ae291d7fca427d7507d7a84141ae4b50f47bb1f672fae495b |
File details
Details for the file orglearn-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: orglearn-1.1.5-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ec2d9465e8e846c612a7c3bf2636c402837a7cb3e878d7fa9cd34457989e94 |
|
MD5 | 80c1b725e46a75a520e5798b5e862e3d |
|
BLAKE2b-256 | 96e0caf1e8b1e1d3263e6488a8c4e34a4b81a98c6c198f6c3c3385b3ef7426a1 |