Skip to main content
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!

Add a hash digest field to tiddlers

Project Description

A TiddlyWeb plugin which adds a _hash field to outgoing tiddlers.

  • When a tiddler is get from the store, if there is no _hash, then the hash is added to the outgoing tiddler. It is _not_ saved

This is done to allow quick comparisons between tiddlers which may have different names but may have the same set of content characteristics.

The hash_tiddler method is exposed so that stores can create a hash prior to a put to the store. See tiddlywebplugis.tiddlyspace.store for an example.

To use add ‘tiddlywebplugins.hashmaker’ to system_plugins and twanager_plugins in tiddlywebconfig.py. Optionally define hashmaker.attributes to be a list of strings representing the attributes or fields of a tiddler which are to be hashed. The default is:

[‘text’]
Release History

Release History

This version
History Node

0.9

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

History Node

0.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
tiddlywebplugins.hashmaker-0.9.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Feb 21, 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