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
|
|
9:1361f999ab07
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made the FileIterator work with records instead of resources.
Added a method to show the appropriate Unix sort command for delimited data. |
|
|
simplex/readers.py
|
|
8:6e1d369de4b3
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Incorporated usage of accessors into readers so that they can provide records
and keys directly. |
|
|
simplex/__init__.py simplex/readers.py test_indexed.py test_scan.py
|
|
7:48a194ecc68c
8:6e1d369de4b3 16:d3776f8ba432
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added short-circuiting of failed searches.
Added term/key conversion support so that numerically sorted keys can be used. |
|
|
simplex/__init__.py simplex/readers.py test_indexed.py test_scan.py
|
|
6:c120a1af7f6c
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Replaced the single module with a package. |
|
|
simplex.py simplex/__init__.py simplex/readers.py
|
|
5:a78ee57c5c7d
|
2011-10-01 |
Paul Boddie |
changeset
files
shortlog
graph
|
Split the TextFile class into reader and accessor classes. |
|
|
simplex.py test_indexed.py test_scan.py
|
|