Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright notice. | Andi Albrecht | 2020-10-07 | 2 | -2/+2 |
| | |||||
* | Remove support for end-of-life Pythons | Jon Dufresne | 2020-08-31 | 2 | -5/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.7 and 3.4 are end-of-life. They are no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01 and 3.4 on 2019-03-18. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards modern Python 3. Using pypinfo, we can show the PyPI download statistics, showing less than 10% of users are using Python 2.7. | python_version | percent | download_count | | -------------- | ------: | -------------: | | 3.7 | 45.36% | 3,056,010 | | 3.6 | 26.46% | 1,782,778 | | 3.8 | 12.22% | 823,213 | | 2.7 | 9.97% | 671,459 | | 3.5 | 5.86% | 394,846 | | 3.4 | 0.10% | 6,700 | | 3.9 | 0.03% | 2,346 | | 2.6 | 0.00% | 57 | | 3.3 | 0.00% | 21 | | 3.10 | 0.00% | 6 | | Total | | 6,737,436 | Library users who continue to use Python 2.7 will still be able to install previous versions of sqlparse. Compatibility shims have been dropped, simplifying the code. Using pyupgrade, the codebase has been updated to take advantage of modern syntax <https://github.com/asottile/pyupgrade>. The wheel is no longer marked as "universal" as it is now Python 3 only. | ||||
* | Refactored extract column defs example (fixes #439, #411, #526). | Andreas Albrecht | 2020-01-06 | 1 | -13/+20 |
| | |||||
* | Update extract_table_names.py | James Winegar | 2019-07-18 | 1 | -1/+1 |
| | | | PEP 479 Python 3.5+ raises an exception for StopIteration instead of a null return. | ||||
* | Update copyright header (fixes #372). | Andi Albrecht | 2018-07-31 | 2 | -2/+4 |
| | |||||
* | Use https:// for URLs where available | Jon Dufresne | 2018-04-13 | 1 | -1/+1 |
| | |||||
* | Correct license link (fixes #288). | Andi Albrecht | 2016-09-14 | 2 | -2/+2 |
| | |||||
* | Unify_naming_schema. Closes #283 | Victor Uriarte | 2016-08-22 | 1 | -1/+1 |
| | |||||
* | Rename token_idx_ funcs to simply token_ funcs | Victor Uriarte | 2016-06-15 | 1 | -4/+4 |
| | |||||
* | Change token_ funcs to token_idx funcs | Victor Uriarte | 2016-06-15 | 1 | -4/+4 |
| | |||||
* | Fix column_defs example | Victor Uriarte | 2016-06-12 | 1 | -22/+18 |
| | |||||
* | Apply new-style str format | Victor Uriarte | 2016-06-11 | 2 | -9/+10 |
| | |||||
* | Update init and misc files | Victor Uriarte | 2016-06-06 | 2 | -5/+18 |
| | |||||
* | refactor sql.py functions | Victor Uriarte | 2016-05-11 | 1 | -1/+1 |
| | |||||
* | Misc code cleanup. | Andi Albrecht | 2015-10-26 | 2 | -6/+6 |
| | |||||
* | Code cleanup. | Andi Albrecht | 2013-06-17 | 1 | -0/+5 |
| | |||||
* | Fix indentation and simplify processing logic in example (fixes issue98, ↵ | Andi Albrecht | 2013-06-17 | 1 | -5/+5 |
| | | | | issue99). | ||||
* | Stop parsing tables at first keyword after "from". | Robert Nix | 2013-06-17 | 1 | -1/+3 |
| | | | | Currently, the parser isn't smart enough to acknowledge the end of the from-clause list so keywords as table names will still fail. But in simple tests, this solution works. Best-practice: don't use SQL keywords as table names. :) | ||||
* | Add example script to extract table names. | Andi Albrecht | 2010-10-22 | 1 | -0/+53 |
| | |||||
* | Added low-level parsing example. | Andi Albrecht | 2009-04-23 | 1 | -0/+48 |