I created this PyPI package in order to learn how to publish a PyPI package.
In this page there is a quick note on how to use the package, should you wish to use it.
Make the package available to your environment using either PyPI or poetry.
# PyPI
pip install ptorru-matmul
# poetry
poetry add ptorru-matmul
The following is a simple example of invoking the function
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)
Want to try it right now without any setup? I have a repl in Replit.com
Head to the GitHub repo for notes on:
Go back to the PyPI project page