Simon Willison
|
69c7da5ec9
|
Implemented .convert(..., where=, where_args=), refs #304
|
2021-08-02 11:33:56 -07:00 |
|
Simon Willison
|
4823aff4c3
|
table.count_where() method, closes #305
|
2021-08-01 22:08:17 -07:00 |
|
Simon Willison
|
5ec6686153
|
sqlite-utils convert command and db[table].convert(...) method
Closes #251, closes #302.
|
2021-08-01 21:47:39 -07:00 |
|
Simon Willison
|
c7e8d72be9
|
Release 3.13
3.13
Refs #299
|
2021-07-24 15:15:27 -07:00 |
|
Simon Willison
|
ab8d4aad0c
|
sqlite-utils schema now takes optional tables, closes #299
|
2021-07-24 15:08:36 -07:00 |
|
Simon Willison
|
8286a66413
|
sqlite-utils memory --help now mentions --schema
|
2021-06-28 09:35:01 -07:00 |
|
Simon Willison
|
8981b9c1f3
|
Release 3.12
3.12
Refs #290, #291, #292
|
2021-06-25 10:59:05 -07:00 |
|
Simon Willison
|
fec6cd55ca
|
Contributing documentation, closes #292
|
2021-06-25 10:53:46 -07:00 |
|
Simon Willison
|
747be6057d
|
Added some more types, refs #266, #290
|
2021-06-24 16:06:12 -07:00 |
|
Simon Willison
|
33c9d00879
|
Documentation for db.query(), closes #290
|
2021-06-24 15:54:38 -07:00 |
|
Simon Willison
|
93c7fd9868
|
Ignore this entire file, refs #291
|
2021-06-22 19:08:52 -07:00 |
|
Simon Willison
|
1fba60537d
|
Try more aggressive noqa, refs #291
|
2021-06-22 19:06:18 -07:00 |
|
Simon Willison
|
02898bf7af
|
Run flake8 in CI, refs #291
|
2021-06-22 18:23:12 -07:00 |
|
Simon Willison
|
90e211e3e2
|
Now complies with flake8, refs #291
|
2021-06-22 18:22:08 -07:00 |
|
Simon Willison
|
8d1d801389
|
mypy tweaks, refs #289, #266, #37
|
2021-06-22 11:08:21 -07:00 |
|
Simon Willison
|
7b3fdf0fcd
|
mypy annotations for rows_from_file(), run mypy in CI
Refs #289, #279
|
2021-06-22 11:04:32 -07:00 |
|
Simon Willison
|
3805d1c973
|
Removed duplicate vacuum() function, thanks mypy
|
2021-06-22 10:44:12 -07:00 |
|
Simon Willison
|
e5d7a2ba3d
|
Tests for db.query() method, refs #290
|
2021-06-22 10:43:49 -07:00 |
|
Simon Willison
|
9faeef230b
|
New db.query() method, refs #290
|
2021-06-21 21:03:59 -07:00 |
|
Simon Willison
|
8cedc6a8b2
|
Typo fix
Thanks, https://twitter.com/garrettc/status/1406705348648525830
|
2021-06-20 13:44:02 -07:00 |
|
Simon Willison
|
adcd32a866
|
Re-enable publish testing on macos-latest
3.11
|
2021-06-20 11:52:15 -07:00 |
|
Simon Willison
|
a25a5845b8
|
Release 3.11
Refs #286, #287, #288
|
2021-06-20 11:50:48 -07:00 |
|
Simon Willison
|
dbcba6c597
|
Added installation instructions, closes #286
|
2021-06-20 11:47:09 -07:00 |
|
Simon Willison
|
933be66eba
|
sqlite-utils memory --schema, closes #288
Also updated some rowid examples, closes #287
|
2021-06-20 11:25:21 -07:00 |
|
Simon Willison
|
dce9bb05b6
|
Really fix the anchors this time
|
2021-06-19 14:43:04 -07:00 |
|
Simon Willison
|
e71c41d39b
|
Fixed broken anchors
|
2021-06-19 13:36:16 -07:00 |
|
Simon Willison
|
eb18b6e42c
|
Disabling macos-latest for the moment
3.10
GitHub seems to have run out of workers right now.
|
2021-06-19 09:09:29 -07:00 |
|
Simon Willison
|
13e76b375a
|
Release 3.10
Refs #272, #274, #275, #276, #282, #284, #285
|
2021-06-19 09:01:39 -07:00 |
|
Simon Willison
|
0e797033f9
|
.transform() on rowid (non-pk) tables bug fix, closes #284
|
2021-06-19 08:28:26 -07:00 |
|
Simon Willison
|
5b257949d9
|
table.use_rowid introspection property, closes #285
|
2021-06-19 08:12:29 -07:00 |
|
Simon Willison
|
dc94f4bb8c
|
Don't detect types on JSON input to memory, closes #283
|
2021-06-19 07:52:44 -07:00 |
|
Simon Willison
|
ec5174ed40
|
Detect types for sqlite-utils memory CSV, opt out with --no-detect-types - closes #282
|
2021-06-18 21:37:56 -07:00 |
|
Simon Willison
|
fd9867d145
|
sqlite-utils insert --detect-types option, refs #282
|
2021-06-18 21:18:58 -07:00 |
|
Simon Willison
|
59992d2fee
|
Better help text for 'sqlite-utils memory', refs #272
|
2021-06-18 20:20:56 -07:00 |
|
Simon Willison
|
1091a9cbd8
|
Add sqlite-utils memory to the README, refs #272
|
2021-06-18 20:14:12 -07:00 |
|
Simon Willison
|
00e4bd5ff1
|
TSV and JSON support for sqlite-utils memory
Closes #281, closes #279, refs #272
|
2021-06-18 20:11:54 -07:00 |
|
Simon Willison
|
93594ce15b
|
Open CSV in binary mode, refs #280
|
2021-06-18 08:36:09 -07:00 |
|
Simon Willison
|
7684bbf097
|
--encoding option for sqlite-utils memory, closes #280
Refs #272
|
2021-06-18 08:29:41 -07:00 |
|
Simon Willison
|
42ec59d8ee
|
sqlite-utils memory command for directly querying CSV/JSON data
* Turn SQL errors into click errors
* Initial CSV-only prototype of sqlite-utils memory, refs #272
* Implement --save plus tests for --save and --dump, refs #272
* Re-arranged CLI query documentation, refs #272
* Re-organized CLI query docs, refs #272
* Docs for --save and --dump plus made SQL optional for those, refs #273
* Replaced one last :memory: example
* Documented --attach option for memory command, refs #272
* Improved arrangement of CLI query documentation
|
2021-06-18 08:00:52 -07:00 |
|
Simon Willison
|
eea3851d40
|
Added test, formatted with Black - refs #276, #277
|
2021-06-18 07:57:32 -07:00 |
|
Loren McIntyre
|
aa652b6afe
|
add -h support
Closes #276
|
2021-06-18 07:56:59 -07:00 |
|
Simon Willison
|
a19ce1a4d0
|
codecov badge, closes #275
|
2021-06-16 17:12:11 -07:00 |
|
Simon Willison
|
f003d051e7
|
Not using .coveragerc, refs #275
|
2021-06-16 16:55:53 -07:00 |
|
Simon Willison
|
276fc4297c
|
Enable codecov.io, refs #275
|
2021-06-16 16:54:16 -07:00 |
|
Simon Willison
|
ca2b26130f
|
sqlite-utils dump command, closes #274
|
2021-06-16 16:51:48 -07:00 |
|
Simon Willison
|
fe1562e8a6
|
Structure of most_common and least_common columns
|
2021-06-16 09:36:32 -07:00 |
|
Simon Willison
|
287cdcae89
|
Turn SQL errors into click errors
|
2021-06-15 21:40:28 -07:00 |
|
Simon Willison
|
78aebb6479
|
Link to --load-extension docs
|
2021-06-15 19:36:16 -07:00 |
|
Simon Willison
|
a54b6788b0
|
Sub-headings for .transform()
|
2021-06-15 15:34:29 -07:00 |
|
Simon Willison
|
a81c05d235
|
Clarify types that can be passed to .transform()
|
2021-06-14 20:47:34 -07:00 |
|