Preface
Contents
About this book
This book has been written in restructured text format and generated using the rst2html.py command line available from the docutils python package.
If you want to rebuild the html output, from the top directory, type:
$ rst2html.py --link-stylesheet --cloak-email-addresses \
--toc-top-backlinks --stylesheet=book.css \
--stylesheet-dirs=. book.rst book.html
The sources are available from https://github.com/rougier/from-python-to-numpy.
Prerequisites
This is not a Python beginner guide and you should have an intermediate level in Python and ideally a beginner level in NumPy. If this is not the case, have a look at the bibliography_ for a curated list of resources.
Conventions
We will use usual naming conventions. If not stated explicitly, each script should import NumPy, scipy and matplotlib as:
import numpy as np
import scipy as sp
import matplotlib.pyplot as plt
We’ll use up-to-date versions (at the date of writing, i.e. January, 2017) of the different packages:
Packages |
Version |
---|---|
Python |
3.6.0 |
NumPy |
1.12.0 |
Scipy |
0.18.1 |
Matplotlib |
2.0.0 |
How to contribute
If you want to contribute to this book, you can:
Review chapters (please contact me)
Report issues (https://github.com/rougier/from-python-to-numpy/issues)
Suggest improvements (https://github.com/rougier/from-python-to-numpy/pulls)
Correct English (https://github.com/rougier/from-python-to-numpy/issues)
Design a better and more responsive html template for the book.
Star the project (https://github.com/rougier/from-python-to-numpy)
Publishing
If you’re an editor interested in publishing this book, you can contact me if you agree to have this version and all subsequent versions open access (i.e. online at this address), you know how to deal with restructured text (Word is not an option), you provide a real added-value as well as supporting services, and more importantly, you have a truly amazing latex book template (and be warned that I’m a bit picky about typography & design: Edward Tufte is my hero). Still here?
License
Book
This work is licensed under a Creative Commons Attribution-Non Commercial-Share Alike 4.0 International License. You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Code
The code is licensed under the OSI-approved BSD 2-Clause License.