Giter Site home page Giter Site logo

karlb / pysqlite3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coleifer/pysqlite3

4.0 2.0 5.0 2.57 MB

SQLite3 DB-API 2.0 driver from Python 3, packaged separately and including sqlite extensions.

License: zlib License

Python 0.14% C 99.85% Shell 0.01%

pysqlite3's Introduction

Status

This repository probably needs to be updated to recent python versions by following the upstream repo. Pull requests welcome!

If you are looking at this only to get support for ICU, have a look at sqlite-icu, instead.

pysqlite3-standalone

This provides a standalone pysqlite3 including a featureful sqlite3 library built according to http://charlesleifer.com/blog/compiling-sqlite-for-use-with-python-applications/ .

This repo allows installing via pip

$ pip install git+git://github.com/karlb/pysqlite3

or with the following line in requirements.txt:

git+git://github.com/karlb/pysqlite3

If you want to use the ICU extension for improved unicode support, you need to set the following environment variables

CFLAGS='-DSQLITE_ENABLE_ICU'
CPPFLAGS=`pkg-config --cflags icu-uc icu-uc icu-i18n`
LDFLAGS=`pkg-config --libs icu-uc icu-uc icu-i18n`

Which would result in the following command when using pip

CFLAGS='-DSQLITE_ENABLE_ICU' CPPFLAGS=`pkg-config --cflags icu-uc icu-uc icu-i18n` LDFLAGS=`pkg-config --libs icu-uc icu-uc icu-i18n` pip install git+git://github.com/karlb/pysqlite3

pysqlite3

This library takes the SQLite module from Python 3.6.4 and packages it as a separately-installable module.

This may be useful for creating SQLite modules capable of working with other versions of SQLite (via the amalgamation option).

Additional features:

  • Support for user-defined window functions (requires SQLite >= 3.25)
  • Support specifying flags when opening connection
  • Support specifying VFS when opening connection

Original code (c) Gerhard Häring

pysqlite3's People

Contributors

coleifer avatar karlb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.