Skip to main content

Hipster

Hipster provides a simple implementation of the MinHeap and MaxHeap. The object being added to the respective heaps need to implement the comparator logic. The APIs are identical for MinHeap and MaxHeap

Usage

pip install hipster from hipster.heap import MaxHeap max_heap = MaxHeap() max_heap.push(item) r = max_heap.peek() # Returns the item without popping it off the heap r = max_heap.pop() # Returns the item and pops it off the heap

Metadata

Release files for hipster 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hipster 1.0.1
File Size Uploaded
hipster-1.0.1.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hipster 1.0.1
File Interpreter ABI Platform
hipster-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 kB

Release files / hipster-1.0.1.tar.gz

Download URL hipster-1.0.1.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a55ea3375e61534913176fc9f16c35e3926d6daa61d307de2d17a2abb8edeeb
BLAKE2b-256 checksum
How to use checksums
39309707299e8a6a8fad08fed950dad5a9b1981d65326f1e6432b22be8e4d286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1

Release files / hipster-1.0.1-py3-none-any.whl

Download URL hipster-1.0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14325888f89f5a729223ca65a88714544867c9d0073357286776e0dbcc85eae6
BLAKE2b-256 checksum
How to use checksums
25580bc2e1eb75f3bd25fc5c5928b10cc28b82982cbc3953aac73f023fa09cae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5rc1

Release history Release notifications | RSS feed

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.6

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page