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.3.tar.gz (3.4 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.3-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: matrixutils_example_pkg-0.0.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for matrixutils_example_pkg-0.0.3.tar.gz
Algorithm Hash digest
SHA256 43aa416577ba30ddf03d739cd8e588dd018ddc79bd70a629be2901bc642daeaa
MD5 d5c4f2e81b60c9bd72bdc6223128f34b
BLAKE2b-256 8dad775f31107b08ebae3733c81f8dd62e8232863319cc5983c9b3ea3d7b2953

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for matrixutils_example_pkg-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00b8be36e3b0fec2d98bee6e5e6265004873c37abe31764265fd0822eb9a852d
MD5 1acd69dd3cffecefbb9a07c28312b414
BLAKE2b-256 3d80c116116fe49dc2b7d10c2515b19661467108848d95a277cbd2fa6cea8b76

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