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.5.tar.gz (20.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: jellybeans-1.0.5.tar.gz
  • Upload date:
  • Size: 20.3 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.5.tar.gz
Algorithm Hash digest
SHA256 37c754746a75b56d52273ce6397f0f61ce580c3a686e8eacee779a9a0c4092f3
MD5 9e333a6c51f79a7e8dd500ef5708261f
BLAKE2b-256 cd01499b5341533bcaa651531fec99e1b80f2a89123bd9fe1383b78f3fb53100

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