Skip to main content

Classic computer science algorithms in Python

Project description

https://travis-ci.org/alisianoi/algos-py.svg?branch=master https://ci.appveyor.com/api/projects/status/j5ireye9mly39f9m/branch/master?svg=true https://coveralls.io/repos/github/alisianoi/algos-py/badge.svg?branch=master https://img.shields.io/codecov/c/github/alisianoi/algos-py/master.svg https://pyup.io/repos/github/alisianoi/algos-py/shield.svg https://requires.io/github/alisianoi/algos-py/requirements.svg?branch=master

https://img.shields.io/pypi/format/algos-py.svg https://img.shields.io/pypi/v/algos-py.svg https://img.shields.io/github/license/alisianoi/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/alisianoi/algos-py

Secondary (mirror) repository:

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

Release procedure:

$ python setup.py check --restructuredtext
$ # 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 origin master && git push origin --tags
$ git push gitlab master && git push gitlab --tags
$ python setup.py bdist_wheel
$ twine upload ./dist/algos_py-1.0.0-py3-none-any.whl

Project details


Download files

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

Files for algos-py, version 0.4.5
Filename, size File type Python version Upload date Hashes
Filename, size algos_py-0.4.5-py3-none-any.whl (41.3 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page