A Python3 tool to export your Things 3 database to a CSV, using the Things Python API.
-
Each of the Things database entities (Tasks, Projects, Areas, Tags) are exported separately, hence separate files for each.
-
If a task or project has not been modified since it's completion (e.g., by adding extra notes post-hoc), then one may take the
modified
property ofcompleted
tasks and projects as the completion date and time.
Install the Things Python API.
Assuming you have downloaded the files and are in the things_to_csv
directory, to get all of your Things data in a single CSV, run python3 things_to_csv.py True True
.
The first Boolean parameter represents the inclusion of completed tasks, and the second canceled tasks.
If you would only like to include incomplete tasks and projects, simply run python3 things_to_csv.py
Run python3 tasks_to_csv
to get all incomplete tasks as a CSV in this directory.
If you'd like to include completed and canceled tasks, run this program passing the optional parameters:
python3 tasks_to_csv.py True True
(where the first parameter represents the inclusion of completed tasks, and the second canceled tasks.)
Run python3 projects_to_csv
to get all incomplete projects as a CSV in this directory.
If you'd like to include completed and canceled projects, run this program passing the optional parameters:
python3 projects_to_csv.py True True
(where the first parameter represents the inclusion of completed projects, and the second canceled projects.)
Run python3 tags_to_csv
or python3 tags_to_csv
.
The outputs of these scripts will include extraneous columns, used for inter-operability with the CSV outputs of the other scripts.