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 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 algorithms that are covered in this library.

Data Structures

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

Sorting Algorithms

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

Graphing Algorithms

  • 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-1.0.6.tar.gz (20.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for jellybeans-1.0.6.tar.gz
Algorithm Hash digest
SHA256 3ff78864bcfe0c835efc8ac902b5313b82a0544e32d36b3b513fd46556df557f
MD5 733b51944fcffa3c0ef01ce2af3bd842
BLAKE2b-256 3cb887c83ac5551a748b07791e43ab164e453364a6fd9e26d42b65fd997a182a

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