Skip to main content

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autocomplete-light 1.1.2
File Size Uploaded Provenance Actions
autocomplete-light-1.1.2.tar.gz 5.5 kB Without provenance Details for autocomplete-light-1.1.2.tar.gz

Release files / autocomplete-light-1.1.2.tar.gz

Download URL autocomplete-light-1.1.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c13f193b73c8186faacdf3512da044614e071532f09b1c2848cbf318f90dcdb9
BLAKE2b-256 checksum
How to use checksums
39abd06e798b185a3dc9e978835247937921add700c9fdfeb6b8e158e9400907
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page