Python Sorted Collections
=========================
`Sorted Collections`_ is an Apache2 licensed Python sorted collections library.
Features
--------
- Pure-Python
- Depends on the `Sorted Containers
<http://www.grantjenks.com/docs/sortedcontainers/>`_ module.
- ValueSortedDict - Dictionary with (key, value) item pairs sorted by value.
- ItemSortedDict - Dictionary with key-function support for item pairs.
- NearestDict - Dictionary with nearest-key lookup.
- OrderedDict - Ordered dictionary with numeric indexing support.
- OrderedSet - Ordered set with numeric indexing support.
- IndexableDict - Dictionary with numeric indexing support.
- IndexableSet - Set with numeric indexing support.
- SegmentList - List with fast random access insertion and deletion.
- 100% code coverage testing.
- Developed on Python 3.9
- Tested on CPython 3.6, 3.7, 3.8, and 3.9
.. image:: https://github.com/grantjenks/python-sortedcollections/workflows/integration/badge.svg
:target: https://github.com/grantjenks/python-sortedcollections/actions?query=workflow%3Aintegration
.. image:: https://github.com/grantjenks/python-sortedcollections/workflows/release/badge.svg
:target: https://github.com/grantjenks/python-sortedcollections/actions?query=workflow%3Arelease
Quickstart
----------
Installing `Sorted Collections`_ is simple with `pip
<http://www.pip-installer.org/>`_::
$ pip install sortedcollections
You can access documentation in the interpreter with Python's built-in `help`
function:
.. code-block:: python
>>> from sortedcollections import ValueSortedDict
>>> help(ValueSortedDict) # doctest: +SKIP
.. _`Sorted Collections`: http://www.grantjenks.com/docs/sortedcollections/
Recipes
-------
- `Value Sorted Dictionary Recipe`_
- `Item Sorted Dictionary Recipe`_
- `Nearest Dictionary Recipe`_
- `Ordered Dictionary Recipe`_
- `Ordered Set Recipe`_
- `Indexable Dictionary Recipe`_
- `Indexable Set Recipe`_
- `Segment List Recipe`_
.. _`Value Sorted Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/valuesorteddict.html
.. _`Item Sorted Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/itemsorteddict.html
.. _`Nearest Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/nearestdict.html
.. _`Ordered Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/ordereddict.html
.. _`Ordered Set Recipe`: http://www.grantjenks.com/docs/sortedcollections/orderedset.html
.. _`Indexable Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/indexabledict.html
.. _`Indexable Set Recipe`: http://www.grantjenks.com/docs/sortedcollections/indexableset.html
.. _`Segment List Recipe`: http://www.grantjenks.com/docs/sortedcollections/segmentlist.html
Reference and Indices
---------------------
- `Sorted Collections Documentation`_
- `Sorted Collections at PyPI`_
- `Sorted Collections at Github`_
- `Sorted Collections Issue Tracker`_
.. _`Sorted Collections Documentation`: http://www.grantjenks.com/docs/sortedcollections/
.. _`Sorted Collections at PyPI`: https://pypi.python.org/pypi/sortedcollections/
.. _`Sorted Collections at Github`: https://github.com/grantjenks/python-sortedcollections
.. _`Sorted Collections Issue Tracker`: https://github.com/grantjenks/python-sortedcollections/issues
Sorted Collections License
--------------------------
Copyright 2015-2021 Grant Jenks
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Raw data
{
"_id": null,
"home_page": "http://www.grantjenks.com/docs/sortedcollections/",
"name": "sortedcollections",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Grant Jenks",
"author_email": "contact@grantjenks.com",
"download_url": "https://files.pythonhosted.org/packages/01/00/6d749cc1f88e7f95f5442a8abb195fa607094deba9e0475affbfb7fa8c04/sortedcollections-2.1.0.tar.gz",
"platform": "",
"description": "Python Sorted Collections\n=========================\n\n`Sorted Collections`_ is an Apache2 licensed Python sorted collections library.\n\nFeatures\n--------\n\n- Pure-Python\n- Depends on the `Sorted Containers\n <http://www.grantjenks.com/docs/sortedcontainers/>`_ module.\n- ValueSortedDict - Dictionary with (key, value) item pairs sorted by value.\n- ItemSortedDict - Dictionary with key-function support for item pairs.\n- NearestDict - Dictionary with nearest-key lookup.\n- OrderedDict - Ordered dictionary with numeric indexing support.\n- OrderedSet - Ordered set with numeric indexing support.\n- IndexableDict - Dictionary with numeric indexing support.\n- IndexableSet - Set with numeric indexing support.\n- SegmentList - List with fast random access insertion and deletion.\n- 100% code coverage testing.\n- Developed on Python 3.9\n- Tested on CPython 3.6, 3.7, 3.8, and 3.9\n\n.. image:: https://github.com/grantjenks/python-sortedcollections/workflows/integration/badge.svg\n :target: https://github.com/grantjenks/python-sortedcollections/actions?query=workflow%3Aintegration\n\n.. image:: https://github.com/grantjenks/python-sortedcollections/workflows/release/badge.svg\n :target: https://github.com/grantjenks/python-sortedcollections/actions?query=workflow%3Arelease\n\nQuickstart\n----------\n\nInstalling `Sorted Collections`_ is simple with `pip\n<http://www.pip-installer.org/>`_::\n\n $ pip install sortedcollections\n\nYou can access documentation in the interpreter with Python's built-in `help`\nfunction:\n\n.. code-block:: python\n\n >>> from sortedcollections import ValueSortedDict\n >>> help(ValueSortedDict) # doctest: +SKIP\n\n.. _`Sorted Collections`: http://www.grantjenks.com/docs/sortedcollections/\n\nRecipes\n-------\n\n- `Value Sorted Dictionary Recipe`_\n- `Item Sorted Dictionary Recipe`_\n- `Nearest Dictionary Recipe`_\n- `Ordered Dictionary Recipe`_\n- `Ordered Set Recipe`_\n- `Indexable Dictionary Recipe`_\n- `Indexable Set Recipe`_\n- `Segment List Recipe`_\n\n.. _`Value Sorted Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/valuesorteddict.html\n.. _`Item Sorted Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/itemsorteddict.html\n.. _`Nearest Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/nearestdict.html\n.. _`Ordered Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/ordereddict.html\n.. _`Ordered Set Recipe`: http://www.grantjenks.com/docs/sortedcollections/orderedset.html\n.. _`Indexable Dictionary Recipe`: http://www.grantjenks.com/docs/sortedcollections/indexabledict.html\n.. _`Indexable Set Recipe`: http://www.grantjenks.com/docs/sortedcollections/indexableset.html\n.. _`Segment List Recipe`: http://www.grantjenks.com/docs/sortedcollections/segmentlist.html\n\nReference and Indices\n---------------------\n\n- `Sorted Collections Documentation`_\n- `Sorted Collections at PyPI`_\n- `Sorted Collections at Github`_\n- `Sorted Collections Issue Tracker`_\n\n.. _`Sorted Collections Documentation`: http://www.grantjenks.com/docs/sortedcollections/\n.. _`Sorted Collections at PyPI`: https://pypi.python.org/pypi/sortedcollections/\n.. _`Sorted Collections at Github`: https://github.com/grantjenks/python-sortedcollections\n.. _`Sorted Collections Issue Tracker`: https://github.com/grantjenks/python-sortedcollections/issues\n\nSorted Collections License\n--------------------------\n\nCopyright 2015-2021 Grant Jenks\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Python Sorted Collections",
"version": "2.1.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "67d544882327b01f76471ad60cf59da7",
"sha256": "b07abbc73472cc459da9dd6e2607d73d1f3b9309a32dd9a57fa2c6fa882f4c6c"
},
"downloads": -1,
"filename": "sortedcollections-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "67d544882327b01f76471ad60cf59da7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9531,
"upload_time": "2021-01-18T22:15:15",
"upload_time_iso_8601": "2021-01-18T22:15:15.360194Z",
"url": "https://files.pythonhosted.org/packages/6e/39/c993a7d0c9dbf3aeca5008bdd00e4436ad9b7170527cef0a14634b47001f/sortedcollections-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "00dfa42bfd6e2e89572dc655403233c6",
"sha256": "d8e9609d6c580a16a1224a3dc8965789e03ebc4c3e5ffd05ada54a2fed5dcacd"
},
"downloads": -1,
"filename": "sortedcollections-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "00dfa42bfd6e2e89572dc655403233c6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 9287,
"upload_time": "2021-01-18T22:15:16",
"upload_time_iso_8601": "2021-01-18T22:15:16.623248Z",
"url": "https://files.pythonhosted.org/packages/01/00/6d749cc1f88e7f95f5442a8abb195fa607094deba9e0475affbfb7fa8c04/sortedcollections-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-01-18 22:15:16",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "sortedcollections"
}