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.


tiddlywebplugins.mapuser is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)

[![Build Status](https://travis-ci.org/pads/tiddlywebplugins.mapuser.png)](https://travis-ci.org/pads/tiddlywebplugins.mapuser) [![Coverage Status](https://coveralls.io/repos/pads/tiddlywebplugins.mapuser/badge.png)](https://coveralls.io/r/pads/tiddlywebplugins.mapuser) [![Latest Release](https://pypip.in/v/tiddlywebplugins.mapuser/badge.png)](https://crate.io/packages/tiddlywebplugins.mapuser/) About =====

Allows TiddlyWeb users to create alias usernames, deliberately without validation. This is ideal in a scenario where you control the user authentication journey but want to use different usernames than those expected by the user authentication source. Any username string can be used as long as it contains valid alphanumeric characters and no spaces.

Essentially, what is being mapped is user ID -> username.

Upon a successful POST, the plugin creates a tiddler in a bag called MAPUSER. This data is used when a user logs in so that they can be mapped to their username.



The best way to figure out how to work with this project is to look at the .travis.yml file.

setup.py is used to package up the plugin, install and distribute.

Plugin code lives in the tiddlywebplugins directory.

Tests live in the test directory.

  • make install installs the plugin as a package on your system
  • make install_dev installs packages necessary to run tests, check style and provide test coverage
  • make test runs the tests.
  • make test_with_coverage runs the tests with code coverage reporting from pytest-cov
  • make pep8 runs pep8 over the code to check for style compliance.

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

Bullet list ends without a blank line; unexpected unindent.

(you may need sudo for this.) * make release packages and uploads the plugin to [PyPI](http://pypi.python.org/pypi) for distribution.

Plugin Installation

Install tiddlywebplugins.mapuser:

pip install -U tiddlywebplugins.mapuser

TiddlyWeb Configuration

Reference the plugin from your TiddlyWeb configuration as a system plugin e.g:

'system_plugins': ['tiddlywebplugins.mapuser']


The URL to send POSTs to will be:


Where <userid> is the same as the one used to authenticate. The body will contain the mapped username:

mapped_user: <username>

Subscribe to package updates

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.