Skip to main content

A Data Structure Package

Project description

Test Suite Actions status

About

Jellybeans aims to provide an easier development process when working with various data structures in python. Visualisations are also provided for sorting algortihms.

Documentation

How to use this library?

Installation

  1. Ensure that you have python 3.7 and above
  2. Run the following command: pip install Jellybeans

Implementations

Below are the data structures and sorting algorithms that are covered in this library.

Data Structures

  • AVL Tree
  • Binary Heap
  • Graph
  • Singly Linked List
  • Tailed Linked List
  • Doubly Linked List
  • Queue
  • Stack
  • Union Find Disjoint Sets (UFDS)

Sorting Algorithms

  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Merge Sort
  • Quick Sort

Graphing Algorithms (TBC)

  • Reachability
  • Number of components
  • Topological sort
  • Strongly Connected components (SCCs)
  • Minimum spanning tree (Prims, Prims-Dense, Kruskal's)
  • Single Source Shortest Path (Bellman Ford, One-pass BF, Dijkstra's)
  • All Pairs Shortest Path (Floyd Warshall)

Acknowledgment

I would also like to mention that majority of the knowledge used to develop this library came from the undertaking of National University of Singapore's course CS2040.

Contributions

Anyone who wishes to value add to this library is welcomed to do so. Check out the Contribution Guide for further information on how you can contribute!

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

jellybeans-0.9.0.tar.gz (21.4 kB view details)

Uploaded Source

File details

Details for the file jellybeans-0.9.0.tar.gz.

File metadata

  • Download URL: jellybeans-0.9.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.5

File hashes

Hashes for jellybeans-0.9.0.tar.gz
Algorithm Hash digest
SHA256 f71547e6640e8ee0f25139409021742e55ab9c4e9608b3c72202a8eebf9e581e
MD5 c029b53a1bddbfd1e42eeb792c02397b
BLAKE2b-256 908bc46a48940dc27a4f2f78ad3d7efa0b316b2792e8d3811f51898bd23dc853

See more details on using hashes here.

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