Package couchdbkit :: Module loaders
[hide private]
[frames] | no frames]

Module loaders

source code

Loaders are a simple way to manage design docs in your Python application. Loaders are compatible with couchapp script (http://github.com/couchapp/couchapp). So it means that you can simply use couchdbkit as replacement for your python applications with advantages of couchdbkit client. Compatibility with couchapp means that you can also use macros to include javascript code or design doc members in your views, shows & lists.

Loaders are FileSystemDocsLoader and FileSystemDocLoader. The first one takes a directory and retrieve all design docs before sending them to CouchDB. Second allow you to send only one design doc.

This module is here for compatibility reason and will be removed in 0.6. It's replaced by couchdbkit.designer module and push* functions.

Classes [hide private]
  BaseDocsLoader
Baseclass for all doc loaders.
  FileSystemDocsLoader
Load docs from the filesystem.
  FileSystemDocLoader
Load only one design doc from a path on the filesystem.
Variables [hide private]
  __package__ = 'couchdbkit'