sqlite-utils

Python CLI utility and library for manipulating SQLite databases (by simonw)

Sqlite-utils Alternatives

Similar projects and alternatives to sqlite-utils

  1. zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. ShellCheck

    ShellCheck, a static analysis tool for shell scripts

  4. sqlitebrowser

    Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:

  5. pocketbase

    Open Source realtime backend in 1 file

  6. just

    🤖 Just a command runner

  7. datasette

    An open source multi-tool for exploring and publishing data

  8. litestream

    Streaming replication for SQLite.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Task

    A task runner / simpler Make alternative written in Go

  11. jOOQ

    jOOQ is the best way to write SQL in Java

  12. simdjson

    Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

  13. q

    46 sqlite-utils VS q

    q - Run SQL directly on delimited files and multi-file sqlite databases (by harelba)

  14. µWebSockets

    Simple, secure & standards compliant web server for the most demanding of applications

  15. cargo-make

    Rust task runner and build tool.

  16. run

    Task runner that helps you easily manage and invoke small scripts and wrappers (by TekWizely)

  17. ojg

    Optimized JSON for Go

  18. datasette-app

    The Datasette macOS application

  19. compare-go-json

    A comparison of several go JSON packages.

  20. sqliteviz

    10 sqlite-utils VS sqliteviz

    Instant offline SQL-powered data visualisation in your browser

  21. oxide

    :floppy_disk: Teach your PostgreSQL database how to speak MongoDB Wire Protocol

  22. octosql

    OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sqlite-utils alternative or higher similarity.

sqlite-utils discussion

Log in or Post with

sqlite-utils reviews and mentions

Posts with mentions or reviews of sqlite-utils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-12.
  • This Week In Python
    5 projects | dev.to | 12 Jul 2024
    sqlite-utils – Python CLI utility and library for manipulating SQLite databases
  • Dbmate: A lightweight, framework-agnostic database migration tool
    2 projects | news.ycombinator.com | 16 Jun 2024
    The transform=True parameter means "if the table already exists but does not match the provided schema, transform it to add missing columns etc".

    I don't generally recommend it though, it's a risky way of working compared to stateful migrations.

    Here are the tests for that option: https://github.com/simonw/sqlite-utils/blob/577078fe01da6d87...

  • Ask HN: High quality Python scripts or small libraries to learn from
    12 projects | news.ycombinator.com | 19 Apr 2024
    https://github.com/simonw/sqlite-utils

    So, his code might not be a good place to find best patterns (for ex, I don't think they are fully typed), but his repos are very pragmatic, and his development process is super insightful (well documented PRs for personal repos!). Best part, he blogs about every non-trivial update, so you get all the context!

  • Why you should probably be using SQLite
    8 projects | news.ycombinator.com | 27 Oct 2023
    Sounds like your problem is with SQLAlchemy, not with SQLite.

    My https://sqlite-utils.datasette.io library might be a better fit for you. It's a much thinner abstraction than SQLAlchemy.

  • Welcome to Datasette Cloud
    6 projects | news.ycombinator.com | 20 Aug 2023
    There are a few things you can do here.

    SQLite is great at JSON - so I often dump JSON structures in a TEXT column and query them using https://www.sqlite.org/json1.html

    I also have plugins for running jq() functions directly in SQL queries - https://datasette.io/plugins/datasette-jq and https://github.com/simonw/sqlite-utils-jq

    I've been trying to drive the cost of turning semi-structured data into structured SQL queries down as much as possible with https://sqlite-utils.datasette.io - see this tutorial for more: https://datasette.io/tutorials/clean-data

    This is also an area that I'm starting to explore with LLMs. I love the idea that you could take a bunch of messy data, tell Datasette Cloud "I want this imported into a table with this schema"... and it does that.

    I have a prototype of this working now, I hope to turn it into an open source plugin (and Datasette Cloud feature) pretty soon. It's using this trick: https://til.simonwillison.net/gpt3/openai-python-functions-d...

  • SQLite Functions for Working with JSON
    10 projects | news.ycombinator.com | 10 Aug 2023
    I've baked a ton of different SQLite tricks - including things like full-text indexing support and advanced alter table methods - into my sqlite-utils CLI tool and Python library: https://sqlite-utils.datasette.io

    My Datasette project provides tools for exploring, analyzing and publishing SQLite databases, plus ways to expose them via a JSON API: https://datasette.io

    I've also written a ton of stuff about SQLite on my two blogs:

    - https://simonwillison.net/tags/sqlite/

    - https://til.simonwillison.net/sqlite

  • Show HN: Trogon – An automatic TUI for command line apps
    11 projects | news.ycombinator.com | 21 May 2023
    This is really fun. I have an experimental branch of my sqlite-utils CLI tool (which has dozens of sub-commands) running with this now and it really did only take 4 lines of code - I'm treating Trogon as an optional dependency because people using my package as a Python library rather than a CLI tool may not want the extra installed components:

    https://github.com/simonw/sqlite-utils/commit/ec12b780d5dcd6...

    There's an animated GIF demo of the result here: https://github.com/simonw/sqlite-utils/issues/545#issuecomme...

  • I'm sure I'm being stupid.. Copying data from an API and making a database
    2 projects | /r/Database | 19 Jan 2023
    My project https://datasette.io/ is ideal for this kind of thing. You can use https://sqlite-utils.datasette.io/ to load JSON data into a SQLite database, then publish it with Datasette.
  • Just: A Command Runner
    27 projects | news.ycombinator.com | 9 Jan 2023
    I've been using this for about six months now and I absolutely love it.

    Make never stuck for me - I couldn't quite get it to fit inside my head.

    Just has the exact set of features I want.

    Here's one example of one of my Justfiles: https://github.com/simonw/sqlite-utils/blob/fc221f9b62ed8624... - documented here: https://sqlite-utils.datasette.io/en/stable/contributing.htm...

    I also wrote about using Just with Django in this TIL: https://til.simonwillison.net/django/just-with-django

  • Ask HN: What Do You Use for a Personal Database
    4 projects | news.ycombinator.com | 16 Nov 2022
    SQLite with the open source toolchain I've been building over the past five years:

    https://datasette.io as the interface for running queries against (and visualizing) my data.

    https://sqlite-utils.datasette.io/ as a set of tools for creating and modifying my databases (inserting JSON or CSV data, enabling full text search text)

    https://dogsheep.github.io as a suite of tools for importing my personal data - see also this talk I gave about that project: https://simonwillison.net/2020/Nov/14/personal-data-warehous...

  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic sqlite-utils repo stats
37
1,779
7.1
2 months ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Python is
the 2nd most popular programming language
based on number of references?