A Python package to manage basic data structures like arrays, stacks, queues, and lists.
Project description
📦 DataStructureManager
A Python package to manage and interact with core data structures like Arrays, Linked Lists Circular List, Double Linked List, Stacks, Queues, Graph and Tree. This project is part of a class assignment to demonstrate understanding of data structure concepts and their implementation in Python.
🚀 Features
✅ Array implementation with common operations ✅ Singly and doubly linked lists ✅ Stack (LIFO) with push/pop operations ✅ Queue (FIFO) with enqueue/dequeue support ✅ Circular Queue, Priority Queue (optional extension) ✅ Modular, reusable codebase ✅ Well-documented and easy to use 🛠️ Installation
Clone the repository:
git clone https://github.com/dany237/data-structures-python.git cd DataStructureManager Then, install the package locally (if you turned it into a proper package):
pip install . 📚 Usage
from data_structures import Stack, Queue, LinkedList
Stack example
s = Stack() s.push(10) s.push(20) print(s.pop()) # Output: 20
Queue example
q = Queue() q.enqueue(1) q.enqueue(2) print(q.dequeue()) # Output: 1
Linked List example
ll = LinkedList() ll.insert(5) ll.insert(10) ll.display() # Output: 5 -> 10 📁 Project Structure
data_structures_python/ │ ├── data_structures/ │ ├── init.py │ ├── array.py │ ├── circular_linked_list.py │ ├── doubly_linked_list.py | |__ graph.py | |__ linked_list.py | |__ queue.py │ └── stack.py | |__ tree.py │ ├── examples/ | |__array_example.ipynb | |__circular_linked_list.ipynb | |__data_structures.code-workspace | |__doubly_linked_list.ipynb | |__graph_example.ipynb | |__linked_list.ipynb | |__queue.ipynb | |__stack_example.ipynb | |__tree_example.ipynb │ ├── README.md └── setup.py 🎯 Goals
Implement classic data structures from scratch Understand underlying algorithms and time complexities Provide a unified and simple interface for each structure 👩💻 Author
Danielle Kapsa Course Data Structure / Tutor Jeremy Your GitHub 📄 License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file danielle_data_structures_python-0.1.0.tar.gz.
File metadata
- Download URL: danielle_data_structures_python-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76180c87e2545ca273b74bae6a62de0a24dba286deb73f42a9c1382b00bf7c83
|
|
| MD5 |
012278c85e49ff7978a4185cd5af165b
|
|
| BLAKE2b-256 |
3e8e222763ff9ea7a0a6876d46da151288db8d1cff40cb55e0f31a197a195f93
|
File details
Details for the file danielle_data_structures_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: danielle_data_structures_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
765d9b6ddc6c1486820e11963b9947570dbf587a3d18d32cc6cd95a46f19b8f5
|
|
| MD5 |
5954895da21aa04760c0333ca40abedc
|
|
| BLAKE2b-256 |
8d5b23f24da0e593a7f0c28dd8af96766c67d634c0f31bcd5b7451de6eb4dd20
|