{ "info": { "author": "Jacob Svensson", "author_email": "jacob@nephics.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Scientific/Engineering" ], "description": "mat4py - load and save data in the Matlab (TM) MAT-file format.\n===============================================================\n\nThe package provides the mat4py module with the functions ``loadmat`` and\n``savemat`` that allows for reading resp. writing data in the Matlab (TM)\nMAT-file format.\n\nMatlab data is loaded into basic Python data types. Matrices are stored row-major using lists of lists. Matlab structs and cells are represented using Python dicts.\n\nThe package can be run from the command line, in which case, it provides a routine for converting Matlab MAT-files to/from JSON files.\n\n\nLoad data from MAT-file\n-----------------------\n\nThe function ``loadmat`` loads all variables stored in the MAT-file into\na simple Python data structure, using only Python's dict and list\nobjects. Numeric and cell arrays are converted to row-ordered nested lists. Arrays are squeezed to eliminate arrays with only one element.\nThe resulting data structure is composed of simple types that are compatible\nwith the JSON format.\n\nExample: Load a MAT-file into a Python data structure::\n\n data = loadmat('datafile.mat')\n\nThe variable ``data`` is a dict with the variables and values contained in the MAT-file.\n\n\nSave Python data structure to a MAT-file\n----------------------------------------\n\nPython data can be saved to a MAT-file, with the function ``savemat``. Data has\nto be structured in the same way as for ``loadmat``, i.e. it should be composed\nof simple data types, like dict, list, str, int and float.\n\n\nExample: Save a Python data structure to a MAT-file::\n\n savemat('datafile.mat', data)\n\nThe parameter ``data`` shall be a dict with the variables.\n\n\nCommand line usage\n------------------\n\nThe package can be run from the command line, in which case, it provides\na routine for converting Matlab MAT-files to/from JSON files.\n\nCall::\n\n python -m mat4py.cmd -h\n\nto get help with command line usage.\n\n\nKnown limitations\n-----------------\n\nThe following Matlab data structures/types are not supported:\n\n- Arrays with more than 2 dimensions\n- Arrays with complex numbers\n- Sparse arrays\n- Function arrays\n- Object classes\n- Anonymous function classes\n\n\nLicense\n-------\n\nThe MIT License (MIT)\nCopyright (c) 2011-2018 Nephics AB\n\nSee the ``LICENSE.txt`` file.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nephics/mat4py/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "mat4py", "package_url": "https://pypi.org/project/mat4py/", "platform": "", "project_url": "https://pypi.org/project/mat4py/", "project_urls": { "Homepage": "https://github.com/nephics/mat4py/" }, "release_url": "https://pypi.org/project/mat4py/0.4.2/", "requires_dist": null, "requires_python": "", "summary": "Load and save data in the Matlab (TM) MAT-file format.", "version": "0.4.2" }, "last_serial": 4528997, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ba0ed553be1ebcea1b433e85f28b19f1", "sha256": "a1fb99b8ecf5c84f3d873b75d409b5219f3dc7aae5dd52a77f908a9824abd8d5" }, "downloads": -1, "filename": "mat4py-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ba0ed553be1ebcea1b433e85f28b19f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8944, "upload_time": "2014-08-04T21:04:29", "url": "https://files.pythonhosted.org/packages/4b/b9/52390bfe3f888d5a12e835881e5a15c6a7aee685a431e1faf7f1025ae2ae/mat4py-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "46820903b994172b9e4f35d859fffe79", "sha256": "1b0c1fb3f4b00747daf5e9868bd99727a5dab20ddd1848897afdfa161d08c797" }, "downloads": -1, "filename": "mat4py-0.1.1.tar.gz", "has_sig": false, "md5_digest": "46820903b994172b9e4f35d859fffe79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9917, "upload_time": "2014-10-22T19:05:14", "url": "https://files.pythonhosted.org/packages/ae/d8/4e15ca7abadfe5917edc8567f9f06db9831f94fab0a628d567e7138fd84d/mat4py-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c0d39cb6e6b51437ac7c67eb95b9e185", "sha256": "270ea1a0ebb265cc1ede79420e3a28e89fe7aa77b43e43ffcb4e2c0554e6201c" }, "downloads": -1, "filename": "mat4py-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c0d39cb6e6b51437ac7c67eb95b9e185", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9932, "upload_time": "2015-02-12T19:04:52", "url": "https://files.pythonhosted.org/packages/77/09/99203c6644c1367c4a85ac3fb56b908f5dd8040016cc13a59d593c8e6cdd/mat4py-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "3dfc127f37a8cd0dbb40068b4778c6f4", "sha256": "6613ddc8fe65cf0b3d1dba423785b7fb0e7c16d6bc2944c3945d4e470be4622d" }, "downloads": -1, "filename": "mat4py-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3dfc127f37a8cd0dbb40068b4778c6f4", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 12134, "upload_time": "2015-11-08T12:05:27", "url": "https://files.pythonhosted.org/packages/7b/a2/49949b3444625771c149bef918c50244fb0b812e7996901d6dfa3e10f4cb/mat4py-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b9d49706ac520f2acfaa03d69f79c61", "sha256": "54fa510639cbb854289f9d3852059bebcd8118ffa0bced1e4a9d5bf993db8e24" }, "downloads": -1, "filename": "mat4py-0.2.0.tar.gz", "has_sig": false, "md5_digest": "8b9d49706ac520f2acfaa03d69f79c61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10363, "upload_time": "2015-11-08T12:05:21", "url": "https://files.pythonhosted.org/packages/9a/e9/0058a6f8832b5800e93f5c88ef2c71582c355ca11cb1816ce36c70cf0d87/mat4py-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "1b8040162b949a91b4c7138c8d113504", "sha256": "0d471f54ba107dcb8c015f56e4a4590c722e83322cd5b9723afdf3952752c1f0" }, "downloads": -1, "filename": "mat4py-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1b8040162b949a91b4c7138c8d113504", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12137, "upload_time": "2016-07-05T14:21:10", "url": "https://files.pythonhosted.org/packages/5a/d2/b2e0c9833e10de09ad6b353bcdf624f86b24714241ed47d710d89e54c247/mat4py-0.2.1-py2.py3-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4aef6dade9783ac86b5e5e029eb79929", "sha256": "ae7c6bad9b348df206ea1d90891fd8cab63ff459e81229dc646e4c31f9ba1fa3" }, "downloads": -1, "filename": "mat4py-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4aef6dade9783ac86b5e5e029eb79929", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13852, "upload_time": "2017-01-27T09:53:32", "url": "https://files.pythonhosted.org/packages/6c/f3/f6d09211cb935e50fcb7bfa8bd3295e6ede53fbae5af2ea33143c99fd3bf/mat4py-0.3.0-py2.py3-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d8d41ca8edad1beda222a28577a7d10c", "sha256": "d40614602d5729dbc9a2b2387487e8b07b855700d11c4cf851c48ca61ab513b6" }, "downloads": -1, "filename": "mat4py-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d8d41ca8edad1beda222a28577a7d10c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13948, "upload_time": "2017-05-09T08:55:08", "url": "https://files.pythonhosted.org/packages/d3/42/7a2d31accbd6eba65c66cbf4d60e4330190e3360f47ce0ae8ee4a49b1a4e/mat4py-0.4.0-py2.py3-none-any.whl" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "95835c1012e35db4454e693187d76544", "sha256": "8272ce80747120ff44200b1fde341c657595813e1adf61262e44b52642c10dbe" }, "downloads": -1, "filename": "mat4py-0.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95835c1012e35db4454e693187d76544", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13966, "upload_time": "2018-05-24T16:31:28", "url": "https://files.pythonhosted.org/packages/81/98/a9a7f8752af35e73de165809a61d31c80cef2bf07d6742186a3f480f9cab/mat4py-0.4.1-py2.py3-none-any.whl" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "78b0bfb58dfcb0ddf59c7603888154c1", "sha256": "debb03a4c054998fda303a3576ae624b7668e33168de95cf7a153645990f7d8d" }, "downloads": -1, "filename": "mat4py-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78b0bfb58dfcb0ddf59c7603888154c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13077, "upload_time": "2018-11-26T09:53:09", "url": "https://files.pythonhosted.org/packages/25/a2/ec3feb146f6af699d85cf35d719463f2e2fb0d55864dd6d1d48cf0c756cd/mat4py-0.4.2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78b0bfb58dfcb0ddf59c7603888154c1", "sha256": "debb03a4c054998fda303a3576ae624b7668e33168de95cf7a153645990f7d8d" }, "downloads": -1, "filename": "mat4py-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78b0bfb58dfcb0ddf59c7603888154c1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13077, "upload_time": "2018-11-26T09:53:09", "url": "https://files.pythonhosted.org/packages/25/a2/ec3feb146f6af699d85cf35d719463f2e2fb0d55864dd6d1d48cf0c756cd/mat4py-0.4.2-py2.py3-none-any.whl" } ] }