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
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
Metadata
Release files for autocomplete-light 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autocomplete-light-1.1.5.tar.gz | 5.5 kB | Without provenance | Details for autocomplete-light-1.1.5.tar.gz |
Release files / autocomplete-light-1.1.5.tar.gz
| Download URL | autocomplete-light-1.1.5.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32cc439a0c63da70f27dcec3818c497f1668700fcfa6a2d41bd96a5d0046a997
|
|
BLAKE2b-256 checksum How to use checksums |
98332a847b32918f0f1e5f3d40dfa837c0723eaf5c56fe3420cf4b36e140d48d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Security for autocomplete-light 1.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.