Skip to main content

A comprehensive collection of algorithms and data structures implementations

Project description

heapgeneratorq

A comprehensive Python package containing implementations of various algorithms and data structures for educational purposes.

Features

This package includes implementations of:

  • LAB 1 - Searching Algorithms: Linear and Binary Search with Student Record System
  • LAB 2 - Sorting Algorithms: Quick Sort and Merge Sort with Transaction Management
  • LAB 3 - Graph Algorithms: Prim's and Kruskal's Minimum Spanning Tree
  • LAB 4 - Shortest Path: Dijkstra's Algorithm for Delivery Network
  • LAB 5 - Dynamic Programming: 0/1 Knapsack Problem Solver
  • LAB 6 - All-Pairs Shortest Path: Floyd-Warshall Algorithm
  • LAB 7 - Combinatorics: Magic Square Generator (Odd, Doubly Even, Singly Even)
  • LAB 8 - Backtracking: N-Queens Problem Solver

Installation

Install the package using pip:

pip install heapgeneratorq

Usage

After installation, you can access the algorithms file:

import heapgeneratorq
import os

# Get the path to the algorithms file
algorithms_file = os.path.join(os.path.dirname(heapgeneratorq.__file__), 'l1.py')
print(f"Algorithms file located at: {algorithms_file}")

# You can also copy it to your current directory
import shutil
shutil.copy(algorithms_file, 'l1.py')

Or run it directly:

python -m heapgeneratorq.l1

Requirements

  • Python 3.7 or higher

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Author

Your Name

Changelog

0.1.0 (2025-11-03)

  • Initial release
  • Includes comprehensive algorithm implementations

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

heapgeneratorq-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heapgeneratorq-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file heapgeneratorq-0.1.0.tar.gz.

File metadata

  • Download URL: heapgeneratorq-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for heapgeneratorq-0.1.0.tar.gz
Algorithm Hash digest
SHA256 67dc62b17a8d85acbbae3e6469c110a9d1258c0acd7a0cc6c977d2eac26d905f
MD5 6c5b833490b133ee26710e7af4b321fb
BLAKE2b-256 3a51e4e730a94c07019ef71bb131f01f8826bbb7829fa027af59869306f806cf

See more details on using hashes here.

File details

Details for the file heapgeneratorq-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: heapgeneratorq-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for heapgeneratorq-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65001a1dfaf73c8baaff59cd75dde3f66f71bb93b040dc8a35fba1c63bf1deb2
MD5 0cea3cc73bb924083a065297b80af2fb
BLAKE2b-256 2771c243e8dd32de48aa169ff81c768d9966942264b983d85009b557616495d7

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