Commit graph

744 commits

Author SHA1 Message Date
Simon Willison
751ab205ac Fix for --multi combined with --dry-run, closes #415 2022-03-20 21:18:18 -07:00
Simon Willison
878d5f5cea errors=r.SET_NULL/r.IGNORE options for parsedate/parsedatetime, closes #416 2022-03-20 21:01:35 -07:00
Simon Willison
433813612f Move sqls=[] closer to where it is populated 2022-03-11 13:44:07 -08:00
Simon Willison
9388edf57a Changelog item for 3.25.1 3.25.1
Refs #413, #414
2022-03-11 10:34:44 -08:00
Simon Willison
40b76f6f56
Release 3.25.1
Refs #413
2022-03-11 10:08:20 -08:00
Simon Willison
6fd7c138e2 Fixed .transform() method which I broke in #413 2022-03-11 09:54:17 -08:00
Simon Willison
26e6d2622c Use :param x: for docstring comments, refs #413 2022-03-11 09:39:17 -08:00
Simon Willison
7f56f90d30
Fixed rST mistake 2022-03-01 23:01:07 -08:00
Simon Willison
b2b04aec01 Release 3.25 3.25
Refs #343, #408
2022-03-01 22:34:46 -08:00
Simon Willison
d25cdd37a3 db.sqlite_version property and fix for deterministic=True on SQLite 3.8.3
Closes #408
2022-03-01 16:37:53 -08:00
Simon Willison
521921b849 Fixed mypy error, refs #343 2022-03-01 16:05:11 -08:00
Simon Willison
931b1e1513 .insert(hash_id_columns=) parameter, closes #343 2022-03-01 16:00:51 -08:00
Edward Betts
b6c9dfce0b
Correct spelling mistakes (found with codespell) (#410) 2022-03-01 13:05:29 -08:00
Simon Willison
7a098aa0c5
Link to my blog series 2022-02-17 07:39:54 -08:00
Simon Willison
757f103ae2 Release 3.24 3.24
Refs ##397, #398, #401, #403, #404, #405, #407
2022-02-15 17:39:13 -08:00
Simon Willison
4bc06a2437 memory_name= feature, closes #405 2022-02-15 17:23:11 -08:00
Simon Willison
8f528ed2b1 Fix ReST warning 2022-02-15 17:21:07 -08:00
Simon Willison
3e5a4f60cc Tweaked SpatiaLite CLI docs, refs #398 2022-02-15 17:06:49 -08:00
Chris Amico
a692c56659
Add SpatiaLite helpers to CLI (#407)
* Add SpatiaLite CLI helpers
* Add docs for spaitalite helpers
* Fix flake8 issues and add more detail on spatial types
* Run cog and add some help text.
* Use SpatiaLite when calculating coverage, refs #407

Co-authored-by: Simon Willison <swillison@gmail.com>
2022-02-15 16:58:07 -08:00
Simon Willison
e7f040106b Add an example of --text too, refs #404 2022-02-08 23:03:04 -08:00
Simon Willison
7142dbd58d Fixed typo in --help 2022-02-08 22:57:21 -08:00
Simon Willison
79a5ece62e Add --convert example to sqlite-utils insert --help, closes #404 2022-02-08 22:55:01 -08:00
Simon Willison
3acc2f1772 Adding a primary key to a rowid table, closes #403 2022-02-08 11:33:45 -08:00
Simon Willison
fea8c9bcc5 Improved SpatiaLite example, closes #401 2022-02-05 18:03:21 -08:00
Simon Willison
aa24903113 Create table if_not_exists=True argument, closes #397 2022-02-05 17:28:53 -08:00
Simon Willison
79b5b58354 Basic test for db[t].create(...), refs #397 2022-02-05 17:19:39 -08:00
Simon Willison
088d899822 Release 3.23 3.23
Refs #79, #363, #392, #393, #395, #396
2022-02-03 22:41:46 -08:00
Simon Willison
20fe3b8abf Fixed RST warning about empty line 2022-02-03 22:32:57 -08:00
Simon Willison
44894c6f6c Fix warning about duplicate object description 2022-02-03 22:31:13 -08:00
Simon Willison
482fcc0da7 Fix for flake8, refs #79 2022-02-03 22:13:17 -08:00
Simon Willison
0fe0f476a7 Fix for mypy error, closes #396
Should help tests pass for #395 and #79
2022-02-03 22:10:28 -08:00
Simon Willison
e46798959e
Looks like Actions if: clauses prefer single quotes
Refs #395, #79
2022-02-03 22:06:23 -08:00
Simon Willison
7494187284
Only install SpatiaLite on Ubuntu, refs #395
For tests added to #79
2022-02-03 22:05:12 -08:00
Simon Willison
cea25c28ba Capitalization of SpatiaLite 2022-02-03 21:59:59 -08:00
Simon Willison
4a2a3e2fd0
Install SpatiaLite in tests
To run tests for #79, #385
2022-02-03 21:56:34 -08:00
Chris Amico
ee11274fcb
New spatialite helper methods, closes #79
- db.init_spatialite()
- table.add_geometry_column()
- table.create_spatial_index()

Co-authored-by: Simon Willison <swillison@gmail.com>
2022-02-03 21:55:09 -08:00
Simon Willison
9dcb099905 Better error messages for --convert, closes #363 2022-02-03 14:51:25 -08:00
Simon Willison
7d928f8308 Better insert-replace CLI documentation, refs #393 2022-02-03 14:11:38 -08:00
Simon Willison
813b6d07ab Much improved insert-replace documentation, refs #393 2022-02-03 14:11:38 -08:00
Simon Willison
b2ab08e048
Don't test main against 3.11-dev yet
It breaks on Windows. Refs #394
2022-02-03 13:07:00 -08:00
Simon Willison
44cbddff8a
Run tests against Python 3.11-dev
Refs #394
2022-02-02 14:21:38 -08:00
Simon Willison
a6da26a856
Simplified example 2022-01-30 07:24:13 -08:00
Simon Willison
feb01c1ddd
Fixed duplicated example 2022-01-30 07:22:39 -08:00
Simon Willison
6663d28952
SQL injection, not XSS 2022-01-30 07:17:20 -08:00
Simon Willison
d1e9f09c06 Removed unneccessary import, refs #392 2022-01-26 10:23:48 -08:00
Simon Willison
d1d2a8e6fa sqlite-utils bulk --batch-size option, closes #392 2022-01-26 10:15:23 -08:00
Simon Willison
a9fca7efa4 Release 3.22.1 3.22.1
Refs #384, #387, #389
2022-01-25 19:28:30 -08:00
Simon Willison
be1e89da5f Fixed flake8 errors 2022-01-25 19:22:06 -08:00
Simon Willison
2b20957b18 Better validation for upsert --pk, closes #390 2022-01-25 19:19:39 -08:00
Simon Willison
4c6023452c Examples in --help for remaining commands, closes #384 2022-01-25 19:14:59 -08:00