Skip to main content
https://github.com/algos-all/algos-py/actions/workflows/python-app.yml/badge.svg https://ci.appveyor.com/api/projects/status/j5ireye9mly39f9m/branch/main?svg=true https://coveralls.io/repos/github/algos-all/algos-py/badge.svg?branch=main https://img.shields.io/codecov/c/github/algos-all/algos-py/main.svg https://pyup.io/repos/github/algos-all/algos-py/shield.svg

https://img.shields.io/pypi/format/algos-py.svg https://img.shields.io/pypi/v/algos-py.svg https://img.shields.io/github/license/algos-all/algos-py.svg

What is algos-py?

This package contains implementations of some classic computer science algorithms. My main goal is to understand these algorithms and the best way to do that is to implement them myself.

Along the way I practice test driven development (with pytest), continuous integration (with travis and appveyor), coverage tracking (with coveralls and codecov), version control (with git, github and gitlab), documentation (with sphinx and readthedocs) and a lot more.

How to test?

To run all of the unit-tests:

$ pytest -n 2

To run unit-tests for a specific module:

$ pytest ./tests/test_heap.py

To run all the unit-tests and produce a coverage report:

$ pytest -n 2 --cov=src

Where to find?

Primary repository:

https://github.com/algos-all/algos-py

Secondary (mirror) repository:

https://gitlab.com/alisianoi/algos-py

Release procedure:

$ # change version in setup.py
$ git add setup.py
$ git commit -m "Bump version to 1.0.0"
$ git tag v1.0.0
$ git push github main && git push github --tags
$ git push gitlab main && git push gitlab --tags
$ pip install --upgrade wheel
$ python setup.py bdist_wheel
$ pip install --upgrade twine
$ twine check ./dist/algos_py-1.0.0-py3-none-any.whl
$ twine upload ./dist/algos_py-1.0.0-py3-none-any.whl

Release files for algos-py 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for algos-py 0.5.1
File Interpreter ABI Platform
algos_py-0.5.1-py3-none-any.whl Python 3 none any Details

Release files / algos_py-0.5.1-py3-none-any.whl

Download URL algos_py-0.5.1-py3-none-any.whl
Size 37.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b909ed3d6c5a1d8fa9f25d7d250dc282057f044a369e834a9edd1486d65026c2
BLAKE2b-256 checksum
How to use checksums
e56515bd453ae936f233ff25fe2ab093cff930db3687d503e1a88023773e1f76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.5.1 This release

1 release file

0.5.0

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page