sqlite-utils/sqlite_utils
Claude 29b07222f5
Allow callable references in sqlite-utils convert, closes #686
This allows users to pass just a callable reference like `r.parsedate`
instead of `r.parsedate(value)` to the convert command. The code now
detects when the input evaluates to a callable and uses it directly.

Examples that now work:
- sqlite-utils convert my.db table col r.parsedate
- sqlite-utils convert my.db table col json.loads --import json
2025-11-29 20:36:35 +00:00
..
__init__.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
__main__.py Support 'python -m sqlite_utils', closes #368 2022-01-08 18:33:22 -08:00
cli.py Remove Sentinel workaround for Click 8.3.1+ (#685) 2025-11-24 09:11:18 -08:00
db.py Use REAL not FLOAT as SQLite column type (#680) 2025-11-23 21:37:59 -08:00
hookspecs.py prepare_connection plugin hook 2023-07-22 15:59:08 -07:00
plugins.py More robust _called_from_test pattern 2023-07-22 16:21:27 -07:00
py.typed py.typed file so mypy picks up the types, closes #331 2021-11-14 15:21:04 -08:00
recipes.py Removed convert skip_false and --skip-false, closes #542 2025-11-23 15:40:28 -08:00
utils.py Allow callable references in sqlite-utils convert, closes #686 2025-11-29 20:36:35 +00:00