Skip to main content

simple autocompletion web component

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autocomplete-light-1.1.3.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file autocomplete-light-1.1.3.tar.gz.

File metadata

  • Download URL: autocomplete-light-1.1.3.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for autocomplete-light-1.1.3.tar.gz
Algorithm Hash digest
SHA256 e29adf336e09fb3611833c478c773896bdd05e733cc1591c7ca1dede8b50db31
MD5 91b31b17d0457611e9d6f439d4ed8e76
BLAKE2b-256 f18f643bb9aab69dd0ac4f8d66a8c834d857245813ef4d38fa8cfc95bd3d9d26

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page