Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Alite - Asynchronous SQLite library


MIT LICENSE Tests PyPI Supported python versions

Feature checklist

  • execute
  • executemany
  • fetchone
  • fetchval
  • fetchall
  • row with index and key access

Installation

# using uv
uv add alite

# or using pip
python -m pip install alite

Quickstart

import alite

async def main():
    # Accept Path object, raw string path or :memory:
    async with alite.create_pool(":memory:") as pool:
        await pool.execute(
            """
            CREATE TABLE IF NOT EXISTS users
            (name TEXT PRIMARY KEY, age INT NOT NULL)
            """
        )
        cursor = await pool.execute(
            """
            INSERT OR REPLACE INTO users (name, age)
            VALUES (?, ?)
            """,
            ("Alex", 42),
        )
        print(cursor.rowcount) # 1
        cursor = await pool.executemany(
            """
            INSERT OR REPLACE INTO users (name, age)
            VALUES (?, ?)
            """,
            [("Alice", 67), ("Alan", 69)],
        )
        print(cursor.rowcount) # 2
    # pool auto closes when out of the context manager

if __name__ == "__main__":
    import asyncio

    asyncio.run(main())

License

See LICENSE

Metadata

Release files for alite 0.3.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alite 0.3.0a0
File Size Uploaded Provenance Actions
alite-0.3.0a0.tar.gz 17.7 kB With provenance Details for alite-0.3.0a0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for alite 0.3.0a0
File Actions
alite-0.3.0a0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for alite-0.3.0a0-cp313-cp313-win_amd64.whl
alite-0.3.0a0-cp313-cp313-win32.whl CPython 3.13 CPython 3.13 Windows x86-32 Details for alite-0.3.0a0-cp313-cp313-win32.whl
alite-0.3.0a0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for alite-0.3.0a0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
alite-0.3.0a0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-32 Details for alite-0.3.0a0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
alite-0.3.0a0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for alite-0.3.0a0-cp313-cp313-macosx_11_0_arm64.whl
alite-0.3.0a0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for alite-0.3.0a0-cp312-cp312-win_amd64.whl
alite-0.3.0a0-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details for alite-0.3.0a0-cp312-cp312-win32.whl
alite-0.3.0a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for alite-0.3.0a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
alite-0.3.0a0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-32 Details for alite-0.3.0a0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
alite-0.3.0a0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for alite-0.3.0a0-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 15.3 MB

Release files / alite-0.3.0a0.tar.gz

Download URL alite-0.3.0a0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e8eea610ef37b4542a067a58ab764bd86f2a20d3e84b214426e63139c1f1823a
BLAKE2b-256 checksum
How to use checksums
fe4ad8931fc13c540aea8bc1383ad3e377a1c46f5827b12a404285bb8c2062b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp313-cp313-win_amd64.whl

Download URL alite-0.3.0a0-cp313-cp313-win_amd64.whl
Size 3.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
787d33d02992a78c18693aa3901e0820850c2154a8f58e7bb1acda92917c1613
BLAKE2b-256 checksum
How to use checksums
e71470f0744e5e3261f2028cca1050739de757d935eef3251d139461e47f86f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp313-cp313-win32.whl

Download URL alite-0.3.0a0-cp313-cp313-win32.whl
Size 2.9 MB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
a1af2fbf52b39816c12b86576136cd02d7f01300fc58e22d6c15b626996a3d15
BLAKE2b-256 checksum
How to use checksums
4d934c77bbcdb768f5a53db1726f73472753170077036444a6119b672e263529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL alite-0.3.0a0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 839.7 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e0d9a1ada382ac42d0dea8a4c15bc014ad4f95563ef589ce92a21699aae7274e
BLAKE2b-256 checksum
How to use checksums
e05821a9a23d47516548fb3e2a6dcae4a4d0bcc91e7f7a5c0da7db190590e104
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL alite-0.3.0a0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
Size 901.0 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-32
SHA-256 checksum
How to use checksums
f8fe9be76474d575f9d892b1de81acc75998b53b1ba2aea1a7cd7e3fb3547b2d
BLAKE2b-256 checksum
How to use checksums
619d73946a145c69e4984d374a9ff8749f994c708a07126b53b15c520ba49053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp313-cp313-macosx_11_0_arm64.whl

Download URL alite-0.3.0a0-cp313-cp313-macosx_11_0_arm64.whl
Size 35.0 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5930acfcc86f37d9e47f8d035b3c2f56f4de104f042f1059b9e8978d02b9169b
BLAKE2b-256 checksum
How to use checksums
f751bfc6a6bd09c07e38570d0d8ff247e4a3984b18a8d7250d12cfc376583e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp312-cp312-win_amd64.whl

Download URL alite-0.3.0a0-cp312-cp312-win_amd64.whl
Size 3.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d5c83669ed448f266b830c93aa0f32f027fadf3f576b578331e4dcab91d1e252
BLAKE2b-256 checksum
How to use checksums
b1f715b69e41611f39a77e5d714a172e5bfbb91cde7aa640d8602f1a5e26a2b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp312-cp312-win32.whl

Download URL alite-0.3.0a0-cp312-cp312-win32.whl
Size 2.9 MB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
d9105cea0fdc3a91e7c1342f880e6ed4e1e71167f36ffb6086c772315f78fd33
BLAKE2b-256 checksum
How to use checksums
47cf200c80a1a58e47a094189274333ac2d387c82d1d61df4d8ee8220c50251a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL alite-0.3.0a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 839.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c6d0c5bfbf1f2d0b902151a01bacb8dc2d03f2a768ebc8e1f03659c4c93c56c7
BLAKE2b-256 checksum
How to use checksums
9836c43f784bddd24c4ab075c1747cb80c6fbc7f76fb74d5474d460ebad57a2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL alite-0.3.0a0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Size 901.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-32
SHA-256 checksum
How to use checksums
4d91327423691ae57b331dcb370df3e60585014c2295234c4869d632cf098948
BLAKE2b-256 checksum
How to use checksums
2c0c5e319407d6c91b55b02e6fcc4269ce6ee92a83f28359028fdf8252b665c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / alite-0.3.0a0-cp312-cp312-macosx_11_0_arm64.whl

Download URL alite-0.3.0a0-cp312-cp312-macosx_11_0_arm64.whl
Size 35.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
769bf9eb28b50dfefd3c0e6858abed98f1e029b8d556305b5949c02205bad418
BLAKE2b-256 checksum
How to use checksums
414183a2c196d57cf17483e94718704e773e11434a5133387c243dc9f3224118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Security for alite 0.3.0a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 11 files in this release have been uploaded with provenance metadata.

Select from 11 files

Attestation for alite-0.3.0a0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page