Release 0.8

This commit is contained in:
Simon Willison 2019-01-25 18:13:29 -08:00
commit 3db4f08f19
3 changed files with 35 additions and 1 deletions

View file

@ -2,6 +2,36 @@
Changelog
===========
.. _v0_8:
0.8 (2019-01-25)
----------------
Two new commands: ``sqlite-utils csv`` and ``sqlite-utils json``
These commansd execute a SQL query and return the results as CSV or JSON. See :ref:`cli_csv` and :ref:`cli_json` for more details.
::
$ sqlite-utils json --help
Usage: sqlite-utils json [OPTIONS] PATH SQL
Execute SQL query and return the results as JSON
Options:
--nl Output newline-delimited JSON
--arrays Output rows as arrays instead of objects
--help Show this message and exit.
$ sqlite-utils csv --help
Usage: sqlite-utils csv [OPTIONS] PATH SQL
Execute SQL query and return the results as CSV
Options:
--no-headers Exclude headers from CSV output
--help Show this message and exit.
.. _v0_7:
0.7 (2019-01-24)

View file

@ -6,6 +6,8 @@
The ``sqlite-utils`` command-line tool can be used to manipulate SQLite databases in a number of different ways.
.. _cli_csv:
Running queries and returning CSV
=================================
@ -22,6 +24,8 @@ This will default to including the column names as a header row. To exclude the
1,4,Cleo
2,2,Pancakes
.. _cli_json:
Running queries and returning JSON
==================================

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
import io
import os
VERSION = "0.7"
VERSION = "0.8"
def get_long_description():