paulb@1 | 1 | Introduction
|
paulb@1 | 2 | ------------
|
paulb@1 | 3 |
|
paulb@1 | 4 | The sqlliterals distribution consists of a package containing two different
|
paulb@1 | 5 | implementations of SQL statement tokenisation for the detection of literal
|
paulb@4 | 6 | regions in such statements. It also provides a function which can replace
|
paulb@4 | 7 | one kind of parameter marker with another in statements, subject to the
|
paulb@4 | 8 | careful choice of the original parameter marker (since the replacement process
|
paulb@4 | 9 | builds on the above tokenisation process and the identification of non-literal
|
paulb@4 | 10 | regions).
|
paulb@4 | 11 |
|
paulb@4 | 12 | Examples
|
paulb@4 | 13 | --------
|
paulb@4 | 14 |
|
paulb@4 | 15 | See the test.py file for some tests and simple examples which use the parsing/
|
paulb@4 | 16 | tokenising and replacement functions.
|
paulb@1 | 17 |
|
paulb@1 | 18 | Contact, Copyright and Licence Information
|
paulb@1 | 19 | ------------------------------------------
|
paulb@1 | 20 |
|
paulb@1 | 21 | The current Web page for sqlliterals at the time of release is:
|
paulb@1 | 22 |
|
paulb@1 | 23 | http://www.python.org/pypi/sqlliterals
|
paulb@1 | 24 |
|
paulb@1 | 25 | Copyright and licence information can be found in the docs directory - see
|
paulb@1 | 26 | docs/COPYING.txt and docs/LICENCE.txt for more information.
|
paulb@1 | 27 |
|
paulb@1 | 28 | Dependencies
|
paulb@1 | 29 | ------------
|
paulb@1 | 30 |
|
paulb@1 | 31 | The sqlliterals.pyparser package has the following dependency:
|
paulb@1 | 32 |
|
paulb@1 | 33 | Package Release Information
|
paulb@1 | 34 | ------- -------------------
|
paulb@1 | 35 |
|
paulb@1 | 36 | pyparsing Tested with 1.2
|
paulb@1 | 37 |
|
paulb@4 | 38 | New in sqlliterals 0.2 (Changes since sqlliterals 0.1)
|
paulb@4 | 39 | ------------------------------------------------------
|
paulb@4 | 40 |
|
paulb@4 | 41 | * Added a replace function to the different modules which permits the
|
paulb@4 | 42 | replacement of carefully chosen parameter markers with markers having a
|
paulb@4 | 43 | different representation.
|
paulb@4 | 44 |
|
paulb@1 | 45 | Release Procedures
|
paulb@1 | 46 | ------------------
|
paulb@1 | 47 |
|
paulb@1 | 48 | Update the sqlliterals/__init__.py __version__ attribute.
|
paulb@1 | 49 | Update the release notes (see above).
|
paulb@1 | 50 | Check the release information in the PKG-INFO file.
|
paulb@1 | 51 | Tag, export.
|
paulb@1 | 52 | Archive, upload.
|
paulb@1 | 53 | Update PyPI entry.
|