Simon Willison
|
046e5246c9
|
Longer delay to hopefully get test to pass, refs #364
|
2022-01-09 20:51:07 -08:00 |
|
Simon Willison
|
e6ae643497
|
Did not need WAL after all, refs #364
|
2022-01-09 20:41:00 -08:00 |
|
Simon Willison
|
cfb3f12358
|
Only buffer input if --sniff, closes #364
|
2022-01-09 20:39:58 -08:00 |
|
Simon Willison
|
d2a79d200f
|
--nl now ignores blank lines, closes #376
|
2022-01-09 20:12:39 -08:00 |
|
Simon Willison
|
2f8879235a
|
Renamed function to fix lint error, refs #348
|
2022-01-09 12:39:14 -08:00 |
|
Simon Willison
|
1d64cd2e5b
|
sqlite-utils create-database command, closes #348
|
2022-01-09 12:33:16 -08:00 |
|
Simon Willison
|
f08fe6fd4d
|
Fixed error in docs: it's suffix not extension, refs #372
|
2022-01-09 12:18:31 -08:00 |
|
Simon Willison
|
c9ecd0d6a3
|
stem and suffix columns for insert-files, closes #372
|
2022-01-09 12:16:52 -08:00 |
|
Simon Willison
|
49a54ffb2f
|
Fix for cog error
Should help tests pass for #374, #371
|
2022-01-09 12:08:03 -08:00 |
|
Simon Willison
|
22c8d10dd3
|
--convert function can now modify row in place, closes #371
|
2022-01-09 12:06:02 -08:00 |
|
Simon Willison
|
b8c134059e
|
--fmt now implies --table, closes #374
|
2022-01-09 10:07:48 -08:00 |
|
Simon Willison
|
148e9c7aee
|
Use cog to maintain --fmt list, closes #373
|
2022-01-09 09:48:48 -08:00 |
|
Simon Willison
|
e0c476bc38
|
Fix test for Python 3.6, refs #368
|
2022-01-08 18:37:53 -08:00 |
|
Simon Willison
|
539f5ccd90
|
Support 'python -m sqlite_utils', closes #368
Refs #364
|
2022-01-08 18:33:22 -08:00 |
|
Simon Willison
|
a8f9cc6f64
|
Add test for chunks(), refs #364
|
2022-01-08 13:16:52 -08:00 |
|
Simon Willison
|
6e46b99134
|
Renamed ip to source in example code
|
2022-01-06 10:01:35 -08:00 |
|
Simon Willison
|
3d464893ee
|
Release 3.20
3.20
Refs #344, #353, #356, #362
|
2022-01-05 22:55:35 -08:00 |
|
Simon Willison
|
a7b29bfaa9
|
Fixed bug with sqlite-utils upsert --detect-types, closes #362
|
2022-01-05 22:28:29 -08:00 |
|
Simon Willison
|
413f8ed754
|
--convert --text for iterators, docs for --convert
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
2e4847e493
|
Implemented --convert for different things, renamed --all to --text
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
e66299c6ed
|
Implemented and documented sqlite-utils insert --all
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
f1569c9f7f
|
Implemented sqlite-utils insert --lines
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
d1ed2f423d
|
Refactored sqlite-utils insert tests into test_cli_insert.py
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
9e286cc6d2
|
New help for --lines and --all and --convert and --import, refs #356
|
2022-01-05 22:24:53 -08:00 |
|
Simon Willison
|
f3fd861311
|
Removed unneccessary pytest-runner, closes #357
|
2021-12-16 12:43:12 -08:00 |
|
Simon Willison
|
ee13f98c2c
|
Better test for rebuild, refs #354
|
2021-12-10 16:59:37 -08:00 |
|
Simon Willison
|
3b2a7c0e5b
|
Refactor test for #149, spitting it from other rebuild test
Also refs #354
|
2021-12-10 16:56:50 -08:00 |
|
Simon Willison
|
500a35ad4d
|
Also support def convert(value), closes #355
Plus added custom syntax error display
|
2021-12-10 16:49:28 -08:00 |
|
Simon Willison
|
7a43af232e
|
Support nested imports, closes #351
|
2021-12-10 16:11:22 -08:00 |
|
Simon Willison
|
a3df483c80
|
sqlite-utils convert db table column -, refs #353
|
2021-12-10 16:01:02 -08:00 |
|
Simon Willison
|
e328db8eba
|
Improved schema example for sqlite-utils extract
|
2021-12-10 13:12:38 -08:00 |
|
Simon Willison
|
213a0ff177
|
Really fix flake8 error, refs #344, #345
|
2021-11-29 14:34:40 -08:00 |
|
Simon Willison
|
1f8178f7e4
|
Fix flake8 error, refs #344, #345
|
2021-11-29 14:29:57 -08:00 |
|
Simon Willison
|
e3f108e0f3
|
db.supports_strict and table.strict properties, refs #344
|
2021-11-29 14:19:30 -08:00 |
|
Simon Willison
|
126703706e
|
Release 3.19
3.19
Refs #342
|
2021-11-20 20:41:56 -08:00 |
|
Simon Willison
|
33176ad47b
|
Run pytest with colors
Tip from https://twitter.com/cjolowicz/status/1461266663681187841
|
2021-11-19 00:09:16 -08:00 |
|
Simon Willison
|
8f386a0d30
|
Release 3.19a0
3.19a0
Refs #342
|
2021-11-18 23:27:41 -08:00 |
|
Simon Willison
|
93b21c230a
|
Extra parameters for .lookup(), passed to .insert() - closes #342
|
2021-11-18 23:26:50 -08:00 |
|
Simon Willison
|
3b8abe6087
|
Release 3.18
3.18
Refs #324, #329, #330, #331, #332, #335, #338, #339
|
2021-11-14 19:15:23 -08:00 |
|
Simon Willison
|
ffb54427d3
|
insert now replaces square braces in column name with underscore, closes #341
|
2021-11-14 18:56:35 -08:00 |
|
Simon Willison
|
fb9d61754a
|
Better type signature for hash_id, closes #341
|
2021-11-14 18:19:28 -08:00 |
|
Simon Willison
|
54a2269e91
|
Optional second argument to .lookup() to populate extra columns, closes #339
|
2021-11-14 18:01:56 -08:00 |
|
Simon Willison
|
9cda5b070f
|
Handle dict/tuple/list mapping to TEXT, closes #338
|
2021-11-14 16:36:00 -08:00 |
|
Simon Willison
|
84007dffa8
|
Applied Black, refs #322, #328
|
2021-11-14 16:28:53 -08:00 |
|
Mina Rizk
|
271b894af5
|
Map dict to TEXT
Thanks, @minaeid90
|
2021-11-14 16:27:40 -08:00 |
|
Denys Pavlov
|
bc4c42d688
|
Use python-dateutil package instead of dateutils (#324)
|
2021-11-14 15:25:40 -08:00 |
|
Simon Willison
|
adea5bc396
|
flake8 fix, refs #331
|
2021-11-14 15:24:15 -08:00 |
|
Simon Willison
|
73e214a976
|
py.typed file so mypy picks up the types, closes #331
|
2021-11-14 15:21:04 -08:00 |
|
Simon Willison
|
12b8c9de25
|
sqlite-utils memory --flatten, closes #332
|
2021-11-14 15:05:00 -08:00 |
|
Simon Willison
|
13195d8747
|
Test demonstrating fix for #335
|
2021-11-14 14:55:42 -08:00 |
|