Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

extract TODOs

Project description


travis Build

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.

Files for extract-todo, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size extract_todo-0.2.3-py3-none-any.whl (21.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size extract-todo-0.2.3.tar.gz (18.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page