Skip to main content

Find what you're looking for in a flash with Huntela.

Project description

Huntela

Huntela makes searching in Python very simple.

>>> import huntela
>>>
>>> huntela.fuzzy_search(term='app', items=['app', 'paper', 'hello', 'world'])
[
    {'confidence': 1, 'index': 0, 'value': 'app'},
    {'confidence': 0.6, 'index': 1, 'value': 'paper'}
]
>>>
>>> huntela.binary_search(term='a', items=['a', 'b', 'c'])
{'confidence': 1, 'index': 0, 'value': 'a'}
>>>
>>> huntela.search_for_least_frequent_items(size=1, ['a', 'b', 'a', 'e', 'a', 'e'])
[
    {'confidence': 1, 'index': [1], 'value': 'b'}
]
>>>
>>> huntela.search_for_most_frequent_items(size=2, ['a', 'b', 'a', 'e', 'a', 'e'])
[
    {'confidence': 1, 'value': 'a', 'index': [0, 2, 4]},
    {'confidence': 1, 'value': 'e', 'index': [3, 5]}
]

With a variety of algorithms to choose from, finding what you're looking for has never been easier.

From binary search to linear search and more, Huntela has everything you need to quickly and efficiently search through your data. With a simple, intuitive interface and lightning-fast performance, Huntela is the go-to package for anyone who needs to search through data.

Whether you're a data scientist, engineer, or developer, Huntela will help you find what you need.

Installation

Huntela officially supports Python 3.9 upwards.

Huntela is available on PyPi and it can be installed using pip

python -m pip install huntela

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

huntela-0.0.16.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

huntela-0.0.16-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file huntela-0.0.16.tar.gz.

File metadata

  • Download URL: huntela-0.0.16.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for huntela-0.0.16.tar.gz
Algorithm Hash digest
SHA256 8efbb755d9b6194224311f3d92b800bb3ac3cda66980ab539eba656f89ad0157
MD5 87cd55f6e0822be6bdf34af310052848
BLAKE2b-256 0c45f5eb1e1ae0284b366c05ca5f74c01794e396747e1cea0fceb5be496bbcda

See more details on using hashes here.

Provenance

File details

Details for the file huntela-0.0.16-py3-none-any.whl.

File metadata

  • Download URL: huntela-0.0.16-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for huntela-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 67eb154ba9cc102d28229f41bfb8923ab135b2fe9df337872b58ec27c2ada2cc
MD5 29ed944f4d58eb323c7d8d758f4590fc
BLAKE2b-256 e8a95307908111e28e435c0a96e12950d88b30739ad7a7f3b4cd4cde34f30d76

See more details on using hashes here.

Provenance

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