ment
What is this?
ment is a tool to
-
write daily logs in markdown quickly
-
synthesize daily logs based on category
Synthesizing daily logs is like sorting loose-leaf notebook.
Installation
pip install ment
Usage
start editting
m
Type m<Enter>.
Default,it means vim ~/ment_dir/<todays_date>/diary.md
If you want to switch editor, look configuration
synthesize by tag
m synthe <tag_name>
Then, it extracts contents followed by "# <tag_name>" from daily logs,
and outputs ~/ment_dir/synthe/<tag_name>/synthe_<tag_name>.md.
If you want to list tags,m list.
To synthesize recent 7days document,m week.
It outputs ~/ment_dir/synthe/week/synthe_week.md.
To read synthesized documents,m read <tag_name>.
To update already synthesized documents, m update.
configuration
If you want to change editor and directory, please set environment variable.
export MENT_DIR="/path/to/documents"
export MENT_EDITOR="your editor"
Default,MENT_DIR is ~/ment_dir/
directory structure
~/ment_dir/
├── 2021-03-27
│ └── 2021-03-27.md
├── 2021-03-28
│ └── 2021-03-28.md
├── 2021-03-29
│ └── 2021-03-29.md
├── 2021-03-30
│ └── 2021-03-30.md
└── synthe
├── tag1
│ └── synthe_tag1.md
├── tag2
│ └── synthe_tag2.md
├── tag3
│ └── synthe_tag3.md
└── weeks.md
completion
bash-completion file for ment is bash_completion_for_ment.
cat bash_completion_for_ment >> ~/.bash_completion
source ~/.bashrc
Metadata
Release files for ment 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ment-0.2.5.tar.gz | 4.6 kB | Without provenance | Details for ment-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ment-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for ment-0.2.5-py3-none-any.whl |
Total release size: 9.4 kB
Release files / ment-0.2.5.tar.gz
| Download URL | ment-0.2.5.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34392fb637b57e07f0a0c47240edbc9ca57ad640deb0b4f9d55ca6ff6d9eec40
|
|
BLAKE2b-256 checksum How to use checksums |
abd7048a5f1960d7395da3e041618f63d1981461ac748ff32a5df53216b21e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-44-generic
|
Release files / ment-0.2.5-py3-none-any.whl
| Download URL | ment-0.2.5-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
078966c30f6dc91d8af205d0aec7f6688f9acfed1726c864bdfe3d8ea1fbf3a3
|
|
BLAKE2b-256 checksum How to use checksums |
d0d69aa723194fb6fb7126206bcfe266b92530063f3d08a980c61f17d56a8cac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-44-generic
|
Security for ment 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.