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 details)
Built Distribution
File details
Details for the file spatialite-0.0.3.tar.gz
.
File metadata
- Download URL: spatialite-0.0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0761f239a52f326b14ce41ba61b6614dfcc808b978a0bec4a37c1de9ad9071e |
|
MD5 | af6a077c05ba3ed1f3a90d0dcacec1b9 |
|
BLAKE2b-256 | eb0caa040af6021236a6d90739b63eec0cab5541d4492cfb871e73f8d1e4e327 |
File details
Details for the file spatialite-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: spatialite-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3124f643688c8ba4e2ff200ef401cf7b57caa44db666cb78519784f98f662982 |
|
MD5 | e715beaf6a69e8b765985dbb2dc10f92 |
|
BLAKE2b-256 | 435dff0c1c7ca9b4d294029f9a2a2a2f668e8e33e7926135d7a86c35d855eb23 |