dj-search-highlight


Namedj-search-highlight JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://medium.com/@sevdimali
SummaryHighlight string in the text.
upload_time2023-05-13 14:55:16
maintainer
docs_urlNone
authorSevdimali Isayev
requires_python!=3.0.*,!=3.1.*,!=3.2.*,>=2.7
licenseMIT
keywords django highlight
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ===========================================
Simple Django keyword highlighter in a text
===========================================

Install
-------

`pip install dj-search-highlight`

Usage
-----
It is setup is very easy:

Settings
^^^^^^^^

.. code:: python

	INSTALLED_APPS = (
		# ...
		'highlighter',
	)


Template
^^^^^^^^

.. code:: html

	{% load highlight_yellow %}
	{{ some_text|highlight_yellow:keyword }}

            

Raw data

            {
    "_id": null,
    "home_page": "https://medium.com/@sevdimali",
    "name": "dj-search-highlight",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7",
    "maintainer_email": "",
    "keywords": "django highlight",
    "author": "Sevdimali Isayev",
    "author_email": "sevdimaliisa@gmail.com",
    "download_url": "",
    "platform": null,
    "description": "===========================================\r\nSimple Django keyword highlighter in a text\r\n===========================================\r\n\r\nInstall\r\n-------\r\n\r\n`pip install dj-search-highlight`\r\n\r\nUsage\r\n-----\r\nIt is setup is very easy:\r\n\r\nSettings\r\n^^^^^^^^\r\n\r\n.. code:: python\r\n\r\n\tINSTALLED_APPS = (\r\n\t\t# ...\r\n\t\t'highlighter',\r\n\t)\r\n\r\n\r\nTemplate\r\n^^^^^^^^\r\n\r\n.. code:: html\r\n\r\n\t{% load highlight_yellow %}\r\n\t{{ some_text|highlight_yellow:keyword }}\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Highlight string in the text.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://medium.com/@sevdimali"
    },
    "split_keywords": [
        "django",
        "highlight"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b7fff0c3046e8353fe916df49aff27eed29cb08b47e2e34b2835891a776d766",
                "md5": "8a7dbcbeb2a067b6bb18f2d8c768edbe",
                "sha256": "b21b75d4072591faed6b0bbb25ce41e16abbaebe51f54a8105ad50e49820559b"
            },
            "downloads": -1,
            "filename": "dj_search_highlight-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a7dbcbeb2a067b6bb18f2d8c768edbe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7",
            "size": 2915,
            "upload_time": "2023-05-13T14:55:16",
            "upload_time_iso_8601": "2023-05-13T14:55:16.093372Z",
            "url": "https://files.pythonhosted.org/packages/3b/7f/ff0c3046e8353fe916df49aff27eed29cb08b47e2e34b2835891a776d766/dj_search_highlight-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-13 14:55:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dj-search-highlight"
}
        
Elapsed time: 2.07902s