Skip to main content

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:

  1. Open a terminal and enter python -V to get your Python's version. If the version is 3.10 or higher, go directly to step 3.
  2. 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.
  3. In the same terminal as step 1, or a new one if you did step 2, enter pip install paddles.
  4. 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.

  1. 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


Download files

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

Source Distribution

paddles-0.2.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paddles-0.2.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

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

Hashes for paddles-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e366111734f315546ccc934929a8da0303abc5f64e6eea783677f8e306545ee3
MD5 37c6593a78c0635e5d5b4315fa2d2d00
BLAKE2b-256 fe103fc02c7acb1e6bd10d6901343f401d1da15c96a86d2ec7948b1ee81d4889

See more details on using hashes here.

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

Hashes for paddles-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47d9017be7a089cfba0823221053b0ba6423812a7298d559da5d7a21ad8503d1
MD5 6679ba9a18313759eb941cf3c59a333a
BLAKE2b-256 11fcd4fc1be3be67978c4de8153dddeb162d48aef38387e35ed5e00163099e80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page