Skip to main content

Linked list data structures (in pure Python)

Project description

pyllist is a Python module providing basic linked list data structures. Collections implemented in the pyllist module perform well in problems which rely on fast insertions and/or deletions of elements in the middle of a sequence. For this kind of workload, they can be faster than collections.deque or standard Python lists.

This extension requires Python 2.x or 3.x. It should work with any implementation (tested with CPython and PyPy). Note however, that for CPython there is a much faster C extension module with the same API at http://github.com/ajakubek/python-llist/

Currently pyllist provides the following types of linked lists:
  • dllist - a doubly linked list

  • sllist - a singly linked list

Full documentation of these classes is available at: http://packages.python.org/pyllist/

To install this package, either run “pip install pyllist”, or download it manually from http://pypi.python.org/pypi then unpack the sources and compile them with “python setup.py install”.

The most current development version is available at: https://github.com/rgsoda/pypy-llist/

Bugs can be reported at: https://github.com/rgsoda/pypy-llist/issues

This software is distributed under the MIT license. Please see the LICENSE file included in the package for details.

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

pyllist-0.3.tar.gz (19.6 kB view hashes)

Uploaded Source

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