• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux HeapDict Download

HeapDict

October 18, 2009
This software offers a heap structure with the ability to decrease and increase keys.
Version 1.0.0
License BSD License
Platform Linux
Supported Languages English
Homepage stutzbachenterprises.com
Developed by Stutzbach Enterprises, LLC
If you're looking for a Python module to implement a priority queue, then HeapDict might be worth looking into. This handy tool operates mostly like a regular Python dict, but with a few key differences. For one, HeapDict conforms to the MutableMapping abstract base class, which makes it compatible with other Python mapping types. 

Adding and consuming items with HeapDict is a simple process, as shown in this example: hd = HeapDict() hd[obj1] = priority1 hd[obj2] = priority2 # ... obj = hd.pop()

Compared to an ordinary dict, HeapDict offers new methods for managing priorities. For example, you can use the popitem() method to remove and return the (key, priority) pair with the lowest priority. Alternatively, the peekitem() method returns the (key, priority) pair with the lowest priority, without removing it.

Apart from these changes, HeapDict also stands out from other Python libraries thanks to its ability to efficiently change the priority of an existing object. This feature is critical for implementing many algorithms like Dijkstra's Algorithm and A*. Ultimately, if you need a versatile and lightweight priority queue module in Python, HeapDict could be a valuable addition to your toolkit.
What's New

Version 1.0.0: N/A

Free Download 7.3K
353
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

camE
camE is a software tool that enables users to capture images from ...
slackware spam filter
"Slackware Spam Filter" is a software that enables spam filtering features to ...
Blackjack basic strategy calculator
This project offers a Monte Carlo basic strategy calculator for Blackjack, helping ...
OpenCity
OpenCity is a software application for simulating 3D cities, utilizing OpenGL and ...
Thunder&Lightning
Thunder&Lightning is an open-source action flight simulator game, allowing users to experience ...
apoplexy
"Apoplexy: Level Editor for Prince of Persia 1" enables game enthusiasts to ...
Git::CPAN::Patch
Git module can now assist in patching CPAN modules.
App::Asciio
This software summarizes text by converting it into a plain ASCII diagram ...
specter
Specter is a logging tool for Linux netfilter that operates in the ...
erec
Erec is software that allows you to record audio directly from your ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.