Commit graph

528 commits

Author SHA1 Message Date
Simon Willison
82e8cd3667 db.rename_table() method, refs #565 2023-07-22 12:38:31 -07:00
Simon Willison
80b5fa7f12 Documentation for replace=True/ignore=True, refs #568 2023-07-22 12:19:01 -07:00
Simon Willison
b379a2a0c3 Added pluggy and first hook, register_commands - refs #569, #567 2023-07-22 12:04:31 -07:00
Simon Willison
7e48502b5a Update CLI reference docs for -e, refs #570 2023-07-22 11:37:53 -07:00
Simon Willison
f7af23837d --empty-null option for CSV and TSV imports, closes #563 2023-07-02 22:42:26 -07:00
Simon Willison
8c739558f7 --stop-after option, closes #561 2023-06-27 11:50:04 -07:00
Simon Willison
9d38925cde Release 3.33
Refs #235, #559, #560

Refs https://github.com/simonw/llm/issues/60

Refs https://github.com/nalgeon/sqlean.py/issues/1
2023-06-25 18:31:22 -07:00
Simon Willison
f5c63088e1
Use sqlean if available in environment (#560)
Closes #559
Closes #235

Refs https://github.com/simonw/llm/issues/60

- Uses `sqlean` in place of `sqlite3` if `sqlean.py` is installed
- Uses `sqlite-dump` if available and `conn.iterdump()` does not exist
- New `with db.ensure_autocommit_off()` method for ensuring autocommit is off, used by `enable_wal()` and `disable_wal()`.
2023-06-25 16:25:51 -07:00
Simon Willison
2747257a33 Fixed link in changelog 2023-05-21 14:11:54 -07:00
Simon Willison
6fb32d27ae Release 3.32.1
Refs #551, #552
2023-05-21 14:09:46 -07:00
Simon Willison
87bddef8fd Documented bash/zsh completion, closes #552 2023-05-21 14:03:32 -07:00
Simon Willison
8188acc1f1 Fix for missing csv Pygments support, refs #551 2023-05-21 14:03:10 -07:00
Simon Willison
d8fe1b0d89
Reformatted CLI examples in docs
Closes #551
2023-05-21 13:57:22 -07:00
Simon Willison
e240133b11 Release 3.32
Refs #544, #545, #547, #548
2023-05-21 11:53:44 -07:00
Simon Willison
718b0cba9b
Experimental TUI powered by Trogon
* sqlite-utils tui command if Trogon is installed, closes #545
* Documentation for trogon TUI
* Screenshot of TUI
* Ignore trogon mypy error
* only run flake8 on Python 3.8 or higher, closes #550
2023-05-21 11:41:56 -07:00
Simon Willison
d2a7b15b2b
Analyze tables options: --common-limit, --no-most, --no-least
Closes #544
2023-05-21 09:19:30 -07:00
Simon Willison
e047cc32e9
backwards-incompatible, not compatible 2023-05-09 14:08:31 -07:00
Simon Willison
b3b100d7f5 Release 3.31
Refs #509, #517, #520, #525, #527, #532, #534, #536, #537, #538, #539
2023-05-08 15:33:57 -07:00
Simon Willison
9662d4ce26 Updated cog, refs #527 2023-05-08 14:05:30 -07:00
Simon Willison
e0ec4c3451 --no-skip-false option, plus docs - closes #527 2023-05-08 14:03:20 -07:00
Simon Willison
373b7886d2 --raw-lines option, closes #539 2023-05-07 11:26:14 -07:00
Simon Willison
c0251cc927
Link /latest/ to /stable/ - refs #388 2023-03-26 16:42:01 -07:00
Simon Willison
6cd0fd2b4c Fix for Sphinx bug, closes #533, refs #531 2023-03-12 14:25:26 -07:00
Simon Willison
ebe504ab21 Clarify column types in create-table help 2022-11-29 09:03:35 -08:00
Simon Willison
52ddb0b9ff
Rename utility functions to library 2022-11-15 07:53:38 -08:00
Simon Willison
0d45ee1102 Release 3.30
Refs #480, #483, #485, #495, #500, #502, #504
2022-10-25 15:21:34 -07:00
Simon Willison
eb67fc69a2 Run cog -r against latest tabulate, refs #501 2022-10-18 11:08:34 -07:00
Simon Willison
34e75ed0dd sqlite_utils.utils.flatten() function, closes #500 2022-10-18 11:00:35 -07:00
Simon Willison
d792dad1cf
Clarify wording 2022-09-26 19:23:17 -07:00
Simon Willison
cbed080782
Typo 2022-09-26 17:10:59 -07:00
Simon Willison
c7cad6fc25 Documentation for Just, closes #494
Also added 'just init' and fixed a couple of missing pipenv run calls.
2022-09-26 12:26:31 -07:00
Simon Willison
6b268a1b36 language = "en" to fix Sphinx warning 2022-09-26 12:26:04 -07:00
Simon Willison
afbd2b2cba Link to convert command too, refs #483 2022-09-26 12:09:32 -07:00
Simon Willison
ee74bd5f81 Fix heading levels, refs #483 2022-09-26 12:03:54 -07:00
Simon Willison
85247038f7 install and uninstall commands, closes #483 2022-09-26 11:57:11 -07:00
Simon Willison
d9b9e075f0 Documented the release process 2022-09-06 20:45:36 -07:00
Simon Willison
5b969273f1
Markup tweak 2022-09-01 18:44:56 -07:00
Simon Willison
686eed9a49
Typo in release notes 2022-09-01 18:37:13 -07:00
Simon Willison
087753cd42 sites.db is better name than dogs.db in this example 2022-08-27 21:01:55 -07:00
Simon Willison
b491f22d81 Release 3.29
Refs #423, #458, #467, #469, #470, #471, #472, #475

Closes #487
2022-08-27 20:48:36 -07:00
Simon Willison
365f62520f will, not may - refs #468 2022-08-27 20:38:30 -07:00
Simon Willison
104f37fa4d
db[table].create(..., transform=True) and create-table --transform
Closes #467
2022-08-27 16:17:55 -07:00
Simon Willison
36ffcafb1a table.default_values property, closes #475
Refs #468
2022-08-27 15:42:58 -07:00
Simon Willison
19dd077944
Support entrypoints for --load-extension (#473)
* Entrypoint support, closes #470
2022-08-26 22:55:47 -07:00
Simon Willison
a46a5e3a9e Improved code compilation pattern, closes #472 2022-08-26 22:20:09 -07:00
Simon Willison
23ef1d6c20 bulk --functions, closes #471 2022-08-26 22:10:43 -07:00
Simon Willison
59e2cfbdc1 sqlite-utils memory --functions, refs #471 2022-08-26 22:03:53 -07:00
Simon Willison
31f062d4a7 sqlite-utils query --functions option, refs #471 2022-08-26 21:53:55 -07:00
Simon Willison
7a9a6363ff sqlite-utils rows --order option, closes #469 2022-08-26 21:10:20 -07:00
Simon Willison
f4fb78fa95
Cross-link CLI to Python docs (#460)
* Start cross-linking CLI to Python docs, refs #426
* More links to Python from CLI page, refs #426
2022-08-18 14:58:07 -07:00