Simple Python script that takes in a matrix of polynomial entries and returns its Smith Normal Form.
Python 3 is required. This script has numpy as its only dependency. Pipenv can be used with the supplied Pipfile.
python smith.py <input_file>
The data.txt file can be used as an example input file.