$npx skillfedfor your agent

apswutils

A fork of sqlite-minutils for apsw

With conditionsPyPI DatabaseReleased Dec 2025732.2K downloads / moApache Software License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — apswutils-0.1.2-py3-none-any.whl
v0.1.2 · released 2025-12-18 · Python >=3.9 · 2 runtime deps: fastcore, apsw

Yes, if you need a lightweight SQLite abstraction layer and are comfortable with apsw's error model. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. It's a solid choice for projects that want more than raw SQL but don't need a full ORM. Verify apsw's installation requirements for your platform first.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; apsw must be installed as a runtime dependency.
  • Low install friction with only two runtime dependencies (fastcore and apsw).
  • The package is actively maintained with recent releases and no known vulnerabilities.

License · maintenance · safety

Apache Software License 2.0 (permissive) — Licensed under Apache Software License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2025-12-18 (239 days) · last repo commit 2026-07-26 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 732,203 downloads/mo, #5,202 on PyPI

Verify before relying

pip install apswutils

from apswutils.db import *

db = Database(":memory:")
users = Table(db, 'Users')
users.create(columns=dict(id=int, name=str, age=int))
users.insert(dict(name='Alice', age=8))
for row in users.rows_where('age > 3'):
    print(row)
  • Whether apsw installation requires compilation or system libraries on all platforms.
  • Performance characteristics compared to other SQLite wrappers for large datasets.
  • Completeness of feature parity with sqlite-minutils beyond the documented differences.
Same gist for agents: .md · .json

What it is and what it does

apswutils is a fork of sqlite-minutils adapted to use apsw instead of the standard sqlite3 library. It provides a high-level Python interface for working with SQLite databases, offering classes like Database, Table, View, and Queryable that abstract away raw SQL for common operations like table creation, row insertion, filtering, and transactions.

The package is designed for developers who want a more Pythonic way to interact with SQLite without writing raw SQL. It supports features like schema introspection, filtered queries with WHERE clauses, transaction management with rollback capability, and automatic handling of default values including expression-based defaults. Key differences from the original include WAL as the default mode, different error handling that maps to apsw exceptions, and stricter primary key requirements for foreign key targets.

Use it for

  • Build a lightweight application database layer without a full ORM framework.
  • Manage SQLite schemas programmatically with automatic table creation and transformation.
  • Query and filter data with a Pythonic API instead of writing raw SQL strings.
  • Handle multi-step database operations with explicit transaction control and rollback.
  • Work with in-memory SQLite databases for testing or temporary data processing.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a lightweight SQLite abstraction layer and are comfortable with apsw's error model.

The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. It's a solid choice for projects that want more than raw SQL but don't need a full ORM. Verify apsw's installation requirements for your platform first.

Install

apswutils on PyPI

Before you install

Low install friction with only two runtime dependencies (fastcore and apsw). The package is actively maintained with recent releases and no known vulnerabilities.

Requires Python 3.9 or later; apsw must be installed as a runtime dependency.

License in practice

Licensed under Apache Software License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install apswutils

from apswutils.db import *

db = Database(":memory:")
users = Table(db, 'Users')
users.create(columns=dict(id=int, name=str, age=int))
users.insert(dict(name='Alice', age=8))
for row in users.rows_where('age > 3'):
    print(row)

Verify before relying

  • Whether apsw installation requires compilation or system libraries on all platforms.
  • Performance characteristics compared to other SQLite wrappers for large datasets.
  • Completeness of feature parity with sqlite-minutils beyond the documented differences.

Package facts

LicenseApache Software License 2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
fastcoreapsw
MaintenanceActively maintained 239 days since the last release
Last repo commit
First released
Downloads732,203 / month, #5,202 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.9

Evidence: apswutils-0.1.2-py3-none-any.whl

Tags

Capabilities
sqlite orm pythonapsw database wrappersqlite table abstractionpython sqlite query buildersqlite transaction management
Topics
sqlite-wrapperapsw-basedlightweight-orm
PyPI keywords
nbdevjupyternotebookpythonsqliteapsw

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlite orm python”

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also apsw · fastlite · sqlite-utils · aiosqlite · aiosql · sqlitedict · sqlite-migrate · oslo.db · anysqlite · dirsql