Skip to content

Commit 362178a

Browse files
author
sjmachin
committed
Release 0.7.0 preparation including minor documentation changes
git-svn-id: https://secure.simplistix.co.uk/svn/xlrd/trunk@3790 ac150577-6901-3246-a117-cd8547e6756f
1 parent dbd261a commit 362178a

15 files changed

+1824
-274
lines changed

HISTORY.html

+75-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,84 @@
1-
<p> Version 0.7.0a5, not publicly released yet
2-
</p>
3-
<ul>
4-
<li> Logfile arg wasn't being passed from open_workbook to compdoc.CompDoc. Reported by Martijn Faassen.
5-
</li><li> Allow for BIFF2/3-style FORMAT record in BIFF4/8 file
1+
<p> Revision : 3782 -- Author: sjmachin -- Date: 2009-02-23 23:00:50
2+
</p><ul>
3+
<li> colname utility function now supports more than 256 columns.
4+
</li><li> Fix bug where BIFF record type 0x806 was being regarded as a formula opcode.
5+
</li><li> Ignore PALETTE record when formatting_info is false.
6+
</li><li> Tolerate up to 4 bytes trailing junk on PALETTE record.
7+
</li><li> Fixed bug in unused utility function xldate_from_date_tuple which affected some years after 2099.
8+
</li><li> Added code for inspecting as-yet-unused record types: FILEPASS, TXO, NOTE.
9+
</li><li> Added inspection code for add_in function calls.
10+
</li><li> Added support for unnumbered biff_dump (better for doing diffs).
11+
</li></ul>
12+
<p> Revision : 3613 -- Author: chris -- Date: 2008-11-22 04:06:36
13+
</p><ul>
14+
<li> ignore distutils cruft
15+
</li></ul>
16+
<p> Revision : 3574 -- Author: sjmachin -- Date: 2008-11-04 11:51:20
17+
</p><ul>
18+
<li> Avoid assertion error in compdoc when -1 used instead of -2 for first_SID of empty SCSS
19+
</li></ul>
20+
<p> Revision : 3480 -- Author: chris -- Date: 2008-09-19 20:43:00
21+
</p><ul>
22+
<li> Make version numbers match up.
23+
</li></ul>
24+
<p> Revision : 3431 -- Author: sjmachin -- Date: 2008-07-28 10:37:35
25+
</p><ul>
26+
<li> Enhanced recovery from out-of-order/missing/wrong CODEPAGE record.
27+
</li><li> Added Name.area2d convenience method.
28+
</li><li> Avoided some checking of XF info when formatting_info is false.
29+
</li><li> Minor changes in preparation for XLSX support.
30+
</li></ul>
31+
<p> Revision : 3311 -- Author: chris -- Date: 2008-03-14 22:09:01
32+
</p><ul>
33+
<li> remove duplicate files that were out of date.
34+
</li></ul>
35+
<p> Revision : 3287 -- Author: sjmachin -- Date: 2008-02-14 06:33:32
36+
</p><ul>
37+
<li> Basic support for Excel 2.0
38+
</li></ul>
39+
<p> Revision : 3284 -- Author: sjmachin -- Date: 2008-02-09 05:37:57
40+
</p><ul>
41+
<li> Decouple Book init & load.
42+
</li><li> runxlrd: minor fix for xfc.
43+
</li><li> More Excel 2.x work.
44+
</li><li> is_date_format() tweak.
45+
</li><li> Better detection of IronPython.
46+
</li></ul>
47+
<p> Revision : 3265 -- Author: sjmachin -- Date: 2007-12-25 19:09:45
48+
</p><ul>
49+
<li> Better error message (including first 8 bytes of file) when file is not in a supported format.
50+
</li></ul>
51+
<p> Revision : 3263 -- Author: sjmachin -- Date: 2007-12-20 07:04:55
52+
</p><ul>
53+
<li> More BIFF2 formatting: ROW, COLWIDTH, and COLUMNDEFAULT records;
54+
</li><li> finished stage 1 of XF records.
55+
</li></ul>
56+
<p> Revision : 3262 -- Author: sjmachin -- Date: 2007-12-11 07:40:33
57+
</p><ul>
58+
<li> More work on supporting BIFF2 (Excel 2.x) files.
59+
</li></ul>
60+
<p> Revision : 3250 -- Author: sjmachin -- Date: 2007-12-04 20:37:14
61+
</p><ul>
62+
<li> Added support for Excel 2.x (BIFF2) files. Data only, no formatting info. Alpha.
63+
</li></ul>
64+
<p> Revision : 3234 -- Author: sjmachin -- Date: 2007-11-21 00:55:56
65+
</p><ul>
66+
<li> Wasn't coping with EXTERNSHEET record followed by CONTINUE record(s).
67+
</li></ul>
68+
<p> Revision : 3168 -- Author: sjmachin -- Date: 2007-10-13 09:19:01
69+
</p><ul>
70+
<li> Allow for BIFF2/3-style FORMAT record in BIFF4/8 file
671
</li><li> Avoid crash when zero-length Unicode string missing options byte.
772
</li><li> Warning message if sector sizes are extremely large.
873
</li><li> Work around corrupt STYLE record
974
</li><li> Added missing entry for blank cell type to ctype_text
1075
</li><li> Added "fonts" command to runxlrd script
1176
</li><li> Warning: style XF whose parent XF index != 0xFFF
12-
</li>
13-
</ul>
77+
</li></ul>
78+
<p> Revision : 2868 -- Author: sjmachin -- Date: 2007-07-11 11:02:55
79+
</p><ul>
80+
<li> Logfile arg wasn't being passed from open_workbook to compdoc.CompDoc.
81+
</li></ul>
1482

1583
<p> Version 0.6.1, 2007-06-10
1684
</p>

PKG-INFO

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Metadata-Version: 1.0
22
Name: xlrd
3-
Version: 0.7.0a5
3+
Version: 0.7.0
44
Summary: Library for developers to extract data from Microsoft Excel (tm) spreadsheet files
55
Home-page: http://www.lexicon.net/sjmachin/xlrd.htm
66
Author: John Machin
77
Author-email: [email protected]
88
License: BSD
99
Download-URL: http://www.lexicon.net/sjmachin/xlrd.htm
10-
Description: Extract data from new and old Excel spreadsheets on any platform. Pure Python (2.1 or later). Strong support for Excel dates. Unicode-aware.
10+
Description: Extract data from new and old Excel spreadsheets on any platform. Pure Python (2.1 to 2.6). Strong support for Excel dates. Unicode-aware.
1111
Keywords: xls,excel,spreadsheet,workbook
1212
Platform: Any platform -- don't need Windows
1313
Classifier: Development Status :: 5 - Production/Stable

README.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</dl>
2424
<p><b>Versions of Excel supported</b>:
2525
2004, 2003, XP, 2000, 97, 95, 5.0, 4.0, 3.0, 2.1, 2.0.
26-
Support for Excel 2007 .xlsx files is in the pipeline.
26+
Support for Excel 2007 .xlsx files scheduled for version 0.7.1.
2727
</p>
2828
<p><b>Outside the current scope</b>: xlrd will safely and reliably ignore any of these
2929
if present in the file:

make_doc.bat

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cd \xlrd\svnco\trunk
2+
python pkg_doc.py
3+
python pythondoc.py xlrd\compdoc.py
4+
rename pythondoc-compdoc.html compdoc.html
5+
copy xlrd.html xlrd\doc
6+
copy compdoc.html xlrd\doc

pkg_doc.py

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
from pythondoc import ET, parse, CompactHTML
2+
3+
MODULE_NAME = "xlrd"
4+
PATH_TO_FILES = "C:/xlrd/svnco/trunk/xlrd"
5+
6+
7+
module = ET.Element("module", name=MODULE_NAME)
8+
9+
parts = [
10+
'__init__',
11+
'sheet',
12+
'xldate',
13+
# 'compdoc',
14+
'biffh',
15+
'formatting',
16+
'formula',
17+
]
18+
flist = ["%s/%s.py" % (PATH_TO_FILES, p) for p in parts]
19+
for fname in flist:
20+
print "about to parse", fname
21+
elem = parse(fname)
22+
for elem in elem:
23+
if module and elem.tag == "info":
24+
# skip all module info sections except the first
25+
continue
26+
module.append(elem)
27+
28+
formatter = CompactHTML()
29+
print formatter.save(module, MODULE_NAME), "ok"
30+

0 commit comments

Comments
 (0)