Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/pim-book/programmers-introduction-to-mathematics

Code for A Programmer's Introduction to Mathematics
https://github.com/pim-book/programmers-introduction-to-mathematics

mathematics programmer python

Last synced: 15 days ago
JSON representation

Code for A Programmer's Introduction to Mathematics

Lists

README

        

# A Programmer's Introduction to Mathematics

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/pim-book/programmers-introduction-to-mathematics/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/pim-book/programmers-introduction-to-mathematics/tree/master) [![Coverage Status](https://coveralls.io/repos/github/pim-book/programmers-introduction-to-mathematics/badge.svg?branch=master)](https://coveralls.io/github/pim-book/programmers-introduction-to-mathematics?branch=master) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/pim-book/programmers-introduction-to-mathematics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pim-book/programmers-introduction-to-mathematics/context:python)

This repository contains the code implementing the applications from each
chapter of [A Programmer's Introduction to Mathematics](https://pimbook.org).
All code is written in Python 3.x. Feel free to submit a pull request if you
find a bug.

To install the requirements and run the examples, using pip and virtualenv (Python's standard packaging tools):

```
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
```

To run the test suite:

```
pytest

# with code coverage
pytest --cov-report html:cov_html --cov-report annotate:cov_annotate --cov
```

## Docker

To build and run the code in the repository with docker, run

```
docker build -t pimbook -f Dockerfile .
docker run -it --name pimbook pimbook:latest
```