Skip to main content

Learning Numpy from Tests by David Arroyo Menéndez

Project description

<div id=”table-of-contents”> <h2>Table of Contents</h2> <div id=”text-table-of-contents”> <ul> <li><a href=”#sec-1”>1. Check Test</a></li> <li><a href=”#sec-2”>2. Pypi</a></li> </ul> </div> </div>

Learning Numpy from Tests by David Arroyo Menéndez

# Check Test<a id=”sec-1” name=”sec-1”></a>

  • 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<a id=”sec-2” name=”sec-2”></a>

  • 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

damenumpy-0.1.tar.gz (16.4 kB view details)

Uploaded Source

File details

Details for the file damenumpy-0.1.tar.gz.

File metadata

  • Download URL: damenumpy-0.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for damenumpy-0.1.tar.gz
Algorithm Hash digest
SHA256 cf8a1146e35ed24b2f18e680e93987b6e8ba879cee9719e1280ab046087c75e7
MD5 dea8665e85a81c2bd6c84222e41a20b6
BLAKE2b-256 35c867aa7e605aace4a1b2c2d52e7250d203db8f122470f4fcf9e55dfd2c9b21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page