sql-template-tag VS pugsql

Compare sql-template-tag vs pugsql and see what are their differences.

sql-template-tag

ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, `sqlite` and `oracledb` (by blakeembrey)

pugsql

A HugSQL-inspired database library for Python (by mcfunley)
SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
sql-template-tag pugsql
3 4
368 741
0.0% 0.5%
6.3 8.2
about 1 year ago 4 months ago
TypeScript Python
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

sql-template-tag

Posts with mentions or reviews of sql-template-tag. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-14.

pugsql

Posts with mentions or reviews of pugsql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-18.
  • FastAPI in Prod: Handling DB migrations, auth, and more
    4 projects | dev.to | 18 Feb 2025
    PugSQL – For interacting with your database. It lets you write plain SQL in separate files for clarity, while keeping query calls as straightforward Python functions.
  • Python: Just Write SQL
    21 projects | news.ycombinator.com | 14 Aug 2023
    I've had good experience using PugSQL to write SQL in Python [1]. You write the SQL inside SQL files so you can actually benefit from syntax highlighting, static analysis, etc. At the different of writing strings of SQL inside Python files.

    [1] https://pugsql.org

  • Repeating Yourself Thrice Doesn’t Turn You into a 3x Developer
    5 projects | news.ycombinator.com | 30 Jul 2023
    There's a tool called PugSQL that looks promising for Python, but it seems that async isn't directly supported yet[0]. If I ever find time, I'd love to jump on this and make it work, but nobody should hold their breath for that.

    [0] https://github.com/mcfunley/pugsql/issues/44

What are some alternatives?

When comparing sql-template-tag and pugsql you can also consider the following projects:

mini_sql - a minimal, fast, safe sql executor

sqlc-gen-python

SQLPage - Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.

Dapper.SimpleCRUD - Who wants to write basic read/insert/update/delete statements? SimpleCRUD provides simple CRUD helpers for Dapper.

yesql - A Clojure library for using SQL.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?