Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tiddlywebplugins.diststore

How to install tiddlywebplugins.diststore

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tiddlywebplugins.diststore
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
Windows (64-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
Mac OS X (10.5+)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
Linux (32-bit)
0.6
0.8Never BuiltWhy not?
0.6 Available View build log
Linux (64-bit)
0.8 Available View build log
0.6 Available View build log
 
Author
Imports
Lastest release
version 0.8 on Jan 9th, 2014

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': [

System Message: ERROR/3 (<string>, line 19)

Unexpected indentation.
(r'^example$', ['mappingsql',
{'db_config':
'mysql://example@localhost/example?charset=utf8'}]),

System Message: WARNING/2 (<string>, line 22)

Block quote ends without a blank line; unexpected unindent.

],

System Message: WARNING/2 (<string>, line 23)

Definition list ends without a blank line; unexpected unindent.

}],

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/

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.