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.2.tar.gz (3.2 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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matrixutils_example_pkg-0.0.2.tar.gz
  • Upload date:
  • Size: 3.2 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.2.tar.gz
Algorithm Hash digest
SHA256 eb6fc9e9a73d02cba5d36882d190f5b93b463de068d385f85f20f3861dd1dcac
MD5 ad65b66d5fdb2a401a96ca84665b4da1
BLAKE2b-256 fb6772cf1afc52aee65fd325ac16ba15275d6152c39ca43b9acc0af090666fb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matrixutils_example_pkg-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db3c55cbdf7e55c9910420a6091ede28e9a9ff73ac902ad104e1aa92e56b1546
MD5 2e45bed6d0173a5286def2f604c16782
BLAKE2b-256 823267265439b996c183cd704b7882d86a98bd60f63e1bd8800531ff03dc48e4

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