No project description provided
Project description
OrJi
Install
OrJi is typically best installed by installing pipx through your system package manager and then installing orji using pipx.
pipx install orji
QuickStart
orji myorg.org myjinja.jinja2
With myorg.org:
* TODO A todo note
About text
* DONE A done note with bullet points :tag1:
+ Bullet one
+ Bullet two
* A third note with checkboxes :tag2:tag3:
- [ ] Checkbox 1
- [X] Checkbox 2
- [ ] Checkbox 3
* Fourth note
:PROPERTIES:
:prop1: ABC
:prop2: CDE
:END:
Text
And myjinja2.jinja2:
{% for note in notes %}
-------------------------
Name: {{ note.name }}
Slug: {{ note.slug }}
State: {{ note.state }}
Tags: {% for tag in note.tags %}{{ tag }} {% endfor %}
Text:
{{ note.body }}
Rich:
{% for line in note.body.lines %}
{{ line }}
{%- endfor %}
-------------------------
{% endfor %}
=========================
Lookup:
Text: {{ notes.at("Fourth note").body }}
Property 1: {{ notes.at("Fourth note").prop["prop1"] }}
output:
-------------------------
Name: A todo note
Slug: a-todo-note
State: TODO
Tags:
Text:
About text
Rich:
About text
-------------------------
-------------------------
Name: A done note with bullet points
Slug: a-done-note-with-bullet-points
State: DONE
Tags: tag1
Text:
+ Bullet one
+ Bullet two
Rich:
+ Bullet one
+ Bullet two
-------------------------
-------------------------
Name: A third note with checkboxes
Slug: a-third-note-with-checkboxes
State: None
Tags: tag2 tag3
Text:
- [ ] Checkbox 1
- [X] Checkbox 2
- [ ] Checkbox 3
Rich:
- [ ] Checkbox 1
- [X] Checkbox 2
- [ ] Checkbox 3
-------------------------
-------------------------
Name: Fourth note
Slug: fourth-note
State: None
Tags:
Text:
Text
Rich:
Text
-------------------------
=========================
Lookup:
Text:
Text
Property 1: ABC
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
orji-1.0.14.tar.gz
(2.7 kB
view details)
Built Distribution
orji-1.0.14-py3-none-any.whl
(4.2 kB
view details)
File details
Details for the file orji-1.0.14.tar.gz
.
File metadata
- Download URL: orji-1.0.14.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678f505fdf6baf8eb5ddbcc5b83b2fd1d148ffc0cea9400b12c6cdfdb0c9aa43 |
|
MD5 | 823c8e8e0111a95a8f2a986e3a5d3d27 |
|
BLAKE2b-256 | 383b98e346fc441e19b365789a56c0bb635ade82663bb3dd665b05eb05f45f1f |
File details
Details for the file orji-1.0.14-py3-none-any.whl
.
File metadata
- Download URL: orji-1.0.14-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8072e2dff97f6ab0335ede3105e0275e9ea796662d0d6420d8e8df962699d413 |
|
MD5 | a11ec18ceb6931054e4c72af4f5743c1 |
|
BLAKE2b-256 | 4b1a2e39531d56eeae8575147a4c0c13bc7de8ff471fd45d8cb76be3aad9f769 |