Skip to main content

Wrapper of sqlite3 module which adds SpatiaLite support.

Project description

Wrapper for standard Python module sqlite3 which adds SpatiaLite support.

Requirement: mod_spatialite

This module will try to load SpatiaLite extension in SQLite and thus requires “mod_spatialite” being present.


$ apt-get install libsqlite3-mod-spatialite


$ brew install libspatialite


Using pip:

$ pip install spatialite


import spatialite

with spatialite.connect('sl_temp.db') as db:
    print(db.execute('SELECT spatialite_version()').fetchone()[0])

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
spatialite-0.0.3-py3-none-any.whl (4.2 kB) Copy SHA256 hash SHA256 Wheel py3
spatialite-0.0.3.tar.gz (2.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page