Skip to main content

AutoCombobox

PyPI

AutoCombobox is a Ttk widget based on the existing Combobox. It allows the user to write on the entry field, viewing at the same time some suggested option based on what the user writes. The suggestions are customizable through a function that can be defined by the developer.

Installation

AutoCombobox can be installed from PyPI using the command pip install autocombobox. It doesn't have any dependences other than Tkinter.

Usage

AutoCombobox was created specifically to be used like the normal Ttk Combobox, so all its options are available. Beside that, it can accept the filter option, that allows the developer to pass the function that determines the suggestions. The function must take 2 parameters: the first represent the list of all possible options of the Combobox, and the second represent the text written on the entry field; the function must returns a list of integers rappresenting the indices of the position of each option (a negative value indicates that the option will not be shown). There is a default filter function, that shows all the options that starts with the user input.

AutoCombobox makes available also various useful methods:

  • show_listbox and hide_listbox are the functions that manage the list of the Combobox options;
  • update_values takes an optional string and filters the list of all possible values based on it, to show only suggestions. If no strings is given, it is taken from the entry field;
  • select takes a string, and set the entry field with that. If the string is also in the possible value, it generate a <<ComboboxSelected>> event;
  • change_highlight takes the index of the option we want to hightlight.

Metadata

Release files for autocombobox 1.7.1

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

Source distribution (sdist)

Source distribution for autocombobox 1.7.1
File Size Uploaded Provenance Actions
autocombobox-1.7.1.tar.gz 35.8 kB Without provenance Details for autocombobox-1.7.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autocombobox 1.7.1
File Interpreter ABI Platform Actions
autocombobox-1.7.1-py3-none-any.whl Python 3 none any Details for autocombobox-1.7.1-py3-none-any.whl

Total release size: 66.8 kB

Release files / autocombobox-1.7.1.tar.gz

Download URL autocombobox-1.7.1.tar.gz
Size 35.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8cecd6b10d90c79280c9dc667b00385b22504484888647e9e51f92d1e6f1e43e
BLAKE2b-256 checksum
How to use checksums
e009776792a8c626325a561c7193d2cf48a4b96ba86c5081abe991b4a3a54007
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / autocombobox-1.7.1-py3-none-any.whl

Download URL autocombobox-1.7.1-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6591aeb783c823e9c5170b0e034673b10a6c16a5bb5da6b96a3d2f20d731b789
BLAKE2b-256 checksum
How to use checksums
96cc1347b9e5440a9f0f3ae5ef56186c7634f383bac8780c7027e3a9628ca1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for autocombobox 1.7.1

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