nowfound

Alternatives

Products that do what Py-SQL-cleaner – format SQL embedded in Python strings does

Hi HN, I built py-sql-cleaner, a CLI for formatting SQL embedded in Python files. Python formatters handle Python syntax. They do not format SQL written inside Python code. On the other hand, SQL formatters usually target SQL files or raw SQL text, not SQL embedded inside a Python file. Still, I think it is not uncommon to find long SQL queries inside Python codebases. py-sql-cleaner detects embedded SQL inside Python files and works only on that SQL. The main things it can do are: find the SQL, format it in place, or extract it into a .sql file. It avoids rewriting SQL that depends on…

  1. 1
    JupySQL115

    JupySQL is a SQL client for Jupyter

    2023

  2. 2SS

    SPyQL (https://github.com/dcmoura/spyql) is SQL with Python in the middle, an open-source project fully written in Python for making command-line data processing more intuitive, readable and powerful. Try mixing in the same pot: a SQL SELECT for providing the structure, Python expressions for defining transformations and conditions, the essence of awk as a data-processing language, and the JSON handling capabilities of jq. How does a SPyQL query looks like? $ spyql “ IMPORT pendulum AS p SELECT (p.now() - p.from_timestamp(purchase_ts)).in_days() AS days_ago, sum_agg(price…

    2022 · github.com

  3. 3

    Check if your SQL is readable or not

    2022

  4. 4CP
  5. 5

    Instantly clean Claude Code & Codex terminal output

    Mar 2026

  6. 6SQ

    Part of the workflow for building my website is the generation of a table in tab-separated column format (.tsv). The source data is found in four other .tsv files. I use an SQLite query to perform a 4-way join and write out the new table. For convenience, I wrote a script that encapsulates the query inside a Bash function. The example below illustrates this technique. repertoire() { pushd $CMM_SOURCES&#x2F;_data sqlite3 <<EOS .headers on .mode tabs .import category.tsv category .import composition.tsv composition .import concert.tsv concert .import program.tsv program .once repertoire.tsv…

    2021

  7. 7

    Analyze CSV records using sql syntax right in your browser

    2022

  8. 8

    Write, run, debug, embed and share your Python code

    2022

  9. 9AW
  10. 10WU
  11. 11WW
  12. 12PA
  13. 13SC
  14. 14

    #1 Python & SQL Dry Run & Trace Table Sandbox

    8d ago · pycodeit.com

  15. 15DS

    I played around with GPT-3 to build this demo. Select a public BigQuery dataset and describe your query in natural English, then edit the generated SQL as needed and execute it. https:&#x2F;&#x2F;app.tabbydata.com&#x2F;sql-assistant-demo

    2021

  16. 16

    Write SQL on CSV files (Desktop app)

    2021

  17. 17SI
  18. 18SC
  19. 19

    Turn everyday language into SQL queries

    2025

  20. 20UE

    Explain Code App works with SQL, a popular language for querying databases. You can tell Explain Code App what you want in plain language, and the app will generate the matching SQL code for you. https:&#x2F;&#x2F;www.explaincode.app

    2022

  21. 21PP

    Hello HN! We’ve been working hard on Vanna, our RAG framework for SQL generation and we’ve been updating our documentation. Please have a look — we have a ton of Jupyter notebooks for any combination of desired use cases. At it’s heart, we have abstractions that help you: - “train” a RAG “model” i.e. add metadata for the retrieval augmentation system to reference when constructing the LLM prompt (yes, we know that the terms “train” and “model” are somewhat confusing and we’re open to changing those terms if you can suggest better ones) - “ask” questions, which will generate SQL, run it,…

    2023 · github.com

  22. 22IC
  23. 23RC
  24. 24PS

Ranked by how close each launch is in meaning, then by votes. Refine with a description →