Skip to main content

Sorted version of collections.Counter, implemented in C++

Project description

SortedCounterCPP

What's this?

A Python package that's like the built-in collections.Counter, but sorted. Access to min/max elements is guaranteed to have $O(\log n)$ time complexity.

Compatibility

CPython only for now.

The API currently supports only elements of C++ type double (equivalent to Python's float).

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

sortedcountercpp-0.1.0-cp312-abi3-win_amd64.whl (58.5 kB view details)

Uploaded CPython 3.12+ Windows x86-64

sortedcountercpp-0.1.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (75.8 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ x86-64

sortedcountercpp-0.1.0-cp312-abi3-macosx_11_0_arm64.whl (46.1 kB view details)

Uploaded CPython 3.12+ macOS 11.0+ ARM64

sortedcountercpp-0.1.0-cp312-abi3-macosx_10_15_x86_64.whl (49.2 kB view details)

Uploaded CPython 3.12+ macOS 10.15+ x86-64

sortedcountercpp-0.1.0-cp311-cp311-win_amd64.whl (60.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

sortedcountercpp-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78.7 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

sortedcountercpp-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (48.3 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

sortedcountercpp-0.1.0-cp311-cp311-macosx_10_15_x86_64.whl (51.2 kB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

sortedcountercpp-0.1.0-cp310-cp310-win_amd64.whl (60.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

sortedcountercpp-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78.9 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

sortedcountercpp-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (48.4 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

sortedcountercpp-0.1.0-cp310-cp310-macosx_10_15_x86_64.whl (51.3 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

sortedcountercpp-0.1.0-cp39-cp39-win_amd64.whl (60.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

sortedcountercpp-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (79.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

sortedcountercpp-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (48.5 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

sortedcountercpp-0.1.0-cp39-cp39-macosx_10_15_x86_64.whl (51.5 kB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

File details

Details for the file sortedcountercpp-0.1.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 32fba7398f616b0525827d938fb06be2d6ea2f14c13ca0aab7cf8950a8f1d3cf
MD5 82472514f834cf8213fc7363c295bc93
BLAKE2b-256 0e7fe07efed3d1fe2d81d90749e2574872f411c6fcd1636250b5d45bf03fbc2b

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e9073731c811845792d9f916b6086613c02d213adabc7e4e82d8058d747b8306
MD5 b905ae6da5c6f5a05fa053ff6867b8a9
BLAKE2b-256 53045fa507524c5fafc7543f5b5743419e4b6ccc9672d4e3213dc16f10a44a8d

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46ef2140480552ebbfb259eebc9ca3f17a23b268abf61093dcb15f278411e5be
MD5 d6e8bdb8e53ce27e8ad9ca97131ce188
BLAKE2b-256 bc72ef54d25796162797574948e5874f86d87bf612865ed2267ea7e870e6904e

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp312-abi3-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp312-abi3-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 18ee2f3f52f6b7ad8e3bbc4d7f77a2397a623daf135f40082e1e658c5c348f43
MD5 8720118afb4dd99970c5d137d6222416
BLAKE2b-256 c738182fd1c53a1053c96e542a7942a3ac32bf6d5871193ca56b0457e7424688

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 218940c62dc0d16cb08242e2d9600c5dd00fb7f9d43b6fbeaf021b61257c8f4a
MD5 c785b44955cf8ad48389948deb6ce9ab
BLAKE2b-256 b7876aab7a8cb77374d4a378692557703ecc773db3f371ef57ac95427e8feff3

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e8678a53fc2f4a266059fa924a60aed6a03bb25662dcd1694d29e055ae6cbf1
MD5 e2462e043c060947cd6d83578748dcf4
BLAKE2b-256 2317d948214fa3eb10f9de6cd8f7bf0d4a0d1404cb1bb665d3c73587b8b8e6d6

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef110be92610639fb91c110b09b3455424cea2ee3b3f9619ca14b71d7ebac174
MD5 8f09fccbda4f5d00cc390529f2b7cdb7
BLAKE2b-256 9b86971d48ba3aa56d2c68ffaddad3c1d72f00ad25d786ba1ed393b54848efd6

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9199ad0812ac3939057d1affadf075c1692a3a3947f6359a2071f4e5aa854a18
MD5 07a6a6f207db30f1d295f505e1d8699f
BLAKE2b-256 a5ed906c93b5f32b783d819a314977d3b8264819882030a446d18e86177939fe

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 96e7a7064ac02f9039ead42aa16e1d1901aa08a404624d25d2159e4f7bfc3183
MD5 b7e3d90781276ccc7d27a851866630b0
BLAKE2b-256 cd0a15199c2fd92b03bf386cbffce006a5306b7307a9372cf5b1832ee51299bf

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1534f16a685da839bba3e4ba399354fca48f0703bce69dfa451eafb15faffb2d
MD5 9585d881a47d61aa5a29abe9c21438b4
BLAKE2b-256 d3a6623e268a30694bf9e28deec9afaaef418221a3a1e22e6b59a0fc1dec1918

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa699859e20c9b0fdb8b25f32837b2a1311c0032500d6119200a98bd5d8dd0f5
MD5 29011ba0254e84bdb3d7d5f411dd9fad
BLAKE2b-256 0ec28e27cc239f00a059a4181a6c7942443c032a1829a4914193886e837e3cda

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 fdb39ecaded0f4e7e5e0050d2e28bb375645db91d63b797e930bda7ca851fd94
MD5 94fac92aa3023c39c47fe7ec9a7d1d3a
BLAKE2b-256 e4aecee9e6f23b1cccf86ba25e9f18a666c4b3d400de0f85eeef5b8f2e96f862

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 248126163cdc4a6f5949fd6ed02da4c21d945fcd495fd2a2a4508cbde250089e
MD5 3d96a168655db0a55ad08dce248f6c93
BLAKE2b-256 a69c7a663cb0f39f34dd6de4f01c3cd15c45d1dc7f9b8e5ece322cf152721ea1

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de7757b5928cfe1837451f1be6a4687d9773c8605d7f06ab13c6f03ccdaa1354
MD5 428e3c564a6618237d93fe5383dcf2d6
BLAKE2b-256 e478c9cb825a82b9656d239d0de12708f6a62ed5fab34812782496f3c2a61c9a

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2299c45c7e82934ce4bd6163bb317c3dbafdbe8cf6407acaee487b0abc0cf0f6
MD5 c631828ddc2c52c71c635825b4d03d93
BLAKE2b-256 8746298c2a204829c2e167b1472ee1f415b369c40af2beb935cf4a0567e51ed8

See more details on using hashes here.

File details

Details for the file sortedcountercpp-0.1.0-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for sortedcountercpp-0.1.0-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 5a03787d4e137c31dc9349865c747be9d6a332177b644c665bddd34aad431a23
MD5 9649a401506529b9367d804cddc3f2c7
BLAKE2b-256 28364af7f74a05a6a70cd270d820a24c347393bf1d2a902ab67250095aaf85e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page