python-sortedcontainers icon indicating copy to clipboard operation
python-sortedcontainers copied to clipboard

Python Sorted Container Types: Sorted List, Sorted Dict, and Sorted Set

Results 52 python-sortedcontainers issues
Sort by recently updated
recently updated
newest added
trafficstars

Warehouse now uses the project_urls provided to display links in the sidebar on [this screen](https://pypi.org/project/requests/), as well as including them in API responses to help automation tool find the source...

Hi, For a use case I'm working with at the moment ([today's LeetCode.com challenge](https://leetcode.com/problems/count-of-smaller-numbers-after-self/) 🤓) it is necessary to know the index at which an item gets inserted to after...

All index related part, can use index = -1.0 or 0.0 But float should not be allowed for index using.

I would like to use instances of a class as the keys and to sort the instances according to an attribute, but I don't know how to do that. The...

Hi @grantjenks, this PR adds type annotations to the `sortedcontainers` package. They should be consistent with their `list`, `set` and `dict` annotations from the `typeshed` annotations. All collections are invariant...

On building my packages I'm using `sphinx-build` command with `-n` switch which shows warmings about missing references. These are not critical issues. Here is the output with warnings: ```console +...

Python 3.10 introduced the key parameter to their bisect functions. See for example https://docs.python.org/3/library/bisect.html#bisect.bisect_left This allows one to bisect lists with values that cannot otherwise be compared directly. It would...

Python 3.8 and above support by benchmarking code. time.clock() was [deprecated in 3.3. and removed in 3.8](https://docs.python.org/3.7/library/time.html#time.clock)

Support for a sorted container based off the standard library array.array class. Enables compact storage of numerical values saving times fold in memory required. Time performance is en par with...

For SortedKeyList, it would be nice to have a more optimized way of updating an item's key than doing remove + add. A few things that come to mind would...