A package for datastructures and algorithms.


Keywords
algorithm, datastructure, algorithms, data-structures, python
License
MIT
Install
pip install dsalgo==0.1.0

Documentation

dsalgo

A package for Datastructures and Algorithms written in Python.

Python package PyPI version License: MIT pre-commit Github pages

Installation

python3 -m pip install -U dsalgo

# to use numba functionality for python <3.11
python3 -m pip install -U dsalgo[nb]

# for latest unstable version
python3 -m pip install -U git+git://github.com/kagemeka/dsalgo-python.git

Development

docker compose up -d

(enter the container)

./setup.sh
source ~/.bashrc

CI before commit

./ci.sh

documenting

poetry run pdoc dsalgo --show-source --math -o docs

publish

poetry config pypi-token.pypi <your token> # only once
poetry build
poetry publish