Latest / Developer tools

sqlbind

github.com · Open source · Maintained

Lightweight text-based SQL parameter binding for Python

Visit github.com ↗Share

  • parameters
  • python sql parameters
  • raw sql python
  • dbapi parameter binding
  • sql query builder python
  • parameterized sql python
Stars
133
Forks
1
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

sqlbind is a small Python library for composing raw SQL with text-based parameter binds. It suits developers who prefer to keep writing SQL directly.

Repository description on GitHub: “Lightweight text-based SQL parameter binds”

What it does

  • Binds parameters in raw SQL text using f-string style placeholders
  • Supports all DBAPI parameter styles
  • Works with any driver that accepts a raw SQL string and parameters
  • Works with SQLAlchemy textual queries

Good for

  • Write raw SQL in Python with parameters bound safely
  • Pass query parameters to a DBAPI driver without string formatting
  • Use parameterized raw SQL with SQLAlchemy text queries

Suits: Python developers who prefer writing raw SQL directly.

Worth knowing: Deprecated; the repository points users to sqlbind-t instead

What you can try

Read the README on GitHub and install from source.

Install

pip install sqlbind

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw sqlbind on , when bvrmn posted it to Show HN. GitHub listed no published releases for baverman/sqlbind when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 69 points, 57 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 69 points, 57 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: baverman/sqlbind
  2. Found: bvrmn posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was sqlbind released?
No dated release record is available. Kip found it on Show HN on 26 Feb 2024.
Is sqlbind open source?
Its source is public on GitHub at baverman/sqlbind under the MIT licence.
What does sqlbind run on?
Library.
Is sqlbind free?
It is open source, so the code is free to read and run; check the licence for terms.
Is sqlbind still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorybaverman/sqlbind
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-39514034. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.