A pedagogical algorithms and data structures library
Project description
paddles is a pedagogical algorithms and data structures library that aims to
- be thoroughly tested and documented
- be easy to install, use and understand
- adhere to good Python coding practices.
paddles is a work in progress. It currently implements
stacks, queues, deques, bags and several sorting algorithms.
Usage
To use paddles, follow these steps:
- Open a terminal and enter
python -Vto get your Python's version. If the version is 3.10 or higher, go directly to step 3. - If the version is lower than 3.10 or if you get an error message (e.g. 'python is an unknown command'), then close the terminal and install the latest Python version.
- In the same terminal as step 1, or a new one if you did step 2,
enter
pip install paddles. - To check that the library is now available, enter
python -m paddles.stack. You should not get any error message.
If you have any problems during installation, please report them in the Q & A discussion forum. (If you're an M269 student or tutor you can use the Technical Forum instead.) Don't forget to indicate your operating system, your Python version, and what you did before the problem occurred, so that we can help you more effectively.
- Read the documentation to learn how to
use the data structures and algorithms provided by
paddles.
Contributing
Any help to improve and extend paddles is welcome and appreciated.
- If you're an M269 student or tutor, you can report errors and suggest improvements in the Technical Forum instead of using GitHub's forums and issue tracker.
- If you require a new feature, please suggest it in the ideas discussion forum.
- If you spot an error or omission in the code or documentation, please check if it has been reported, before creating a new issue.
- If you want to contribute code or documentation that addresses an open issue, please read first our contribution guide. Your contribution will become available under the terms below.
Licences
paddles is Copyright © 2024–2025 by The Open University, UK.
The code is licensed under a BSD 3-clause licence.
The documentation is licensed under a
Creative Commons Attribution 4.0 International Licence.
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 paddles-0.2.0.tar.gz.
File metadata
- Download URL: paddles-0.2.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e366111734f315546ccc934929a8da0303abc5f64e6eea783677f8e306545ee3
|
|
| MD5 |
37c6593a78c0635e5d5b4315fa2d2d00
|
|
| BLAKE2b-256 |
fe103fc02c7acb1e6bd10d6901343f401d1da15c96a86d2ec7948b1ee81d4889
|
File details
Details for the file paddles-0.2.0-py3-none-any.whl.
File metadata
- Download URL: paddles-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47d9017be7a089cfba0823221053b0ba6423812a7298d559da5d7a21ad8503d1
|
|
| MD5 |
6679ba9a18313759eb941cf3c59a333a
|
|
| BLAKE2b-256 |
11fcd4fc1be3be67978c4de8153dddeb162d48aef38387e35ed5e00163099e80
|