{ "info": { "author": "Ben Paddock", "author_email": "pads@thisispads.me.uk", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/pads/tiddlywebplugins.mapuser.png)](https://travis-ci.org/pads/tiddlywebplugins.mapuser)\n[![Coverage Status](https://coveralls.io/repos/pads/tiddlywebplugins.mapuser/badge.png)](https://coveralls.io/r/pads/tiddlywebplugins.mapuser)\n[![Latest Release](https://pypip.in/v/tiddlywebplugins.mapuser/badge.png)](https://crate.io/packages/tiddlywebplugins.mapuser/)\nAbout\n=====\n\nAllows TiddlyWeb users to create alias usernames, deliberately without validation.\nThis is ideal in a scenario where you control the user authentication journey but want to use different usernames\nthan those expected by the user authentication source.\nAny username string can be used as long as it contains valid alphanumeric characters and no spaces.\n\nEssentially, what is being mapped is user ID -> username.\n\nUpon a successful POST, the plugin creates a tiddler in a bag called MAPUSER.\nThis data is used when a user logs in so that they can be mapped to their username.\n\nRequirements\n============\n\n* [Python](http://www.python.org/).\n* [pip](http://www.pip-installer.org/en/latest/).\n* make.\n* A working TiddlyWeb instance to test against.\n* [py.test](http://pytest.org/latest/) to run the tests.\n\nModifying\n=========\n\nThe best way to figure out how to work with this project is to look at the `.travis.yml` file.\n\n`setup.py` is used to package up the plugin, install and distribute.\n\nPlugin code lives in the `tiddlywebplugins` directory.\n\nTests live in the `test` directory.\n\n* `make install` installs the plugin as a package on your system\n* `make install_dev` installs packages necessary to run tests, check style and provide test coverage\n* `make test` runs the tests.\n* `make test_with_coverage` runs the tests with code coverage reporting from `pytest-cov`\n* `make pep8` runs pep8 over the code to check for style compliance.\n(you may need sudo for this.)\n* `make release` packages and uploads the plugin to [PyPI](http://pypi.python.org/pypi) for distribution.\n\nPlugin Installation\n===================\n\nInstall tiddlywebplugins.mapuser:\n\n pip install -U tiddlywebplugins.mapuser\n\nTiddlyWeb Configuration\n=======================\n\nReference the plugin from your TiddlyWeb configuration as a system plugin e.g:\n\n`'system_plugins': ['tiddlywebplugins.mapuser']`\n\nUsage\n=====\n\nThe URL to send POSTs to will be:\n\n map_user/\n\nWhere `` is the same as the one used to authenticate. The body will contain the mapped username:\n\n mapped_user: ", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/tiddlywebplugins.mapuser", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "tiddlywebplugins.mapuser", "package_url": "https://pypi.org/project/tiddlywebplugins.mapuser/", "platform": "Posix; MacOS X; Windows", "project_url": "https://pypi.org/project/tiddlywebplugins.mapuser/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/tiddlywebplugins.mapuser" }, "release_url": "https://pypi.org/project/tiddlywebplugins.mapuser/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Allows TiddlyWeb users to create alias usernames, deliberately without validation.", "version": "0.1.0" }, "last_serial": 858809, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fe9cafae0d6c15271190da2307bf0315", "sha256": "6ddad0aad7c245add6cfb6e90296615dae2cc075f94944500a2920ce257c06b5" }, "downloads": -1, "filename": "tiddlywebplugins.mapuser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fe9cafae0d6c15271190da2307bf0315", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4236, "upload_time": "2013-08-19T10:57:56", "url": "https://files.pythonhosted.org/packages/05/63/031cbfc3f93c9a929588bb624950510e7ebebbc049bb3d4680e7d31e915a/tiddlywebplugins.mapuser-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fe9cafae0d6c15271190da2307bf0315", "sha256": "6ddad0aad7c245add6cfb6e90296615dae2cc075f94944500a2920ce257c06b5" }, "downloads": -1, "filename": "tiddlywebplugins.mapuser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fe9cafae0d6c15271190da2307bf0315", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4236, "upload_time": "2013-08-19T10:57:56", "url": "https://files.pythonhosted.org/packages/05/63/031cbfc3f93c9a929588bb624950510e7ebebbc049bb3d4680e7d31e915a/tiddlywebplugins.mapuser-0.1.0.tar.gz" } ] }