Skip to main content

Autofill

Autofill is a Python library for dealing with auto-completion of words.

Installation

Use the package manager pip to install autofill.

pip install autofill

Usage

from autofill import autofill

# register list of 'words' into autofill system
words = ["mobile", "mouse", "moneypot", "monitor", "mousepad"]
autofill.register_words(words)

# prefix search
autofill.search('mou') # returns ['mouse', 'mousepad']

# Find top k words from previous search matches
autofill.find_top_k_matches(k=4) # returns [('mouse', 1), ('mousepad', 1), ('mobile', 0), ('moneypot', 0)]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

MIT

======= History

0.1.0 (2021-08-01)

  • First release on PyPI.

Metadata

Release files for autofill 0.1.0

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

Source distribution (sdist)

Source distribution for autofill 0.1.0
File Size Uploaded Provenance
autofill-0.1.0.tar.gz 9.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autofill 0.1.0
File Interpreter ABI Platform
autofill-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 13.4 kB

Release files / autofill-0.1.0.tar.gz

Download URL autofill-0.1.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3700e57d2574aca682f73297a14306887b579e3810b16773cf03b7c7cd77ef92
BLAKE2b-256 checksum
How to use checksums
d33e6b8ecd9b6ebe9d2b778703b73d84faecd7e7a4f637c91892e4bea8d26c06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.9

Release files / autofill-0.1.0-py2.py3-none-any.whl

Download URL autofill-0.1.0-py2.py3-none-any.whl
Size 4.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9576ad575e38727f28c4fb53c18fb8a607a99bf1b0ac1af75c0867249a85b420
BLAKE2b-256 checksum
How to use checksums
190f45410223f7cc1688ccbb96b4190bed1353a74e5198d4e0b57b1a050cfd2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.6.9

Security for autofill 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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