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 |
|
paul@10 | 38 | New in sqlliterals 0.2.1 (Changes since sqlliterals 0.2)
|
paul@10 | 39 | --------------------------------------------------------
|
paul@10 | 40 |
|
paul@10 | 41 | * Added packaging infrastructure and setup script.
|
paul@10 | 42 |
|
paulb@4 | 43 | New in sqlliterals 0.2 (Changes since sqlliterals 0.1)
|
paulb@4 | 44 | ------------------------------------------------------
|
paulb@4 | 45 |
|
paulb@4 | 46 | * Added a replace function to the different modules which permits the
|
paulb@4 | 47 | replacement of carefully chosen parameter markers with markers having a
|
paulb@4 | 48 | different representation.
|
paulb@4 | 49 |
|
paulb@1 | 50 | Release Procedures
|
paulb@1 | 51 | ------------------
|
paulb@1 | 52 |
|
paulb@1 | 53 | Update the sqlliterals/__init__.py __version__ attribute.
|
paulb@1 | 54 | Update the release notes (see above).
|
paul@10 | 55 | Update the package information.
|
paulb@1 | 56 | Check the release information in the PKG-INFO file.
|
paul@10 | 57 | Check the setup.py file.
|
paulb@1 | 58 | Tag, export.
|
paulb@1 | 59 | Archive, upload.
|
paulb@1 | 60 | Update PyPI entry.
|