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.
Ubuntu:
$ apt-get install libsqlite3-mod-spatialite
macOS:
$ brew install libspatialite
Install
Using pip:
$ pip install spatialite
Usage
import spatialite
with spatialite.connect('sl_temp.db') as db:
print(db.execute('SELECT spatialite_version()').fetchone()[0])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spatialite-0.0.2.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for spatialite-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ffc63f0b3216a8bbcb75035593f483562a2c3e93b7d5903d5d8633c8dff9079 |
|
MD5 | 8aad3b347dd4dad1d924cd3342614172 |
|
BLAKE2b-256 | 3b8f3f0e8762b0ea854fc6801712f7be8e0699add70be903920600b2c84345e8 |