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.18.0.tar.gz (365.2 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.18.0-cp311-cp311-manylinux_2_24_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64

gluesql-0.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gluesql-0.18.0-cp311-cp311-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

gluesql-0.18.0-cp311-cp311-macosx_10_12_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for gluesql-0.18.0.tar.gz
Algorithm Hash digest
SHA256 f464c55021f86f2e5bad90399bd1406b84ebf0df8cd2b69e84a69a53183ecb14
MD5 089592dc94c4d4ff92e56cc3b9650586
BLAKE2b-256 87f49a14288a61265b5f874c1adc9e6d7a45dfb66b9ab21ef1fba8075c156c8a

See more details on using hashes here.

Provenance

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

Publisher: publish-python.yml on gluesql/gluesql

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.18.0-cp311-cp311-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for gluesql-0.18.0-cp311-cp311-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 ae617e03701465e3c9a7b5907e04ff462bc67413426007926e512f13ebd211c7
MD5 13ec9ddbe29b459e187178f57d12e5b6
BLAKE2b-256 ededcd28391c01fb23aefec8aa39b68ed29e1c55cffdf7535481f17e32290cdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.18.0-cp311-cp311-manylinux_2_24_aarch64.whl:

Publisher: publish-python.yml on gluesql/gluesql

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.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gluesql-0.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab92a91cd2e67be106a4d1837480829a2f89ccf021334530666e5692788ecddf
MD5 6f7d368e743e39d360bd1fc3c968bbd4
BLAKE2b-256 d191c237efa821388c7d0febf90afc1d5130b86513a2cd6826de53ce5407de0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.18.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-python.yml on gluesql/gluesql

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.18.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gluesql-0.18.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22834fd8ba390e254e73f6cccf7a5c2af3422ab92baa84152c689b18cdd0dec1
MD5 8032174fc86b678eefb921cf530b8633
BLAKE2b-256 6285fb16dfa86c096e808210019fac2c0d2269b1744d37551a925404ddb38f31

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.18.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish-python.yml on gluesql/gluesql

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.18.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for gluesql-0.18.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4ca2fd4702b6109c2e5646b8b9cea91b96e986f455856182b736bd3b13035ac5
MD5 fcfdb09f312a119526604ce82853d213
BLAKE2b-256 cc8e419fe1f39ea2861e4c6e629292ef17266beea7ceda67662a7471a62fcc51

See more details on using hashes here.

Provenance

The following attestation bundles were made for gluesql-0.18.0-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: publish-python.yml on gluesql/gluesql

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