Skip to main content

A package containing various search algorithms implementations.

Project description

A Python package implementing three classic searching algorithms with a simple and intuitive interface: 1>Binary Search:- To use it one has to import BinarySearch class where by using the search method one can search for target value.

            search(arr,target,sorted = False)
        
        Where:
            
            arr: the list to search in
            target: the value to search for
            sorted: set to True if the list is already sorted, else False

2>Linear Search:-To use it one has to import LinearSearch class where by using the search method one can search for target value.

              search(arr,target)
    Where:
            
            arr: the list to search in
            target: the value to search for

3>Jump Search:-To use it one has to import JumpSearch class where by using the search method one can search for target value.

            search(arr,target,sorted = False)

    Where:
            
            arr: the list to search in
            target: the value to search for
            sorted: set to True if the list is already sorted, else False

It's 0.1.1 version of the package and you can expect many further updates. To install the package, run the following command in your terminal or command prompt:

  Command:    pip install search_algorithms_pack

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

search_algorithms_pack-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

search_algorithms_pack-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file search_algorithms_pack-0.1.1.tar.gz.

File metadata

  • Download URL: search_algorithms_pack-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for search_algorithms_pack-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f126744bfeb32f59fecfd55f0367f594eae26f803dddcc9985a952e2f2effefe
MD5 51290d365744eac7c9cefea571e45a1a
BLAKE2b-256 84b13697f1efa9d2d6056f22f2bbe9c018197c1f5bf356c877428c2eb25463e0

See more details on using hashes here.

File details

Details for the file search_algorithms_pack-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for search_algorithms_pack-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fdb09f8bef6afc546b4bf6f9a1ff88237c6fba351c0e2bd4bbd1804a9a90571
MD5 a973e511488853fa243f07b1ab687c59
BLAKE2b-256 b9fd8d026d5f179cfc205266924e2d67a1d152d8980cc0a7fb5917418fbd38c4

See more details on using hashes here.

Supported by

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