<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlparse.git/sqlparse/cli.py, branch 0.4.4</title>
<subtitle>github.com: andialbrecht/sqlparse.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/'/>
<entry>
<title>Update copyright notice.</title>
<updated>2020-10-07T06:54:27+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-10-07T06:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=10b0ec24cefc4e2c36a04e1250a0635051071f35'/>
<id>10b0ec24cefc4e2c36a04e1250a0635051071f35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove support for end-of-life Pythons</title>
<updated>2020-09-01T00:27:38+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-05-24T13:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=3e3892f939031d58d98275ce8a237689225d299a'/>
<id>3e3892f939031d58d98275ce8a237689225d299a</id>
<content type='text'>
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 &lt;https://github.com/asottile/pyupgrade&gt;.

The wheel is no longer marked as "universal" as it is now Python 3 only.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;https://github.com/asottile/pyupgrade&gt;.

The wheel is no longer marked as "universal" as it is now Python 3 only.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright header (fixes #372).</title>
<updated>2018-07-31T06:12:54+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2018-07-31T06:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=3853a076c63493f43e969cf4ddd2e642e92f02fb'/>
<id>3853a076c63493f43e969cf4ddd2e642e92f02fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new option --indent_columns to indent all columns by --indent_width</title>
<updated>2018-03-03T14:30:07+00:00</updated>
<author>
<name>Patrick Schemitz</name>
<email>patrick.schemitz@digitalbriefkasten.de</email>
</author>
<published>2018-03-03T14:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=ec0af031e646251b91c15761012ede966d455358'/>
<id>ec0af031e646251b91c15761012ede966d455358</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #345 from johshoff/master</title>
<updated>2017-11-24T10:52:36+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2017-11-24T10:52:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=4e44545cb759a7b321d85009e7258385fae71740'/>
<id>4e44545cb759a7b321d85009e7258385fae71740</id>
<content type='text'>
Option to indent after first line</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Option to indent after first line</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unclosed file warnings discovered during tests</title>
<updated>2017-10-29T00:07:09+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2017-10-29T00:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=acaf00cbaf32e7a14e39bcc0a5fd774a5385faa0'/>
<id>acaf00cbaf32e7a14e39bcc0a5fd774a5385faa0</id>
<content type='text'>
Appear as:

  ResourceWarning: unclosed file ...

Always explicitly close files or detach file wrappers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Appear as:

  ResourceWarning: unclosed file ...

Always explicitly close files or detach file wrappers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Close files during tests.</title>
<updated>2017-09-24T07:14:35+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2017-09-24T07:14:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=bf9ce73e3720bdbf1cc671f35f4f299511d59650'/>
<id>bf9ce73e3720bdbf1cc671f35f4f299511d59650</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Option to indent after first line</title>
<updated>2017-06-21T03:18:15+00:00</updated>
<author>
<name>Johannes Hoff</name>
<email>johshoff@gmail.com</email>
</author>
<published>2017-06-21T03:18:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=7cdefe9aa751fa54831cc1e64fbf4b16acc6c90e'/>
<id>7cdefe9aa751fa54831cc1e64fbf4b16acc6c90e</id>
<content type='text'>
This adds a command line argument `--indent_after_first` which sets the
indentation of all lines after the first one, e.g. SELECT, UPDATE, etc. For
example:

    $ sqlparse/__main__.py -r sample.sql
    UPDATE foo
      SET a = 1
      WHERE a &gt; 2
        AND a &lt; 10;

    $ sqlparse/__main__.py -r --indent_after_first sample.sql
    UPDATE foo
    SET a = 1
    WHERE a &gt; 2
      AND a &lt; 10;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a command line argument `--indent_after_first` which sets the
indentation of all lines after the first one, e.g. SELECT, UPDATE, etc. For
example:

    $ sqlparse/__main__.py -r sample.sql
    UPDATE foo
      SET a = 1
      WHERE a &gt; 2
        AND a &lt; 10;

    $ sqlparse/__main__.py -r --indent_after_first sample.sql
    UPDATE foo
    SET a = 1
    WHERE a &gt; 2
      AND a &lt; 10;
</pre>
</div>
</content>
</entry>
<entry>
<title>CLI: Add --encoding option</title>
<updated>2017-01-12T03:20:32+00:00</updated>
<author>
<name>Tao Wang</name>
<email>twang2218@gmail.com</email>
</author>
<published>2017-01-11T09:38:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=f6e9141d3131954c7576faf059ceca8a652f3dad'/>
<id>f6e9141d3131954c7576faf059ceca8a652f3dad</id>
<content type='text'>
* Add `--encoding` option with default utf-8
* Make sure input and output are in same encoding
* Add test cases

Signed-off-by: Tao Wang &lt;twang2218@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add `--encoding` option with default utf-8
* Make sure input and output are in same encoding
* Add test cases

Signed-off-by: Tao Wang &lt;twang2218@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add formatter option for comma first notation (fixes #141).</title>
<updated>2016-09-14T16:42:22+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2016-09-14T16:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=4d05b441fcb801d320ac52ce90465b74d419ceac'/>
<id>4d05b441fcb801d320ac52ce90465b74d419ceac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
