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/
Metadata
Release files for tiddlywebplugins.diststore 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tiddlywebplugins.diststore-0.8.tar.gz | 5.3 kB | Without provenance | Details for tiddlywebplugins.diststore-0.8.tar.gz |
Release files / tiddlywebplugins.diststore-0.8.tar.gz
| Download URL | tiddlywebplugins.diststore-0.8.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f215ac3fc91a1da86605e1c5eafb0db6c74eac93c6034ced43f781b3a36feca8
|
|
BLAKE2b-256 checksum How to use checksums |
4b5516c779c763e191542929e4318b419030f038d15110cd9226ca79f65c5565
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for tiddlywebplugins.diststore 0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.