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 Distribution
ptorru-matmul-0.1.6rc1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for ptorru_matmul-0.1.6rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0f39361bc572a6e2e479f7ac4b0273acfb079c4e039f304c260e0c7fc442816 |
|
MD5 | ee10b2ab8d1b18e927cd94e36b4e3494 |
|
BLAKE2b-256 | ecf0f3713d17e2035932d1117e4bd896a4fc55c34c2389732b53cf5ef693c194 |