# Autocomplete-Light: simple autocompletion web component
Difference with other HTML autocompletion elements:
- defers the rendering of the select box to the server
- lightweight javascript web component with no dependency
While it is best suited for server side framework integration, it may also be
used on its own, to create a global navigation input like in the facebook top
bar, as well as to create replacement widgets for HTML selects.
Demo
====
Clone the repository and run `python serve.py`
Usage
=====
For usage, check the [index.html source
code](https://yourlabs.io/oss/autocomplete-light/-/blob/master/index.html)
Testing
=======
This module exposes a Python library to provide an API for Selenium and make
integration testing easier with Python projects.
Install the python package with test dependencies:
```
# in repository clone
pip install -e .[test]
python serve.py &
py.test -sv
```
Raw data
{
"_id": null,
"home_page": "https://yourlabs.io/oss/autocomplete-light",
"name": "autocomplete-light",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "html autocomplete",
"author": "James Pic",
"author_email": "jamespic@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/98/33/2a847b32918f0f1e5f3d40dfa837c0723eaf5c56fe3420cf4b36e140d48d/autocomplete-light-1.1.5.tar.gz",
"platform": null,
"description": "# Autocomplete-Light: simple autocompletion web component\n\nDifference with other HTML autocompletion elements:\n\n- defers the rendering of the select box to the server\n- lightweight javascript web component with no dependency\n\nWhile it is best suited for server side framework integration, it may also be\nused on its own, to create a global navigation input like in the facebook top\nbar, as well as to create replacement widgets for HTML selects.\n\nDemo\n====\n\nClone the repository and run `python serve.py`\n\nUsage\n=====\n\nFor usage, check the [index.html source\ncode](https://yourlabs.io/oss/autocomplete-light/-/blob/master/index.html)\n\nTesting\n=======\n\nThis module exposes a Python library to provide an API for Selenium and make\nintegration testing easier with Python projects.\n\nInstall the python package with test dependencies:\n\n```\n# in repository clone\npip install -e .[test]\npython serve.py &\npy.test -sv\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "simple autocompletion web component",
"version": "1.1.5",
"split_keywords": [
"html",
"autocomplete"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "98332a847b32918f0f1e5f3d40dfa837c0723eaf5c56fe3420cf4b36e140d48d",
"md5": "f708785c7dfe99c8430f9b8862089207",
"sha256": "32cc439a0c63da70f27dcec3818c497f1668700fcfa6a2d41bd96a5d0046a997"
},
"downloads": -1,
"filename": "autocomplete-light-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "f708785c7dfe99c8430f9b8862089207",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5537,
"upload_time": "2023-03-14T19:36:53",
"upload_time_iso_8601": "2023-03-14T19:36:53.851235Z",
"url": "https://files.pythonhosted.org/packages/98/33/2a847b32918f0f1e5f3d40dfa837c0723eaf5c56fe3420cf4b36e140d48d/autocomplete-light-1.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-14 19:36:53",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "autocomplete-light"
}