Skip to main content

Python client for SQL

Project description


sqlclient implements abstract classes for clients to SQL-like services. A concrete subclass would use a DB-API compliant client package for the service, and mostly need to work out how to establish a connection to the server. Subsequently, all the convenient functions provided by sqlclient would work. The subclass may add methods that are specific to the particular type of database.

Both sync and async methods are provided. The async methods are implemented using the sync methods and a thread pool, hence do not require the client package to have async capabilities.

A concrete implementation is provided for sqlite, which also facilitates tests.

One use case of this package is to facilitate a consistent usage pattern when a single project uses multiple databases.

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

sqlclient-21.4.24.tar.gz (4.9 kB view hashes)

Uploaded source

Built Distribution

sqlclient-21.4.24-py3-none-any.whl (5.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page