Skip to main content

Classic computer science algorithms in Python

Project description

https://travis-ci.org/all3fox/algos-py.svg?branch=master https://ci.appveyor.com/api/projects/status/j5ireye9mly39f9m/branch/master?svg=true https://coveralls.io/repos/github/all3fox/algos-py/badge.svg?branch=master https://pyup.io/repos/github/all3fox/algos-py/shield.svg https://requires.io/github/all3fox/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/all3fox/algos-py.svg

What is algos-py?

The algos-py package contains implementations of some classic computer science algorithms. My primary goal is to understand those algorithms and the best way to do that is to code them myself.

Along the way I practice test driven development (with nose), continuous integration (with travis and coveralls), 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:

$ nosetests

To run unit-tests for a specific module:

$ nosetests ./tests/test_heap.py

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

$ nosetests --with-coverage --cover-package=src

Where to find?

Primary repository:

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

Secondary (mirror) repository:

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

Release procedure: change version in setup.py, then

$ 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 sdist
$ twine upload ./dist/algos-py-1.0.0.tar.gz

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

algos-py-0.4.0.tar.gz (29.3 kB view hashes)

Uploaded Source

Supported by

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