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.6.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file ptorru-matmul-0.1.6.tar.gz
.
File metadata
- Download URL: ptorru-matmul-0.1.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.13 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7051ddfb9ae266524fadc9caa8bab571b1daeed2ff71e41486034ef8749afe14 |
|
MD5 | bc243b17954e07ac414f78cbdd9f08a1 |
|
BLAKE2b-256 | 59315bc8c9a2665e68afbf3a041460c6ac4bd08f70b705f7e929428b7216b62a |
File details
Details for the file ptorru_matmul-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: ptorru_matmul-0.1.6-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.13 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a0b75c50c0f45d15139c7e99dfe6fe95a8c8e12a475bb51b4f97bc9c1aae4a |
|
MD5 | 93642f3e1a6f1319146eb91bbc2f1499 |
|
BLAKE2b-256 | ac633ee1d62902205172d5093c9a6548c7d95a1868090ab1ab40dbc6ac88bf5f |