Metadata-Version: 2.1
Name: autocomplete-light
Version: 0.1.0
Summary: simple autocompletion web component
Home-page: https://yourlabs.io/oss/autocomplete-light
Author: James Pic
Author-email: jamespic@gmail.com
License: MIT
Keywords: html autocomplete
Platform: UNKNOWN
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Provides-Extra: test
License-File: LICENSE

# 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
```

