Skip to main content

GlueSQL is quite sticky. It attaches to anywhere.

Project description

GlueSQL.py

GlueSQL.py is a Python binding for the GlueSQL database engine. It provides an embedded SQL database that works with a selection of storage backends.

Supported storages:

  • MemoryStorage
  • JsonStorage
  • SharedMemoryStorage
  • SledStorage

Learn more at https://gluesql.org/docs.

Installation

Install from PyPI:

pip install gluesql

Usage

from gluesql import Glue, MemoryStorage

storage = MemoryStorage()

engine = Glue(storage)

engine.query(
    """
    CREATE TABLE User (id INTEGER, name TEXT);
    INSERT INTO User VALUES (1, 'Hello'), (2, 'World');
    """
)

result = engine.query("SELECT * FROM User;")
print(result)

License

This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gluesql-0.19.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gluesql-0.19.0-cp312-cp312-manylinux_2_24_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64

gluesql-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gluesql-0.19.0-cp312-cp312-macosx_11_0_arm64.whl (6.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file gluesql-0.19.0.tar.gz.

File metadata

  • Download URL: gluesql-0.19.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gluesql-0.19.0.tar.gz
Algorithm Hash digest
SHA256 59c5fb57951d3759cc2a5f17f6f45d0cace57197850b6456eeccc25aeb52cba6
MD5 5f1966ceba86a7876642577649018b64
BLAKE2b-256 f93cff6771f09aa81673b67e7c74ff98e6c3a13a9e7a4f2d78214594b4f22d81

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.19.0.tar.gz:

Publisher: publish-python.yml on gluesql/gluesql-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gluesql-0.19.0-cp312-cp312-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for gluesql-0.19.0-cp312-cp312-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 e8e9e9e0274880a06e3a09401c362856ef55b5d6fbdcd9425488b024810df6da
MD5 a5794d06097ac7f7805fd0beacbe7381
BLAKE2b-256 bed83eb91ce77fca052ea5cd4c676df6c5f785374112f0773e39d0931966d14a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.19.0-cp312-cp312-manylinux_2_24_aarch64.whl:

Publisher: publish-python.yml on gluesql/gluesql-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gluesql-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gluesql-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a1d30379f6967d33e9dc44912a854246f91967a7c0b94f5b15c3e22b7f4c93a
MD5 c47b168723e72ae6281d7846ed1fed6c
BLAKE2b-256 6874ba74ec6c30546cf038f334cc01140078b09f30babd347b657f43c7ee1c61

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.19.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-python.yml on gluesql/gluesql-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gluesql-0.19.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gluesql-0.19.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c9197d53ee9b8296abf2f314c376d98764d633e172812860ebe854ead40d69d
MD5 e21806a04d71ad718fd5b2bd32c4c1e9
BLAKE2b-256 b1b3d1c5a0d5e8b610dec6cb6a13ee12434d6b6ad67f6cb6b558130f42352b6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.19.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish-python.yml on gluesql/gluesql-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page