{ "info": { "author": "Piotr Lizo\u0144czyk", "author_email": "piotr.lizonczyk@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "internal\\_links\n===============\n\nSEO tool for adding links to text contained in Django apps databases.\n\n**Renamed old package: https://pypi.python.org/pypi/permalink\\_adder**\n\nInstallation\n============\n\nInstall with pip:\n\n::\n\n pip install internal_links\n\nUsage\n=====\n\nYou need to specify where and what to look for in your Django app's\nsettings in this manner:\n\n::\n\n INTERNAL_LINKS_SETTINGS = [{'app': 'your_app_name',\n 'model_name': 'your_model_name',\n 'fields': ['list', 'of', 'fields', 'in', 'which', 'script', 'should', 'search'],\n 'words': ['list', 'of', 'words', 'to', 'search'],\n 'url': 'url_that_should_be_wrapped_around_found_text',\n 'target': False, # optional, setting it to e.g. '_blank' will add target=\"_blank\" tag to link\n 'ocurrence': 1}] # optional, set max occurrences of word you want to wrap, wraps all by default\n \n\nSetting 'fields' to empty list will cause script to look up for fields\nin model (TextField and CharField). You'll have to manually accept each\nfound field.\n\nStarting script with option ``--start`` will actually apply changes to\ndatabase, instead of printing them out.\n\nYou can run the script either using ``add_links`` management command or\ncall ``link_adder`` function from ``adder.py`` module.\n\nOutput\n======\n\nNo output if there are no occurrences of words or when they're already\nwrapped.\n\nWithout ``--start`` option, script will only print out proposed changes.\n\nChangelog\n=========\n\n0.1.6.6 - 21.08.2014\n--------------------\n\n- **[fix]** unicode handling fixes\n\n0.1.6.5 - 21.08.2014\n--------------------\n\n- **[new]** some tests\n- **[new]** set max occurrences to replace\n- **[update]** refactoring\n\n0.1.6 - 14.08.2014\n------------------\n\n- **[new]** fields lookup if none given\n\n0.1.5 - 14.08.2014\n------------------\n\n- **[new]** custom target as an option in settings\n\n0.1.4.6 - 14.08.2014\n--------------------\n\n- **[new]** package renamed from permalink\\_adder\n- **[update]** improved readability\n\n0.1.4.5 - 12.08.2014\n--------------------\n\n- **[new]** dry\\_run as a command option\n\n0.1.4.2 - 8.08.2014\n-------------------\n\n- **[fix]** further description fixes\n\n0.1.4.1 - 8.08.2014\n-------------------\n\n- **[fix]** setup fix in order to display description\n\n0.1.4 - 8.08.2014\n-----------------\n\n- **[new]** introduced readability to output\n\n0.1.3 - 8.08.2014\n-----------------\n\n- **[fix]** bugfix for empty word string case, refactored adder.py\n\n0.1.2 - 8.08.2014\n-----------------\n\n- **[fix]** setup.py fix\n\n0.1.1 - 8.08.2014\n-----------------\n\n- **[new]** updated with manage.py command\n\n0.1 - 8.08.2014\n---------------\n\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/deployed/internal_links/tarball/0.1.6.6", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deployed/internal_links", "keywords": "SEO", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "internal_links", "package_url": "https://pypi.org/project/internal_links/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/internal_links/", "project_urls": { "Download": "https://github.com/deployed/internal_links/tarball/0.1.6.6", "Homepage": "https://github.com/deployed/internal_links" }, "release_url": "https://pypi.org/project/internal_links/0.1.6.6/", "requires_dist": null, "requires_python": null, "summary": "SEO tool for adding links to text contained in Django apps databases.", "version": "0.1.6.6" }, "last_serial": 1197583, "releases": { "0.1.4.5": [], "0.1.4.6": [ { "comment_text": "", "digests": { "md5": "8dc388db708f95dc4ec6dae70629692e", "sha256": "e2064c295e32bf14cc896402a3bd669732bc44e08e4fb093b4d8481b0f8d3188" }, "downloads": -1, "filename": "internal_links-0.1.4.6.tar.gz", "has_sig": false, "md5_digest": "8dc388db708f95dc4ec6dae70629692e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2824, "upload_time": "2014-08-14T12:23:05", "url": "https://files.pythonhosted.org/packages/80/9c/dcee110aa35a3873d03949df53036984703531eb4d153a3d32d543c15c41/internal_links-0.1.4.6.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "5ec29e88e490211d2fbad2a3dbee27e5", "sha256": "d16693df322de9413aeb096a454930999465b70e49c11d34ad0fbf26a1d0b01c" }, "downloads": -1, "filename": "internal_links-0.1.5.tar.gz", "has_sig": false, "md5_digest": "5ec29e88e490211d2fbad2a3dbee27e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3166, "upload_time": "2014-08-14T13:02:44", "url": "https://files.pythonhosted.org/packages/62/05/531161a89b33bd196453b6537593f8876d372259fbf18875a1fcbbbd548b/internal_links-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "f9d889a3660f1f8a9ae26f72c047723a", "sha256": "cc0f07bf5c799f5b919178525ef85fd7cfb4cf6b2cfbe39be7967ba539acc1c2" }, "downloads": -1, "filename": "internal_links-0.1.6.tar.gz", "has_sig": false, "md5_digest": "f9d889a3660f1f8a9ae26f72c047723a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3439, "upload_time": "2014-08-14T14:12:58", "url": "https://files.pythonhosted.org/packages/22/b4/e32b0f8eba1df46c590f8dbc2fde6efec5aedc9054e9bd47c0bd6ec2dbf7/internal_links-0.1.6.tar.gz" } ], "0.1.6.5": [ { "comment_text": "", "digests": { "md5": "d9da9ded296641b84794592fa3359571", "sha256": "10e68aa3f0b87284b9791441b24eed4d6d4487952cd96210504c353bdadc912b" }, "downloads": -1, "filename": "internal_links-0.1.6.5.tar.gz", "has_sig": false, "md5_digest": "d9da9ded296641b84794592fa3359571", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4060, "upload_time": "2014-08-21T10:09:31", "url": "https://files.pythonhosted.org/packages/88/3e/0992d174c91d9726c54027c8e6610e1e17a405ac3977a31a8fcec5624de7/internal_links-0.1.6.5.tar.gz" } ], "0.1.6.6": [ { "comment_text": "", "digests": { "md5": "e0c2687fc64f90d8994a9dd331d4543c", "sha256": "c6897b01419f4d2380441b14b704320cfefed5bb69b190a490f1ae4555c199e7" }, "downloads": -1, "filename": "internal_links-0.1.6.6.tar.gz", "has_sig": false, "md5_digest": "e0c2687fc64f90d8994a9dd331d4543c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4079, "upload_time": "2014-08-21T10:25:39", "url": "https://files.pythonhosted.org/packages/95/fa/808f8da0009027a6b1815912e095fccfc114c01af32d57180794fc0c8a52/internal_links-0.1.6.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e0c2687fc64f90d8994a9dd331d4543c", "sha256": "c6897b01419f4d2380441b14b704320cfefed5bb69b190a490f1ae4555c199e7" }, "downloads": -1, "filename": "internal_links-0.1.6.6.tar.gz", "has_sig": false, "md5_digest": "e0c2687fc64f90d8994a9dd331d4543c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4079, "upload_time": "2014-08-21T10:25:39", "url": "https://files.pythonhosted.org/packages/95/fa/808f8da0009027a6b1815912e095fccfc114c01af32d57180794fc0c8a52/internal_links-0.1.6.6.tar.gz" } ] }