Commit graph

1,004 commits

Author SHA1 Message Date
Simon Willison
defa2974c6 jsonify_if_needed output of convert() functions, closes #495 2022-10-25 14:23:24 -07:00
Simon Willison
c7e4308e6f Use new db.close() method, refs #504 2022-10-25 14:00:53 -07:00
Simon Willison
05e2bb85fc db.close() method, closes #504 2022-10-25 13:57:43 -07:00
Simon Willison
ba7242b1f2 Try closing the database before recreating it, refs #503 2022-10-25 13:36:17 -07:00
Simon Willison
f6b796277f Try a 0.1s sleep, refs #503 2022-10-25 13:27:18 -07:00
Simon Willison
c5d7ec1dd7 Fix for mypy issue, refs #503 2022-10-25 13:21:37 -07:00
Simon Willison
7ca497a8f5 repr improvements, refs #503 2022-10-25 13:14:41 -07:00
Simon Willison
079bf1f4dc Use tmp_path fixture in test_recreate, refs #503 2022-10-25 13:06:58 -07:00
Simon Willison
7b2d1c0ffd Update tests for Python 3.11, closes #502 2022-10-25 12:23:27 -07:00
Simon Willison
5133339d00
Skip macos-latest Python 3.11 for the moment
Refs https://github.com/actions/setup-python/issues/531
2022-10-25 12:08:58 -07:00
Simon Willison
b8526c434a
Test against Python 3.11 2022-10-25 07:17:49 -07:00
Simon Willison
9cbe19ac05 Skip cog check on Python 3.6, refs #501 2022-10-18 11:16:43 -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
cf9861216b Comment for 'just docs' command
This shows up in 'just -l'
2022-09-26 12:36:09 -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
9a5add659d 'just docs' command for running the livehtml docs server 2022-09-26 12:09:00 -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
Mischa Untaga
0b315d3fa8
progressbar for inserts/upserts of other file formats
* progressbar for inserts/upserts of other file formats, closes #485
* Pin to Python 3.10.6 for the moment as workaround for mypy error

Co-authored-by: Simon Willison <swillison@gmail.com>
2022-09-15 13:37:51 -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
Jacob Chapman
ecf1d40112
table.search_sql(include_rank=True) option (#480)
* search_sql add include_rank option
* add test
* add FTS4 test
* Apply Black

Thanks, @chapmanjacobd
2022-08-30 20:40:35 -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 3.29
Refs #423, #458, #467, #469, #470, #471, #472, #475

Closes #487
2022-08-27 20:48:36 -07:00
Simon Willison
165bc5fcb0 test_extract_works_with_null_values, refs #423, #455 2022-08-27 20:38:37 -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
Forest Gregg
c5f8a2eb1a
in extract code, check equality witH IS instead of = for nulls (#455)
sqlite "IS" is equivalent to SQL "IS NOT DISTINCT FROM"

close #423
2022-08-27 07:45:03 -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
85e7411bbd Skip test if pragma_function_list not supported, refs #471 2022-08-26 22:01:58 -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
Simon Willison
f8ffac8787
beanbag-docutils>=2.0 (#465)
* beanbag-docutils>=2.0

Closes #464
2022-08-17 16:38:02 -07:00
Manuel Kaufmann
83e7339255
Use Read the Docs action v1 (#463)
Read the Docs repository was renamed from `readthedocs/readthedocs-preview` to `readthedocs/actions/`. Now, the `preview` action is under `readthedocs/actions/preview` and is tagged as `v1`
2022-08-17 16:11:15 -07:00
Simon Willison
45e24deffe Link API docs to GitHub source code, refs #464 2022-08-13 09:24:18 -07:00
Simon Willison
271433fdd1
Discord badge (#462) 2022-08-02 14:15:52 -07:00
Simon Willison
98a28cbfe6
Oops, fixed project slug
Refs:
- https://github.com/readthedocs/readthedocs-preview/issues/10
- https://github.com/simonw/sqlite-utils/pull/460
2022-08-02 13:35:56 -07:00
Simon Willison
1856002e3c
readthedocs/readthedocs-preview
Tip from https://twitter.com/readthedocs/status/1552354156056395778
2022-08-02 09:02:43 -07:00
Simon Willison
1acc04c071
Link to new tutorial
Refs https://github.com/simonw/datasette.io/issues/108
2022-07-31 12:12:37 -07:00