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!

key-value database wrapper for SQL database (MySQL, SQLite)

Project Description

kvlite is small open-source library for storing documents in SQL databases. Only three methods are needed to manipulate documents in database: get(), put(), delete(). At the moment supported MySQL and SQLite databases only. A document can be string, list/tuple or dictionary. Default serialization is based on cPickleSerializer methods but of course it is possible to define own serialization to store data in kvlite databases.

A document is a string, list/tuple, dictionary or any structure which can be serialized by cPickle, JSON or own serializer.

A collection is a group of documents stored in kvlite. It can be thought of as roughly the equivalent of a table in a relational database.

The format of uri (uniform resource identifier) for databases:

  • for mysql: ‘mysql://username:password@hostname:port/database.collection_name’
  • for sqlite: ‘sqlite://path-to-sqlite-file:collection_name’ or ‘sqlite://memory:collection_name’

In case when sqlite is in use two variants of collection is possible: store data in file or store data in memory.

There’s two ways how to simplify access to kvlite’s data: command line and web interface. Command line:

python -mkvlite.cli

Web interface:

python -mkvlite.webui

Installation

please check installation guideline <https://github.com/ownport/kvlite/blob/master/docs/install.md>

Articles

Release History

Release History

This version
History Node

0.6.3

History Node

0.6.2

History Node

0.5.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kvlite-0.6.3.tar.gz (282.0 kB) Copy SHA256 Checksum SHA256 Source Aug 25, 2013

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