A simple Python library for creating linked lists and performing operations.
Project description
Linked List Library (LLlib)
A simple Python library for creating linked lists and performing well-known operations.
© Copyright 2023, All rights reserved to Hans Haller, MSc Graduate Student in Computer Science at Cranfield University, United Kingdom.
Context
Linked lists are a fundamental data structure in computer science. They are used to store data in a linear fashion, and are often used to implement other data structures such as stacks, queues, and trees. Linked lists are also used to implement file systems, hash tables, and adjacency lists.
The objective of this package/library (tbd later) is to provide a simple and easy to use interface for creating linked lists and performing simple or complex operations on them. The library is written in Python, and is designed to be used with Python 3.9 or higher.
The core finality of these classes is for anyone to create their own class derived from the LinkedList class, and implement their architectures based on the methods provided by the library.
Most of the methods are made to be the most optimal approaches to the problem.
Installation
The library is available on PyPI, and can be installed using pip:
pip install LLlib
Currently, the library only offers the ListNode class, which contains all the methods for creating and manipulating linked lists.
The LinkedList class (which will allow to create ListNode from a list of values) will be available in the next release.
To import the ListNode class, use the following statement:
from LLlib import ListNode
Usage
...
Acknowledgements
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file LLlib-0.0.1.tar.gz.
File metadata
- Download URL: LLlib-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5db87a33d3c637c8333eef479d889c267bcd6ab7d5336023a1704d87c2497b
|
|
| MD5 |
73817a4c7681f061512da8b9d9d76a11
|
|
| BLAKE2b-256 |
397130dc2edcdfe8d166a408b75e63842d15232f46e245c3ce24a937cc9210b0
|
File details
Details for the file LLlib-0.0.1-py3-none-any.whl.
File metadata
- Download URL: LLlib-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f2ffdbbb634abaddfdd733f0feaa94aa6cbf95c32a3695ad2923635440e8a88
|
|
| MD5 |
a8234f4982b7017377c2e4befbe30489
|
|
| BLAKE2b-256 |
186492895bbbef8ab24eefbcc7c85d0ddb8dc6993c5e77ef293849fbc26389e2
|