Skip to main content

Loadable sqlite extensions from sqlean

Project description

Python package for the sqlean SQLite extensions

This python package includes a loadable extension module for sqlite provided by sqlean. This allows other python packages to use this extension without requiring dependencies outside of the python ecosystem. For more details about the specific extensions, see https://github.com/nalgeon/sqlean/tree/main/docs.

Installation

Current Development Version

Install via pip

pip install git+https://github.com/karlb/sqlite-sqlean

or add this to you requirements.txt:

git+https://github.com/karlb/sqlite-sqlean

Usage

Example usage for the crypto extension.

import sqlite3
import sqlite_sqlean

conn = sqlite3.connect(":memory:")
conn.enable_load_extension(True)
conn.load_extension(sqlite_spellfix.extension_path())
sqlite_sqlean.load(conn, 'crypto')
# now use as described in https://github.com/nalgeon/sqlean/blob/main/docs/crypto.md

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

sqlite_sqlean-0.1-py3-none-win_amd64.whl (252.5 kB view hashes)

Uploaded Python 3 Windows x86-64

sqlite_sqlean-0.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux1_x86_64.whl (287.3 kB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

sqlite_sqlean-0.1-py3-none-macosx_11_0_arm64.whl (242.5 kB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

sqlite_sqlean-0.1-py3-none-macosx_10_6_x86_64.whl (430.2 kB view hashes)

Uploaded Python 3 macOS 10.6+ x86-64

Supported by

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