numpy /

Filename Size Date modified Message
118 B
TST: Add tests for Python2, Python3 *.npy compatibility.
2.8 KB
merge upstream
218 B
Add Numpydoc as a git submodule
8.0 KB
MAINT: Update names in .mailmap for the 1.10 release.
1.1 KB
Do a TravisCI build with PYTHONOPTIMIZE=2
552 B
STY: Giant whitespace cleanup.
1.6 KB
Add loadtxt and savetxt adapted from matplotlib.
1.1 KB
MAINT: DOC: fix link in
679 B
STY: Giant whitespace cleanup.
5.6 KB
Revert "Merge pull request #5614 from charris/cleanup-gh-5587"
1.5 KB
MAINT: update year of copyright note in LICENSE.txt
1.2 KB
BUG: Add cblasfuncs.c and python_xerbla.c to
3.0 KB
document use of tag for PyPy released version
266 B
Test commit to trigger buildbot -- ignore.
3.3 KB
ENH: core: Start einsum function, add copyright notices to files
3.0 KB
DOC: Add Trove classifiers for supported Python versions
3.4 KB
BLD: remove cython c source from git
21.8 KB
REL: update Paver file to ensure sdist contents are OK for releases.
12.8 KB
MAINT: make --python and --ipython a little more ergonomic
10.1 KB
Check pypy version before installing
678 B
2to3: Apply `print` fixer.
7.8 KB
ENH: enabled extra_link_args in OpenBLAS segment
2.0 KB
TST: Add Python 3.4 to Tox environments

Welcome to PyPy's fork of Numpy, NumPyPy. In order to install, first install PyPy, hints are here Note this is a binary install, no lengthy translation or compilation necessary. Once you have pypy working and feel comfortable using it, you can install our version of the numpy module into a virtual environment in a separate directory:

virtualenv -p /path/to/pypy/bin/pypy /directory/to/try/pypy-numpy
git clone;
cd numpy; /director/to/try/pypy-numpy/bin/pypy install

or without a git checkout:

virtualenv -p /path/to/pypy/bin/pypy /directory/to/try/pypy-numpy
 /directory/to/try/pypy-numpy/bin/pip install git+

If you are using PyPy 4.0.1 (and not a nightly build), you must checkout the pypy-4.0.1 tagged revision, so replace the git line above with:

git clone; git checkout pypy-4.0.1

If you get a message about missing Python.h you must install the pypy-dev package for your system

If you get a message about "unable to find vcvarsall.bat", you need to install install a compiler. Microsoft has a download for that at

If you installed to a system directory, you may need to run:

sudo pypy -c 'import numpy'

once to initialize the cffi cached shared objects as root

For now, NumPyPy does not work with PyPy3*, and is not complete. You may get warnings or NotImplemented errors. Please let us know if you get crashes or wrong results.

If you do not have lapack/blas runtimes, it may take over 10 minutes to install, since it needs to build a lapack compatability library. However, you may later install upstream compatible runtimes, and NumPyPy should pick them up automatically the next time you run PyPy.

Also note that the latest version of NumPyPy will probably not run in an older PyPy. Specifically, we require cffi 1.0 or later. Since cffi is baked into PyPy, you cannot update cffi in any version of PyPy (true as of Nov 2015) so there is no recourse but to update PyPy.

The original README.txt follows:

NumPy is the fundamental package needed for scientific computing with Python. This package contains:

  • a powerful N-dimensional array object
  • sophisticated (broadcasting) functions
  • tools for integrating C/C++ and Fortran code
  • useful linear algebra, Fourier transform, and random number capabilities.

It derives from the old Numeric code base and can be used as a replacement for Numeric. It also adds the features introduced by numarray and can be used to replace numarray.

More information can be found at the website:

After installation, tests can be run with:

python -c 'import numpy; numpy.test()'

The most current development version is always available from our git repository: