Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliahkagan/algorithms-python
partial algorithms-suggestions implementation (in Python)
https://github.com/eliahkagan/algorithms-python
Last synced: about 24 hours ago
JSON representation
partial algorithms-suggestions implementation (in Python)
- Host: GitHub
- URL: https://github.com/eliahkagan/algorithms-python
- Owner: EliahKagan
- License: 0bsd
- Created: 2023-01-09T07:23:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T18:24:24.000Z (2 months ago)
- Last Synced: 2024-08-29T20:39:17.514Z (2 months ago)
- Language: Python
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# algorithms-python (algorithms-suggestions)
This is one of three partial implementations of the
[**algorithms-suggestions**](https://github.com/EliahKagan/algorithms-suggestions)
exercises. The others are [**Pool**](https://github.com/EliahKagan/Pool) and
[**Search**](https://github.com/EliahKagan/Search).This was an experiment in doing some of those exercise ideas in Python (even
though they were brainstormed with C++ in mind).*If you found this by searching, you might be looking for
[**palgoviz**](https://github.com/EliahKagan/palgoviz) instead.*## License
[0BSD](https://spdx.org/licenses/0BSD.html). See [**`LICENSE`**](LICENSE).
## Getting started
These steps, which assume you have a working `pipenv` command, create or update
the virtual environment and run the tests:```sh
pipenv install -d
pipenv run pytest --doctest-modules
```## Suggested usage
You might:
- Look at the implementations in detail to see how they work, ***or***
- Don't look at them (at least not in detail), remove function and class bodies
(except docstrings), and rework them as problems/exercises. (Then, once tests
are passing, run `git diff` to compare your solutions with the originals.)## Future directions
Development is not continuing on this project much, but it's possible some
parts of it, especially the material in `sll.py`, might make its way into
[palgoviz](https://github.com/EliahKagan/palgoviz).