Skip to main content

Python Data Structures and Algorithms

Project description

Python Data Structures and Algorithms

GitHub issues GitHub forks GitHub stars GitHub license PayPal

One utility to get all the algorithms fast and ready into your project, analyze their visualizations for your specific test case (not nature of increase but actual running time) and study their implementation for academic purposes. :+1:

This library is under active development. :star: Star the repo for updates.

Api Docs

Read the full doumentation here API Docs


pip3 install gopy


pip install gopy


You can test this by making a python file

Example: Bubble Sort

from gopy.sorting import bubble



Example: Linear Search

from import lsearch



Example: Binary Search

from import bsearch


Not Found

For Analysis

Building awesome visualizations for algorithms

Although on paper one algorithm might prove better than other but it's mostly based on nature of order of increase in running time with respect to input size. However, in practice an algorithm having higher runtime complexity than others may actually have a smaller runtime for your specific test case. With gopy, you can test each algorithm's behavior for your specific input and test case and compare actual running times in practice.


test for knuth_morris_pratt

from gopy.profile import profile
from gopy.strings.knuth_morris_pratt import match 

This will make in depth visualizations in your browser for the kmp algorithm.

List of implementations


Any form of contribution is welcome :smile:


If this project helps you, consider supporting



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

gopy-0.7.3.tar.gz (25.3 kB view hashes)

Uploaded Source

Built Distribution

gopy-0.7.3-py3-none-any.whl (53.1 kB view hashes)

Uploaded Python 3

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