damenumpy

Learning Numpy from Tests by David Arroyo Menéndez


Keywords
numpy, dame, test, development
License
Other
Install
pip install damenumpy==0.1.2.post1

Documentation

Table of Contents

Learning Numpy from Tests by David Arroyo Menéndez

Check Test

  • Execute all tests:

    $ nosetests3 tests

  • Execute one file:

    $ nosetests3 tests/test_basics.py

  • Execute one test:

    $ nosetests3 tests/test_basics.py:TestBasics.test_indexing

Pypi

  • To install from local:

$ pip install -e .

  • To install create tar.gz in dist directory:

$ python3 setup.py register sdist

  • To upload to pypi:

$ twine upload dist/damenumpy-0.1.tar.gz

  • You can install from Internet in a python virtual environment to check:

$ python3 -m venv /tmp/funny $ cd /tmp/funny $ source bin/activate $ pip3 install damenumpy