19:fc8abb1911d0
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
A TextFile instance is not actually needed to wrap a file object. |
|
|
simplex/readers.py test_indexed.py test_scan.py
|
|
18:5a61083be20d
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Renamed "key" to "field" when referring to columns in delimited data. |
|
|
simplex/readers.py test_indexed.py test_scan.py
|
|
17:294a658846b6
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the index-related functions to use a get_key callable instead of an
object providing a get_key method. |
|
|
simplex/__init__.py test_indexed.py test_scan.py
|
|
16:d3776f8ba432
7:48a194ecc68c
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed readers to act like iterable objects instead of providing get_records methods. |
|
|
simplex/__init__.py simplex/readers.py
|
|
15:e71c98b4166a
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the test programs.
Initialised the conversion functions/methods in advance in the Converted
initialiser for increased performance. |
|
|
simplex/accessors.py test_indexed.py test_scan.py
|
|
14:807beac0d287
|
2011-10-02 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reintroduced conversion objects, moving state-related classes into a new
converters module, and permitting converters to retain state between operations. |
|
|
simplex/__init__.py simplex/accessors.py simplex/converters.py simplex/state.py
|
|
13:d254badcda0a
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced a mechanism for wrapping accessors with converters, removing the
simple mechanism supporting numeric conversion.
Renamed keys to fields in the context of delimited input data.
Merged the stateful iterator support into the basic iterator and accessor. |
|
|
simplex/accessors.py simplex/iterators.py test_indexed.py test_scan.py
|
|
12:8795a00cfb26
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Separated value conversion from the extraction of individual key values. |
|
|
simplex/accessors.py test_indexed.py test_scan.py
|
|
11:ce60e75cb65b
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed readers to act like iterators instead of providing get_records methods,
to accept record iterators in their initialisation instead of accessors, and to
present records to record iterators instead of instantiating new record
iterators.
Moved accessors and iterators into their own modules.
Introduced the concept of stateful iteration, providing examples of state
management. |
|
|
simplex/__init__.py simplex/accessors.py simplex/iterators.py simplex/readers.py simplex/state.py test_indexed.py test_scan.py
|
|
10:7812d65bc2d9
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Separated generic file reading support from text file support. |
|
|
simplex/readers.py
|
|