Skip to main content

Matrix Utilization Python Package

Project description

MatPak

Matrix Utilization Python Package.

MatPak

Files structure

src/: source codes of library lives in here.

src/matpak/: MatPak package files stored in this directory.

tests/: MatPak package unit tests are located here.

Usage

First of all, MatPak should be installed via your python package manager (e.g, pip):

pip install matpak

Then by importing matpak package in your application files, you can use MatPak's public API functions:

import matpak

def main():
    # import custom matrix from file
    foo_mat = matpak.imp_mat_file("./foo_mat.txt")
    
if __name__ == "__main__":
    main()

Test

To execute unit tests, from root dir:

python -m unittest discover -s tests -p "*_test.py"

on successful test:

..................
----------------------------------------------------------------------
Ran 18 tests in 0.048s

OK

Examples

tests/ directory contains tests that are also best examples to inspire from. all public APIs tested and all names (function names, variable name, etc...) are clear to find out what is going on.

Contribution

Feel free to fork, modify and open a pull request in this repository. Thanks for your contribution.

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

matpak-2.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

matpak-2.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file matpak-2.1.0.tar.gz.

File metadata

  • Download URL: matpak-2.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for matpak-2.1.0.tar.gz
Algorithm Hash digest
SHA256 86b00ff88a4a12f8f1ab5deef42f135fab327685ee122f0e482ecb95622e90a5
MD5 797bbc08896483b961c8a790539e5ef9
BLAKE2b-256 46eac68c79928b4580923fec49e580b62dba03f8dee0f8c27d19a3ae56ac783f

See more details on using hashes here.

File details

Details for the file matpak-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: matpak-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for matpak-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 624c8c14cec1caf67157d70a0488b6bf15f9f223bc81eebfe8f0b810f5ebdb36
MD5 d532e02504bfaf65208afb8e8de7203e
BLAKE2b-256 c649f60c29ade2b2058f1404f20d34604de5961e9ce9aa2230fcffae47049985

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