Skip to main content

A tiny example package providing a simple matrix multiplication function.

Project description

matrixutils_example_pkg

Minimal example Python package that implements matrix multiplication.

Features

  • matrix_multiply(a, b) multiplies two matrices represented as nested lists.
  • Includes basic input validation and helpful errors.
  • Tests included (pytest).

Quickstart (local)

git clone <your-gitlab-repo-url>
cd matrixutils_example_pkg
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip build
python -m build
pip install dist/*.whl
python -c "from matrixutils import matrix_multiply; print(matrix_multiply([[1,2],[3,4]], [[5,6],[7,8]]))"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matrixutils_example_pkg-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matrixutils_example_pkg-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file matrixutils_example_pkg-0.0.1.tar.gz.

File metadata

  • Download URL: matrixutils_example_pkg-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.10

File hashes

Hashes for matrixutils_example_pkg-0.0.1.tar.gz
Algorithm Hash digest
SHA256 245e0ca03bc7cda9f87277e8b4affd08e1ace551065c048eb572711d9a1ff76f
MD5 4821c2428f497346d01a47e057b62399
BLAKE2b-256 cf1b3781b7745ac93e93ad14a6c00e7afee87012e14abd12fc365509f57f8bc2

See more details on using hashes here.

File details

Details for the file matrixutils_example_pkg-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for matrixutils_example_pkg-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc56434233ab8b5d210f6887c55f7c23468783b6c74df3880657c25820bb549a
MD5 a911efb9b79fa16d660797c93fc0af8c
BLAKE2b-256 c45aea1ad0b89a9335ee89a69f18f5a753b3bdd3bf0735fb1ff13928aa9ba0fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page