Skip to main content

Extended data-structure toolkit — PriorityQueue, Trie, LRUCache, etc.

Project description

pycollectionsx

Extended data-structure toolkit — PriorityQueue, Trie, LRUCache, etc.

Installation

pip install pycollectionsx

Usage

from pycollectionsx import PriorityQueue, Trie, LRUCache

pq = PriorityQueue()
pq.push("item", 1)

trie = Trie()
trie.insert("hello")

cache = LRUCache(10)
cache.put("key", "value")

License

MIT

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

pycollectionsx-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

pycollectionsx-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pycollectionsx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4df5a423ef1f0aa28b20b701da434125e260627bde1dc46a4b4fd5d7cab95632
MD5 7f2718134e80486838f89cef78c6c17b
BLAKE2b-256 f108e27b7bda7a7d7ca49fe8fedd1a03fa08b4a83508361d15d0b5243328189c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycollectionsx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3dbab15184efe494dc7906020f13e52a86cb479a71c930227560e0a550bdec6
MD5 f5f2362400a6b1bf36e560501afe4e30
BLAKE2b-256 f932990469c8f729e073f07dd62ae1aabac71933e1aca5af1b95772c80775ffb

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