Zippity
dum lil CLI to collect TODOs for ChatGPT
Installation
pipx install zippity_py
Usage
After installation, you can use the CLI by running:
> zpt --help
Usage: zpt [OPTIONS] [SOURCE_DIRECTORY]
Options:
-e, --extensions TEXT (Default: '.py,.js,.ts')
-r, --result_file PATH (Default: 'ZIPPITYDO_EXAMPLE.md')
-t, --template_file PATH
--help
Template
Templates are jinja markdown files, that get passed an list of these:
FileTodos = TypedDict(
"FileTodos",
{
"todos": List[Todo],
"content": str,
"language": str,
"mimetype": str,
"name": str,
},
)
Each FileTodo will have a list of todos, like this:
Todo = TypedDict(
"Todo",
{
"line_number": int,
"text": str,
},
)
The default template is in template/template.md; once compiled it looks like this:
Contributing
Contributions are welcome. Please make sure to update tests as appropriate.
License
Release files for zippity-py 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zippity_py-0.1.1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zippity_py-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / zippity_py-0.1.1.tar.gz
| Download URL | zippity_py-0.1.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7181b68c346a8246f678289d988487d4c95423941777dbc443f83a91c95f85b
|
|
BLAKE2b-256 checksum How to use checksums |
11d136ba7b53a3919da1af12417f2dac58fd5db985943aa07a933dd07174ece7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / zippity_py-0.1.1-py3-none-any.whl
| Download URL | zippity_py-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2fd335393a1b59f706ca7c305d8787b4609083e3e3bf193a4eece05ae5b5c6a1
|
|
BLAKE2b-256 checksum How to use checksums |
0d429f05bf087210ca65cf0723531031bb3257f51b210ab0be7ad3343d484952
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|