Contents
Download query output, reports and tickets as an Excel file
Description
This plugin allows you to download Trac query output, reports and ticket pages as an Excel spreadsheet file. The plugin creates spreadsheets using openpyxl or xlwt library, both of which are open source licensed.
Key features:
- In the query and ticket screen, you can download all entries including the change history of tickets.
- The downloaded data can be further manipulated in Excel spreadsheets.
To use this plugin, visit the query, report or ticket page in your Trac installation. Click the Excel
or Excel including history
links at the bottom of the pages to initiate an export to an Excel spreadsheet file:
Note: The latter link is unavailable in the report page.
See also: ExportImportXlsPlugin
Bugs/Feature Requests
Existing bugs and feature requests for ExcelDownloadPlugin are here.
If you have any issues, create a new ticket.
defect |
9 / 9 |
||
---|---|---|---|
enhancement |
4 / 6 |
Download
Download the zipped source from here.
Source
You can check out ExcelDownloadPlugin from here using Subversion, or browse the source with Trac.
Installation
- Install the pypi:openpyxl or pypi:xlwt library:
- If you want Excel 2007 format (*.xlsx), install openpyxl (and lxml which is optional but reduces memory usage):
$ pip install openpyxl lxml
- If you want Excel 2003 format (*.xls), install pypi:xlwt:
$ pip install xlwt
- You could install pypi:xlwt/0.7.5 for Python 2.4 or 2.5.
$ pip install xlwt==0.7.5
- You could install pypi:xlwt/0.7.5 for Python 2.4 or 2.5.
- If you want Excel 2007 format (*.xlsx), install openpyxl (and lxml which is optional but reduces memory usage):
- Install the plugin:
- For Trac 1.0 and later:
$ pip install svn+https://trac-hacks.org/svn/exceldownloadplugin/1.0
- For Trac 0.12.x:
$ pip install svn+https://trac-hacks.org/svn/exceldownloadplugin/0.12
- For Trac 1.0 and later:
- Enable the plugin in your
trac.ini
file:[components] tracexceldownload.* = enabled
- Restart your tracd (or web server) if needed.
Recent Changes
- 18652 by jun66j5 on 2024-08-09 21:01:31
-
ExcelDownloadPlugin: make compatible with openpyxl 3.1.3+ (closes #14352)
- 18625 by jun66j5 on 2024-04-02 05:03:21
-
ExcelDownloadPlugin: fix *.xlsx export failing with garbled surrogate characters
- 18504 by jun66j5 on 2023-02-20 02:32:14
-
ExcelDownloadPlugin: update deps in tox.ini
(more)
Author/Contributors
Author: jun66j5
Maintainer: Jun Omae
Contributors: OpenGroove,Inc. and tracpath
Attachments (1)
- format-excel.png (154.4 KB) - added by 13 years ago.
Download all attachments as: .zip