Skip to main content

Linked list data structures for Python

Project description

llist is an extension module for CPython providing basic linked list data structures. Collections implemented in the llist 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 significantly faster than collections.deque or standard Python lists.

This extension requires CPython 2.5 or newer (3.x is supported). If you are looking for an implementation of linked lists in pure Python, visit http://github.com/rgsoda/pypy-llist/ The pypy-llist module has the same API as this extension, but is significantly slower in CPython.

Currently llist 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: https://ajakubek.github.io/python-llist/index.html

To install this package, either run “pip install llist”, 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/ajakubek/python-llist/

Bugs can be reported at: https://github.com/ajakubek/python-llist/issues

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

[![Build Status](https://travis-ci.org/ajakubek/python-llist.svg?branch=master)](https://travis-ci.org/ajakubek/python-llist)

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

llist-0.7.1.tar.gz (43.0 kB view details)

Uploaded Source

File details

Details for the file llist-0.7.1.tar.gz.

File metadata

  • Download URL: llist-0.7.1.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for llist-0.7.1.tar.gz
Algorithm Hash digest
SHA256 6f73a120136897a0bce61c202188f4f3891d9f70aa906d21fc1ee1cf43659eca
MD5 33238b9183b3be6073b402547ef5ab6c
BLAKE2b-256 fe2774fd16961c183bee40ba510d42b1b2c90f627713d26bdda09e8d7594ef37

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