Skip to main content

extract TODOs

Project description

extract-todo is a simple commandline script for the extraction of TODOs. It can extract TODOs from single-line-comments like:

# TODO something todo


#TODO something todo

It prints the file, line number and the TODO text.


You need python3+ to run this script. It is no installation required but you can install it with

python install

ore install it from pypi with

pip install extract-todo


You can use this script with the command

python /path/to/file

or after installation

extract-todo /path/to/file

It prints the filename, line number and the TODO text.

Author and License

Copyright (C) Jens Wilberg July 2017 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with  If not, see <>.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
extract_todo-0.1.1-py2.py3-none-any.whl (17.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3
extract-todo-0.1.1.tar.gz (17.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page