TODO extractor from text file
Python script for extracting TODO notes from text file.
List can be grouped into sections and can be summarized with stats.
Installation
$ pip install todo-extract
Requirements
The script requires Python3 installed, no other dependencies.
Usage
$ todo-extract --help
usage: todo-extract [-h] [-s] [-c] file_name
Extract todo items from markdown file
positional arguments:
file_name markdown file path
optional arguments:
-h, --help show this help message and exit
-s, --stats display stats
-c, --chapters display items grouped by important/not important and done/not done
Examples
extraction of bare list, no stats
$ todo-extract file.md
output:
- buy a bag of chips
- buy a bag of cookies
- buy apples
- buy oranges
- buy bananas
- buy pears
- buy plums
- buy avocados
- buy water
- [!] buy bread
extraction of list summarized with stats
$ todo-extract --stats file.md
- buy a bag of chips
- buy a bag of cookies
- buy apples
- buy oranges
- buy bananas
- buy pears
- buy plums
- buy avocados
- buy water
- [!] buy bread
stats:
-------
10 all items (done or not done)
3 not done normal items (42% of all normal items are not done)
4 done normal items (57% of all normal items are done)
2 important items todo (66% of all important items are not done)
1 important items done (33% of all important items are done)
extraction of list divided into sections/chapters
$ todo-extract --chapters file.md
==== Done normal items: 4 ====
- buy oranges
- buy bananas
- buy pears
- buy plums
==== Important done items: 1 ====
- [!] buy bread
==== Normal todo items: 3 ====
- buy a bag of chips
- buy a bag of cookies
- buy apples
==== Important todo items: 2 ====
- buy avocados
- buy water
License
Metadata
Release files for todo-extract 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 | |
|---|---|---|---|---|
| todo_extract-0.2.5.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| todo_extract-0.2.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / todo_extract-0.2.5.tar.gz
| Download URL | todo_extract-0.2.5.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c089474f8d98bcfd90e6e58e8011ccc38e9e8ebd33cea88b262f419f592de65
|
|
BLAKE2b-256 checksum How to use checksums |
b6ee22b1bbcd540821cf05f5d74471ff58185ba59749a421a001e34da17d5926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Release files / todo_extract-0.2.5-py3-none-any.whl
| Download URL | todo_extract-0.2.5-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06bb7506dd1989c6563cff8baceda83f55cb13edc2237a3cc1c215618a5e49e2
|
|
BLAKE2b-256 checksum How to use checksums |
d82623e4bb6875caedfe7d9341a9283e93235921b53695e82d6cbf8be00efdf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Security for todo-extract 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.