Public Repository

Last pushed: 2 years ago
Short Description
Adapting Alpine Python builds with SQLite extension availability (--enable-loadable-extensions)
Full Description

After testing several Python 3.x branches, most were not building Python with a useful --enable-loadable-extensions flag, which allows Python to load run-time extensions.
If you ever see this error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'sqlite3.Connection' object has no attribute 'enable_load_extension'

In 3.x it is likely from sqlite3 not built with loadable runtime extensions.

This repository is from the official Alpine Python builds (5/8/2016).

Base images

docker pull prolocutor/python3-sqlite-ext:3.5.1
docker pull prolocutor/python3-sqlite-ext:3.4.4
docker pull prolocutor/python3-sqlite-ext:3.3.6

Spatialite images

docker pull prolocutor/python3-sqlite-ext:3.5.1-spatialite

Docker Pull Command