{ "info": { "author": "matthias rebel", "author_email": "webmaster@rebeling.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Text Processing :: Markup" ], "description": "# Welcome to Anchorman\n\n.. image:: https://img.shields.io/pypi/v/anchorman.svg\n :target: https://pypi.python.org/pypi/anchorman\n :alt: Latest Version\n\n.. image:: https://travis-ci.org/rebeling/anchorman.svg?branch=master\n :target: https://travis-ci.org/rebeling/anchorman\n\nTurn your text into [hypertext](http://en.wikipedia.org/wiki/Hypertext) \nand enrich the content. Anchorman finds terms in text and replaces\nthem with another representation.\n\nThe replacement is rule-based. Each term is checked against the rules\nand will be applied if valid.\n\n # How many items will be marked at all in the text.\n replaces_at_all: 5\n\n # Input term has to be exact match in text.\n case_sensitive: true\n\n\n## Features\n\n* replacement rules\n* consider text units in the rules (e.g. paragraphs)\n* replace only n items of the same item\n* specify restricted_areas for linking by tag: a, img\n* sort elements by value before apply them\n* return applied elements\n\n\n## Usage\n\n >>> from anchorman import annotate\n >>> text = 'The quick brown fox jumps over the lazy dog.'\n >>> elements = [{'fox': {'value': '/wiki/fox', 'data-type': 'animal'}}]\n >>> print annotate(text, elements)\n 'The quick brown fox jumps over the lazy dog.'\n\n\n## Installation\n\nTo install Anchorman, simply:\n\n pip install anchorman\n\n\n## Credits and contributions\n\nWe published this at github and pypi to provide our solution to you.\nPleased for feedback and contributions.\n\nThanks [@tarnacious](https://github.com/tarnacious) for inspiration\nand first steps.\n\n\n## Todo\n\n* check if position exist in input and save extra processing\n* html.parser vs lxml in bs4 - benchmarks and drawbacks\n\n\n\nStay tuned.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rebeling/anchorman", "keywords": "intext-links,linking,annotations,tags,hypertext,markup", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "anchorman", "package_url": "https://pypi.org/project/anchorman/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/anchorman/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rebeling/anchorman" }, "release_url": "https://pypi.org/project/anchorman/0.5.3/", "requires_dist": null, "requires_python": null, "summary": "Anchorman takes a list of terms and a text. It finds the terms in this text and replaces them with another representation.", "version": "0.5.3" }, "last_serial": 2681254, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "ac1a6ce7a8f21563636a00b3bda0d2ad", "sha256": "797ba2b35726cb0b947c8a5a88dd8c2f0092503bee108c23cbd7ccde992850d8" }, "downloads": -1, "filename": "anchorman-0.0.1.tar.gz", "has_sig": false, "md5_digest": "ac1a6ce7a8f21563636a00b3bda0d2ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7664, "upload_time": "2015-02-09T12:40:55", "url": "https://files.pythonhosted.org/packages/80/f3/93309d12efeed60380017bb8f392cf75b8636c6e90fb5fef635a4815bc11/anchorman-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "96b40eb232904105edd26fd2f019d8ad", "sha256": "00ef2b3de0b7e84fcc230419bc93138062200987a68f4d520e41e36dee43732f" }, "downloads": -1, "filename": "anchorman-0.0.2.tar.gz", "has_sig": false, "md5_digest": "96b40eb232904105edd26fd2f019d8ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7599, "upload_time": "2015-02-09T21:24:38", "url": "https://files.pythonhosted.org/packages/c5/d0/d33b2e73ebfd40b9f97a39cb9654423a942043085f5b2ecdd56acaa20932/anchorman-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "826f69138b149fce9253272941df53d4", "sha256": "33c15a9e451b12aa9c1e31f910cd70eece56cbbeed2aad89f32d4e074d70f69d" }, "downloads": -1, "filename": "anchorman-0.0.3.tar.gz", "has_sig": false, "md5_digest": "826f69138b149fce9253272941df53d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9768, "upload_time": "2015-04-08T18:22:40", "url": "https://files.pythonhosted.org/packages/4a/21/e184336abbd884801f2218641ef95f43b7316b2908ca07dfa5a4f034abb5/anchorman-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "631ecac23a0f7d1bd4f535225ec3825c", "sha256": "aeca325f8cc26790cd6b99b83070e15d8c1e3bcb23935e6011d9d690546e5695" }, "downloads": -1, "filename": "anchorman-0.0.4.tar.gz", "has_sig": false, "md5_digest": "631ecac23a0f7d1bd4f535225ec3825c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11236, "upload_time": "2015-04-10T09:59:17", "url": "https://files.pythonhosted.org/packages/d1/21/bce82d0d50381548d964df6ae23861da90a5e5201d9b8786aaf76cf9299f/anchorman-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e3a4909372e9877c32330355ec420ce2", "sha256": "dda052a764a9c94d3563020a98610e6ad54e542e7536b74a0315c8c86e897dae" }, "downloads": -1, "filename": "anchorman-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e3a4909372e9877c32330355ec420ce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11333, "upload_time": "2015-04-21T12:40:18", "url": "https://files.pythonhosted.org/packages/a0/fb/9e2def7adbbea8472b22df004269fabc478e0111e6ae4143c8b20221d71c/anchorman-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "ad252f724cc493ddc5be74cca77b56ff", "sha256": "69134af22a099c0126494a1ae9b1cc18394ce7edf73d22ebfc5baf3c1d941707" }, "downloads": -1, "filename": "anchorman-0.0.6.tar.gz", "has_sig": false, "md5_digest": "ad252f724cc493ddc5be74cca77b56ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11365, "upload_time": "2015-04-21T21:04:37", "url": "https://files.pythonhosted.org/packages/d8/3a/50d28c85803caca7c1c6fe50ac1954ae408adb52e59cf669965ab6affb52/anchorman-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "e8372232c0ae2dc5e484a909b9ee73b5", "sha256": "d6839f06feb3261e6f284074cb8faaf6cf7b4ac11b5e37c27c870300485a7229" }, "downloads": -1, "filename": "anchorman-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e8372232c0ae2dc5e484a909b9ee73b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11120, "upload_time": "2015-05-28T20:15:29", "url": "https://files.pythonhosted.org/packages/13/3d/fd09771f3ef3d5b88a254ef7fb311ad0afba3069c2fe1ff0c4bd8256ede2/anchorman-0.0.7.tar.gz" } ], "0.0.8a0": [ { "comment_text": "", "digests": { "md5": "0448fcf0af0ca3c84381d18571809309", "sha256": "497346812f9898c9b8146a1564ecb2e95b2ff2b6df9fec94df97626a2d2ca6ef" }, "downloads": -1, "filename": "anchorman-0.0.8a0.tar.gz", "has_sig": false, "md5_digest": "0448fcf0af0ca3c84381d18571809309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11146, "upload_time": "2015-06-02T21:30:13", "url": "https://files.pythonhosted.org/packages/ae/11/7d32c269e028ff1d7ac72c5371497d48cd363b99985264d74a8e5f1fc125/anchorman-0.0.8a0.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "410521bb4503078e1caf9768427c9442", "sha256": "76e0427be87dd206b14d22eeaaac974fea0375c5825d5317cbd6032d32f92553" }, "downloads": -1, "filename": "anchorman-0.0.9.tar.gz", "has_sig": false, "md5_digest": "410521bb4503078e1caf9768427c9442", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11256, "upload_time": "2015-06-02T21:53:21", "url": "https://files.pythonhosted.org/packages/7c/1c/85c8868405d7da3d655e9d109494b6c061c5dd9d8598157731a805375150/anchorman-0.0.9.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4cbec016794ab6d38cf9598dbe84b9e1", "sha256": "a7729f7c351e4e682023ee643aaf62be2f9d0ffc6214d8cedbb8b80b3a75d78d" }, "downloads": -1, "filename": "anchorman-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4cbec016794ab6d38cf9598dbe84b9e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5735, "upload_time": "2016-02-12T14:07:07", "url": "https://files.pythonhosted.org/packages/a6/59/6864aefaa9d68e9f3f021499b8b2c8ad008a7642340e9bc7507f3d3f3202/anchorman-0.1.1.tar.gz" } ], "0.1.2": [], "0.1.4": [ { "comment_text": "", "digests": { "md5": "717a1e0d0b39abc4c7f405209f0ce312", "sha256": "023ccb56419b34ac0ae870d171d33ab725c7947584381c4595b12f3ec78c5e4e" }, "downloads": -1, "filename": "anchorman-0.1.4.tar.gz", "has_sig": false, "md5_digest": "717a1e0d0b39abc4c7f405209f0ce312", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5600, "upload_time": "2016-02-12T14:18:27", "url": "https://files.pythonhosted.org/packages/91/99/e5d233fb2a28b65f35deefd1108cb9d3fb749b2b60e59ec11a1f37bff5c2/anchorman-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "b4c8341f407e32468d3d0637ec3cf538", "sha256": "cb774f911140da7aad6c6392f693386b6f70b65ee92272003e1c387e7e74c7c1" }, "downloads": -1, "filename": "anchorman-0.1.5.tar.gz", "has_sig": false, "md5_digest": "b4c8341f407e32468d3d0637ec3cf538", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4625, "upload_time": "2016-03-13T22:55:10", "url": "https://files.pythonhosted.org/packages/63/b7/28acefb449bcbfd8f3d322ade1e33485401df3a2032580a8940eb6dfd725/anchorman-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "5051959e736a937892997aa5028ed994", "sha256": "7ca7d98eeb26add4fa6fcb61c0b67c4e5d7076b2774bd8a230949df13aa7f937" }, "downloads": -1, "filename": "anchorman-0.1.6.tar.gz", "has_sig": false, "md5_digest": "5051959e736a937892997aa5028ed994", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5938, "upload_time": "2016-03-13T23:06:30", "url": "https://files.pythonhosted.org/packages/9d/4f/1c2d28ed2cdbc8a25ebc49b09e084d95c4a9995adb80b1e0f03638aa43b8/anchorman-0.1.6.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e4924584a854f0ddde33e20c934c26e3", "sha256": "6f21dc27fe72eeb55d7d58c89c5019c19e290fc97b4273be01f4b89041603f49" }, "downloads": -1, "filename": "anchorman-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e4924584a854f0ddde33e20c934c26e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6391, "upload_time": "2016-03-22T23:01:45", "url": "https://files.pythonhosted.org/packages/a2/6c/0d356a6106047b4ebfc6e69a5de5480834fa40f1af18395a59af19e5776b/anchorman-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "3c9f2658e2170794ac2082bf7ab0d11b", "sha256": "9f162c082d5bd06d8596b3c49697869d0011f8ea539c96856e73120e56ed68d0" }, "downloads": -1, "filename": "anchorman-0.2.2.tar.gz", "has_sig": false, "md5_digest": "3c9f2658e2170794ac2082bf7ab0d11b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6511, "upload_time": "2016-03-23T20:03:18", "url": "https://files.pythonhosted.org/packages/b8/06/57aee2d6a06a229939505e224aa53bee20784c322c8ed8923e03fde75f23/anchorman-0.2.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "fc336684465c50cdb81c5f8fc70f133b", "sha256": "199465416376e4c2956c28410470527d6b04f3c4ff2773760e2c8ccb7262f701" }, "downloads": -1, "filename": "anchorman-0.3.0.tar.gz", "has_sig": false, "md5_digest": "fc336684465c50cdb81c5f8fc70f133b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6576, "upload_time": "2016-12-12T16:09:58", "url": "https://files.pythonhosted.org/packages/84/19/d8c6eb4d9d6bc6481d3a6829c28f12ee6840b04374059d949cf6c39f53c2/anchorman-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "f2cca0e85012f2ce88aaaf14bb949011", "sha256": "d8be229ca571d21b7a12b3d8c4daea365cede300b86e69b07fea683d46a4567b" }, "downloads": -1, "filename": "anchorman-0.3.1.tar.gz", "has_sig": false, "md5_digest": "f2cca0e85012f2ce88aaaf14bb949011", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6570, "upload_time": "2016-12-12T16:12:41", "url": "https://files.pythonhosted.org/packages/ad/66/9fc5ff530d0789aafb38fee0b29cdb1f74faeeab6220b2382233576804ff/anchorman-0.3.1.tar.gz" } ], "0.4.10": [ { "comment_text": "", "digests": { "md5": "61d23971d89a4643c3636e6f8b1002bc", "sha256": "0e3ed57aee817537d01db13c2648af4c57d80e05ba8c30cb5cd394659de6a813" }, "downloads": -1, "filename": "anchorman-0.4.10.tar.gz", "has_sig": false, "md5_digest": "61d23971d89a4643c3636e6f8b1002bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7534, "upload_time": "2017-01-22T21:31:35", "url": "https://files.pythonhosted.org/packages/69/9c/b4002dc0514dedf4e04933aea3cf0c532ec8986452047ba69b2957c9dd7d/anchorman-0.4.10.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "ae66f6e2bf2987e866efbda0beda637b", "sha256": "63afe7f5fa998bc58e86c624e622f9509e35be3e5badc299495caae80caa26d6" }, "downloads": -1, "filename": "anchorman-0.5.0.tar.gz", "has_sig": false, "md5_digest": "ae66f6e2bf2987e866efbda0beda637b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7542, "upload_time": "2017-01-22T21:34:36", "url": "https://files.pythonhosted.org/packages/cc/bf/a91e739023b5a1beb578ff93dce62cbbef765b57b2b1150dbaae3b4c3958/anchorman-0.5.0.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "c9bc5b5352423cfc94a5b007c0d98a2f", "sha256": "7a0147ecc0413e49378a1a0e0c5694d284c6ad731380f1a0b3f9b2a39daee332" }, "downloads": -1, "filename": "anchorman-0.5.2.tar.gz", "has_sig": false, "md5_digest": "c9bc5b5352423cfc94a5b007c0d98a2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9151, "upload_time": "2017-03-03T19:47:52", "url": "https://files.pythonhosted.org/packages/0f/fa/1fcc96133ed0c5b407e21bb6bea0c688d0d5ea8ea17c90c586ace5fe839f/anchorman-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "6d680560caa55703d1ea154a7b94e083", "sha256": "09844b1c8614c6173026d541fb77113178ef87acde37a4edd3f5facb2c0e2dd0" }, "downloads": -1, "filename": "anchorman-0.5.3.tar.gz", "has_sig": false, "md5_digest": "6d680560caa55703d1ea154a7b94e083", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9053, "upload_time": "2017-03-03T20:33:29", "url": "https://files.pythonhosted.org/packages/94/de/c8b5c361684bf827758ef325acf4a83f712a6d824a00660e02f0863f8b65/anchorman-0.5.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6d680560caa55703d1ea154a7b94e083", "sha256": "09844b1c8614c6173026d541fb77113178ef87acde37a4edd3f5facb2c0e2dd0" }, "downloads": -1, "filename": "anchorman-0.5.3.tar.gz", "has_sig": false, "md5_digest": "6d680560caa55703d1ea154a7b94e083", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9053, "upload_time": "2017-03-03T20:33:29", "url": "https://files.pythonhosted.org/packages/94/de/c8b5c361684bf827758ef325acf4a83f712a6d824a00660e02f0863f8b65/anchorman-0.5.3.tar.gz" } ] }