Python-Markdown extension for parsing Iron Vault journals
Project description
iron-vault-mdparser
A Python-Markdown (github) extension to parse Markdown files from the Iron Vault (github) Obsidian plugin.
Mainly parses anything within ```iron-vault-mechanics ... ``` blocks, but als frontmatter YAML.
Setup
Dependencies to use the extension / run the sample parser are listed in requirements.txt. It's recommended to set up a virtual environment.
$ python -m venv venv
$ . ./venv/bin/activate
$ (venv) $ pip install -r requirements.txt
For dependencies needed for development, check the Development section below.
Usage
$ python ./ironvault.py /path/to/vault/Journals/Session.md /tmp/Session.html
Development
Dependencies
Dependencies are separated to those required to run the extension and sample parser, and those that are
required for full development and CI pipeline runs (unit tests, coverage), and listed in requirements.in
and requirements-dev.in respectively. Those are on high level only, and pip-tools is used to create a
full list of requirements from it, which can then be passed pip install -f.
If you just want to hack some stuff together, the runtime dependencies are probably all you need, but if
you want to e.g. add and run tests, go with the -dev ones. To make life easier, a set of precompiled
requirements.txt and requirements-dev.txt files are added to the repository.
pip-tools
Dependencies are managed with pip-tools, which needs to be installed first, and latest now the virtual
environment is very recommended.
$ python -m venv venv
$ . ./venv/bin/activate
(venv) $ pip install pip-tools
To compile and install runtime requirements:
(venv) $ pip-compile requirements.in -o requirements.txt
(venv) $ pip install -r requirements.txt
To compile and install both runtime and development requirements:
(venv) $ pip-compile requirements.in requirements-dev.in -o requirements-dev.txt
(venv) $ pip install -r requirements-dev.txt
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ironvaultmd-0.1.tar.gz.
File metadata
- Download URL: ironvaultmd-0.1.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5b54d017ec29a072a38354aabc085598971c01555063ba3e3f778e89877ece
|
|
| MD5 |
7c8af0f86a07962aa00629be2e02e787
|
|
| BLAKE2b-256 |
6e0915e91f1d12e761794c4a940971dc0140c2692134ddba8deb4953946408f1
|
File details
Details for the file ironvaultmd-0.1-py3-none-any.whl.
File metadata
- Download URL: ironvaultmd-0.1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edbe9b5839a0722119c911146bb0cb4ebe73da120dbb9b18183f601344799501
|
|
| MD5 |
2f8a32861cf5d61c5b6e9a38c22bf6cc
|
|
| BLAKE2b-256 |
a6989b8c260326263af18a6030b1b5883ec4df90afb70f7a3dffd9cbd4f3cf70
|