Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python Sorted Collections

Project description

Sorted Collections is an Apache2 licensed Python sorted collections library.

Features

  • Pure-Python
  • Depends on the Sorted Containers module.
  • ValueSortedDict - Dictionary with (key, value) item pairs sorted by value.
  • ItemSortedDict - Dictionary with key-function support for item pairs.
  • 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.7
  • Tested on CPython 2.7, 3.4, 3.5, 3.6, 3.7 and PyPy, PyPy3
https://api.travis-ci.org/grantjenks/python-sortedcollections.svg?branch=master https://ci.appveyor.com/api/projects/status/github/grantjenks/python-sortedcollections?branch=master&svg=true

Quickstart

Installing Sorted Collections is simple with pip:

$ pip install sortedcollections

You can access documentation in the interpreter with Python’s built-in help function:

>>> from sortedcollections import ValueSortedDict
>>> help(ValueSortedDict)

Sorted Collections License

Copyright 2015-2019 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.

Project details


Download files

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

Files for sortedcollections, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size sortedcollections-1.1.2-py2.py3-none-any.whl (8.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size sortedcollections-1.1.2.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page