This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Lightweight wrapper for using sqlite3 in Jython (JVM alternative to C Python's sqlite3 extension module - 'pysqlite')

Project Description

TODO


Class-Path Dependency

This module makes use of the sqlite-jdbc package (“org.xerial:sqlite-jdbc:3.8.11.2”)

It will need to be added to the Jython interpreter’s class-/import-path. If you are using Jython as an embedded language in Java and you plan on using any Python modules which use the sqlite3 C-extension, you’ll need to read the setup below.

Embedded Jython

Building with Gradle

First up, you’ll want the following gradle plugin for declaring jython module dependencies:

plugins {
  ...
  id "com.github.hierynomus.jython" version "0.3.0"
}

You’ll also need the sqlite-jdbc jar holding this module together, and include this module as well:

dependencies {
  ...
  runtime "org.xerial:sqlite-jdbc:3.8.11.2"
  jython "anthonyhendrickson:jython-sqlite3:0.1.0:sqlite3"
}

Note: there are other methods of adding the jython-sqlite3 module for runtime usage, but none so clean.

Release History

Release History

This version
History Node

0.1.3.3

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting