Skip to content

Show ASCII or HTML report for doit task execution status

License

Notifications You must be signed in to change notification settings

saimn/doit-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report command for doit.

This plugin for doit add a new report command, which shows an ASCII or HTML report with the task execution status.

Install:

$ pip install doit-report

Usage:

$ doit report
$ doit report --html=out.html

This plugin uses Astropy's Table class to create a table and print it either to the console in ASCII format or to an HTML page. Astropy is an heavy dependency (it requires Numpy) for this small plugin, but it was the easiest way to go for now and I didn't find similar features in a lighter package.

Note that doit does not save the execution status after each task ends, but only when doit run exits. This is an issue for long-running tasks, and would need either something like #228 or a better backend.

Example console output:

console output

And HTML:

HTML output

About

Show ASCII or HTML report for doit task execution status

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages