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

https://github.com/davidam/damenumpy

Learning numpy by tests by David Arroyo Menéndez
https://github.com/davidam/damenumpy

Last synced: over 1 year ago
JSON representation

Learning numpy by tests by David Arroyo Menéndez

Awesome Lists containing this project

README

          


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