Commit graph

377 commits

Author SHA1 Message Date
Simon Willison
f1569c9f7f Implemented sqlite-utils insert --lines 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
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
e3f108e0f3 db.supports_strict and table.strict properties, refs #344 2021-11-29 14:19:30 -08:00
Simon Willison
126703706e Release 3.19
Refs #342
2021-11-20 20:41:56 -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
Refs #324, #329, #330, #331, #332, #335, #338, #339
2021-11-14 19:15:23 -08:00
Simon Willison
54a2269e91 Optional second argument to .lookup() to populate extra columns, closes #339 2021-11-14 18:01:56 -08:00
Denys Pavlov
bc4c42d688
Use python-dateutil package instead of dateutils (#324) 2021-11-14 15:25:40 -08:00
Simon Willison
12b8c9de25 sqlite-utils memory --flatten, closes #332 2021-11-14 15:05:00 -08:00
Simon Willison
e8d958109e create_index(..., find_unique_name=True) option, refs #335 2021-11-14 14:49:42 -08:00
Simon Willison
718a8f61bc
Clarified description of --quote 2021-10-02 09:54:39 -07:00
Simon Willison
54191d4dc1 Release 3.17.1
Refs #325, #328
2021-09-22 13:49:36 -07:00
Simon Willison
c1b26eed03 sqlite-utils memory handles files with same filename, closes #325 2021-09-22 13:45:37 -07:00
Simon Willison
77c240df56 Release 3.17
Refs #319, #320
2021-08-24 16:40:18 -07:00
Simon Willison
49a010c93d
Ability to insert file contents as text, in addition to blob (#321) 2021-08-24 16:31:13 -07:00
Simon Willison
9258f4bd84 sqlite-utils memory --analyze, closes #320 2021-08-22 08:44:25 -07:00
Simon Willison
5912878d62 Release 3.16
Refs #37, #246, #294, #295, #296, #314, #316
2021-08-18 15:36:32 -07:00
Simon Willison
61b60f58ce Nice capitalization of API reference 2021-08-18 13:13:52 -07:00
Simon Willison
ccf128cd6d sqlite-utils search --quote option, closes #296 2021-08-18 13:10:44 -07:00
Simon Willison
8ae77a6961 table.search(quote=True) parameter, refs #296 2021-08-18 12:55:53 -07:00
Simon Willison
1fa5a12a49 Documentation for db.quote_fts(), refs #246 2021-08-18 11:55:50 -07:00
Simon Willison
1fe73c898b
Remove link to older code example 2021-08-18 11:31:20 -07:00
Simon Willison
7a19822ac9
Updated tagline 2021-08-17 08:42:02 -07:00
Simon Willison
3091bec4f7
Don't show inheritance for Database class 2021-08-11 04:54:00 -07:00
Simon Willison
bde3725257 Fixed spelling existent 2021-08-10 16:55:12 -07:00
Simon Willison
86fc9fb5c8 Release 3.15.1
Refs #311, #312, #313, #315
2021-08-10 16:53:10 -07:00
Simon Willison
6155da72c8
Add reference page to documentation using Sphinx autodoc (#312)
* Docstrings and type annotations for almost every method
* New /reference API documentation page using Sphink autodoc
* Custom Read The Docs config, to get autodoc working
* Fix for #313 (add_foreign_keys() doesn't reject being called with a View)
* Fixed #315 (.delete_where() returns [] when it should return self)
2021-08-10 16:09:28 -07:00
Simon Willison
ee469e3122 Corrected tiny mistake in --flatten examples 2021-08-09 15:50:59 -07:00
Simon Willison
d5ef912120 Release 3.15
Refs #309, #310
2021-08-09 15:42:06 -07:00
Simon Willison
3fb1034e86 option, not object, refs #310 2021-08-09 14:46:47 -07:00
Simon Willison
f67327abf0 sqlite-utils insert --flatten option, closes #310 2021-08-09 14:44:03 -07:00
Simon Willison
cc90745f4e Started a Jupyter notebook tutorial, refs #308 2021-08-04 13:34:30 -07:00
Simon Willison
cff6afcc43 Run codespell against source code too, refs #307 2021-08-03 10:06:08 -07:00
Simon Willison
991cf56ae2 Check spelling with codespell, closes #307 2021-08-03 09:48:49 -07:00
Simon Willison
f7c8c78cd0
Fixed typo: commad 2021-08-02 23:05:45 -07:00
Simon Willison
d83f624a31 Clarified documentation for convert recipes, refs #251 2021-08-02 15:39:16 -07:00
Simon Willison
ec50e5eebc sqlite3.enable_callback_tracebacks(True) in docs, closes #300 2021-08-02 14:53:44 -07:00
Simon Willison
e83aef951b New :issue: macro, closes #306 2021-08-02 14:29:16 -07:00
Simon Willison
723ee35344 Release 3.14
Refs #251, #301, #302, #303, #304, #305
2021-08-02 14:29:16 -07:00
Simon Willison
59032b00bb
Fixed incorrect example in documentation 2021-08-02 12:29:55 -07:00
Simon Willison
d83b256813 --where and -p options for sqlite-utils convert, closes #304 2021-08-02 11:58:05 -07:00
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
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