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.3.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for spatialite-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3124f643688c8ba4e2ff200ef401cf7b57caa44db666cb78519784f98f662982 |
|
MD5 | e715beaf6a69e8b765985dbb2dc10f92 |
|
BLAKE2b-256 | 435dff0c1c7ca9b4d294029f9a2a2a2f668e8e33e7926135d7a86c35d855eb23 |