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!

Use multiple stores in the same TiddlyWeb instance.

Project Description
A TiddlyWeb store that makes it possible to store some content in
different stores, based on rules defined in tiddlywebconfig.py.

The rules are regular expressions which match the name of a bag. When a
tiddler or bag is accessed (for read or write) if the name of the bag
matches a regular expression in the store's "extras" dictionary, the
store named in the value is responsible for the entity being accessed.
Otherwise the store named in "main" is used.

This is an experimental store, but it is being reliably used in
production with the http://www.wiki-data.com/ website. In that service,
the main collection of tiddler data is kept in one highly optimized bag
using the mappingsql store, while users and other system data are stored
in a text store. Here's the relevant config:

'server_store': ['tiddlywebplugins.diststore', {
'main': ['text', {'store_root': 'store'}],
'extras': [
(r'^example$', ['mappingsql',
{'db_config':
'mysql://example@localhost/example?charset=utf8'}]),
],
}],

To use this plugin you must modify tiddlywebconfig.py to set the
'server_store' item. Do not add 'tiddlywebplugins.diststore' to
'system_plugins' or 'twanager_plugins'.

Copyright 2009, Chris Dent <cdent@peermore.com>

Licensed under the same terms as TiddlyWeb.
http://tiddlyweb.com/
Release History

Release History

This version
History Node

0.8

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

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
tiddlywebplugins.diststore-0.8.tar.gz (5.3 kB) Copy SHA256 Checksum SHA256 Source Jan 13, 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