Skip to main content

pypodo is a todolist tool which works with a .todo file positionned the root of the home directory : use pypodo to run it.

Project description

pypodo

pypodo (\pipudu\) is a pip package (or docker image if you want, see below!) : a todolist tool which works with a .todo file positionned the root of the home directory

Install/Upgrade/Uninstall

:warning: Not compatible with python2 who is deprecated! Use python3

pip3 install --user pypodo #Installation
pip3 install --user pypodo --upgrade #Upgrade
pip3 uninstall pypodo #Uninstall

https://pypi.org/project/pypodo/

Utilisation

Common commands are list/add/del/tag/untag

Other commands are help/backup/sort/find

  • pypodo add "to do work #name_of_tag" : add the task 'to do work' with the tag 'name_of_tag'

  • pypodo add "to do other_work #name_of_other_tag" "to do other_big_work #name_of_other_tag"

add the other task 'to do other_work' with the tag 'name_of_other_tag' the another task 'to do other_big_work' with the tag 'name_of_tag'

  • pypodo list

print the todolist with an index for each task :

1 to do work #name_of_tag
2 to do other_work #name_of_other_tag
3 to do other_big_work #name_of_other_tag
  • pypodo list "name_of_tag"

print the todolist filtered to the tag 'name_of_tag' :

1 to do work #name_of_tag
  • pypodo list "name_of_tag" "other_tag" : print the todolist filtered to tasks with the 2 tags together

  • pypodo del 2 : delete the second task of the todolist

  • pypodo del 1 2 : remove the 2 tasks

  • pypodo tag new_tag 1 : add the tag 'new_tag' to the first task

  • pypodo tag new_tag 1 2 : add the tag 'new_tag' to the first and second task

  • pypodo tag : display all tags of the todolist

  • pypodo untag new_tag 1 : remove tag 'new_tag' from the first task

  • pypodo untag new_tag 1 2 : remove the tag 'new_tag' to the first and second task

  • pypodo untag : display all tasks without tags

  • pypodo sort : reorder all tasks by index

  • pypodo backup : backup the actual .todo in a backup folder with a name suffixed by a timestamp

  • pypodo find "t.*he" : filter the todolist on the parameter (regex format)

  • pypodo help : display help message

  • pypodo : display help message

Screenshots

The indexes are in blue, the tasks in green, and the tags in yellow or red.

image

Docker usage [optionnal]

If you want, you can use pypodo as a docker image.

docker pull thibaultgarcon/pypodo:latest

to pull the docker image And your pypodo app is available 🤘 !

https://hub.docker.com/r/thibaultgarcon/pypodo

and

export PYPODO_FILE=<path of your pypodo file>
touch $PYPODO_FILE
export PYPODO_BACKUP=<path of your pypodo backup folder>
mkdir -p $PYPODO_BACKUP  
docker run --rm --mount type=bind,source=${PYPODO_FILE},target=/root/.todo --mount type=bind,source=${PYPODO_BACKUP},target=/root/.todo_backup thibaultgarcon/pypodo

to use it (display help message), add "list", "add" after the last command if you want.

If you don't want to write all this command at each time, you can create an alias :

alias pypodo="export PYPODO_FILE=<path of your pypodo file> && touch $PYPODO_FILE && export PYPODO_BACKUP=<path of your pypodo backup folder> && mkdir -p $PYPODO_BACKUP  && docker run --rm --mount type=bind,source=${PYPODO_FILE},target=/root/.todo --mount type=bind,source=${PYPODO_BACKUP},target=/root/.todo_backup thibaultgarcon/pypodo"

and

pypodo list
pypodo sort
...

or for a full time usage, change your .bash_profile file, and if you want use aliases in alias section after!

To remove docker app, just : docker rmi thibaultgarcon/pypodo

Alias [optionnal]

You can use alias as

#uncomment if you use docker app only
#alias pypodo="export PYPODO_FILE=<path of your pypodo file> && touch $PYPODO_FILE && export PYPODO_BACKUP=<path of your pypodo backup folder> && mkdir -p $PYPODO_BACKUP  && docker run --rm --mount type=bind,source=${PYPODO_FILE},target=/root/.todo --mount type=bind,source=${PYPODO_BACKUP},target=/root/.todo_backup pypodo"
#for all apps
alias tl='pypodo list'
alias ta='pypodo add'
alias tt='pypodo tag'
alias td='pypodo del'
alias ts='pypodo sort'
alias tu='pypodo untag'
alias tb='pypodo backup'
alias tf='pypodo find'

to improve your velocity!

For contributors :construction_worker:

Go to CONTRIBUTING.md

Tanks to contributors

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

pypodo-2.0.1.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

pypodo-2.0.1-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page