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 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.tar.gz (2.6 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-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: search_algorithms_pack-0.1.tar.gz
  • Upload date:
  • Size: 2.6 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.tar.gz
Algorithm Hash digest
SHA256 99cae4b5dca7f0794724007c713cecd547714cd40ad150f0d25a82276fb95ebd
MD5 2d512f2bc22f06f615246a8615565063
BLAKE2b-256 20d00d54b0d2fbc27c763464629d1aec325f76d77d0f6a9f8c52175a01c578da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for search_algorithms_pack-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb8b0e35a0668d565cfe662192304418414d06f0d801efad7b15490d8de9f065
MD5 5a387796ae81aedcfbb01acabd4e9f47
BLAKE2b-256 1ab0c58d72ecc3a5001e3a8b2de799847bad52ef376796d821131b143221c7ad

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