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
Using PyPI
pip install ptorru-matmul
Alternatively use poetry
poetry add ptorru-matmul
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)