Learning how to publish in PyPi through a generic implementation of matrix multiplication
Project description
ptorru-matmul
Learning about pipy, distributing a simple matrix multiply example
To consult how to distribute a package in PyPI take a look at the publish_notes.md
Installing this package
Using PyPI
pip install ptorru-matmul
Alternatively use poetry
poetry add ptorru-matmul
Using this package
import numpy as np
from ptorru_matmul import matmul
sides = 3
a = np.arange(sides*sides).reshape(sides,sides)
b = np.arange(sides*sides).reshape(sides,sides)
c = matmul(a,b)
assert np.array_equal(c, np.matmul(a,b))
print(a,b)
print(c)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for ptorru_matmul-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fb9c4b769055ba76e5a94e9b869e4fc6fb247e7ba90db4f147ca4720ed5bb55 |
|
MD5 | 8916f663daf3adddbc242e57f48896e5 |
|
BLAKE2b-256 | c55ef7bd07739998c43fdaa19f8ecc6e9b2da9b83b8ecb2a9f90a13e344180a1 |