{ "info": { "author": "Matt Shannon", "author_email": "matt.shannon@cantab.net", "bugtrack_url": null, "classifiers": [], "description": "bandmat\n=======\n\n|Linux build status| |Windows build status|\n\n.. |Linux build status| image:: https://travis-ci.org/MattShannon/bandmat.svg?branch=master\n :alt: Linux build status\n :target: https://travis-ci.org/MattShannon/bandmat\n.. |Windows build status| image:: https://ci.appveyor.com/api/projects/status/cy8ouawd9bnus0ai/branch/master?svg=true\n :alt: Windows build status\n :target: https://ci.appveyor.com/project/MattShannon/bandmat/branch/master\n\nThis package provides a simple banded matrix library for python.\nIt supports banded matrix-vector and matrix-matrix multiplication, converting\nbetween full and banded matrix representations, and certain linear algebra\noperations on banded matrices.\nIt builds on the excellent numpy and scipy packages, which have limited support\nfor banded matrix operations.\n\nOverview\n--------\n\nA banded matrix is a matrix where only the diagonal, a number of superdiagonals\nand a number of subdiagonals are non-zero.\nThe well-known BLAS interface and LAPACK library for linear algebra define\nseveral banded matrix operations, and some of these, such as banded Cholesky\ndecomposition, are wrapped in the excellent python package scipy, specifically\nin scipy.linalg.\nThe bandmat package re-uses the banded matrix representation used by BLAS,\nLAPACK and scipy.linalg, wrapping it in a lightweight class for ease of use.\nSee the docstring for the BandMat class for full details of the representation\nused.\n\nThe bandmat package provides:\n\n- a lightweight class wrapping the LAPACK-style banded matrix representation.\n This class keeps track of things like bandwidths to allow a more direct\n coding style when working with banded matrices.\n- some basic banded matrix operations not present in scipy.\n For example, banded matrix-vector multiplication is defined by BLAS but not\n wrapped by scipy, and banded matrix-matrix multiplication is not defined in\n BLAS or in scipy.\n The bandmat package contains C implementations of these operations written in\n cython.\n- helper functions for converting between full and banded matrix\n representations.\n- certain linear algebra operations on banded matrices, including computing the\n band of the inverse of a banded matrix.\n\nOnly square banded matrices are supported by this package.\n\nLicense\n-------\n\nPlease see the file ``License`` for details of the license and warranty for\nbandmat.\n\nInstallation\n------------\n\nFor most purposes the simplest way to install bandmat is to use pip.\nFor example in Debian and Ubuntu::\n\n # (for python3, use \"python3-numpy python3-scipy\" instead)\n sudo apt-get install python-numpy python-scipy\n sudo pip install bandmat\n\nThe first command installs numpy and scipy from the system repository, since\ninstalling numpy and scipy using pip is generally not recommended.\nThe second command installs the latest released version of\n`bandmat on PyPI `_, together with any\ncurrently uninstalled python packages required by bandmat.\n\nbandmat can also be installed in a virtualenv::\n\n # (for python3, use \"python3-numpy python3-scipy\" instead)\n sudo apt-get install python-numpy python-scipy\n virtualenv --system-site-packages env\n env/bin/pip install bandmat\n\nThe latest development version of bandmat is available from a github repository\n(see below).\n\nTo check that bandmat is installed correctly you can run the test suite::\n\n python -m unittest discover bandmat\n\nExamples\n--------\n\nSee the package docstring (run ``import bandmat as bm; help(bm)`` in the python\ninterpreter) for some examples of usage.\nThe python script ``example.py`` also contains some simple examples of usage.\nTo run it::\n\n python example.py\n\nDevelopment\n-----------\n\nThe source code is hosted in the\n`bandmat github repository `_.\nTo obtain the latest source code using git::\n\n git clone git://github.com/MattShannon/bandmat.git\n\nDevelopment is in fact done using `darcs `_, with the darcs\nrepository converted to a git repository using\n`darcs-to-git `_.\n\nTo install any currently uninstalled python packages required by bandmat::\n\n # (for python3, use \"cython3 python3-numpy python3-scipy\" instead)\n sudo apt-get install cython python-numpy python-scipy\n sudo pip install -r requirements.txt\n\nTo compile the cython part of bandmat in the current directory::\n\n python setup.py build_ext --inplace\n\nThis command must be run after every modification to the source ``.pyx`` files.\n\nA note on ``setup.py``\n----------------------\n\nThe included ``setup.py`` file operates in one of two modes depending on\nwhether or not the file ``dev`` is present in the project root directory.\nIn development mode (``dev`` present, as for the github repository), the\n``build_ext`` command uses cython to compile cython modules from their ``.pyx``\nsource, and the ``sdist`` command is modified to first use cython to compile\ncython modules from their ``.pyx`` source to ``.c`` files.\nIn distribution mode (``dev`` absent, as for source distributions such as the\ncode on PyPI), the ``build_ext`` command uses a C compiler to directly compile\ncython modules from the corresponding ``.c`` files.\nThis approach ensures that source distributions can be installed on systems\nwithout cython or with an incompatible version of cython, while ensuring that\ndistributed ``.c`` files are always up-to-date and that the source ``.pyx``\nfiles are used instead of ``.c`` files during development.\n\nThe author would welcome any suggestions for more elegant ways to achieve a\nsimilar effect to the approach described above!\n\nBugs\n----\n\nPlease use the\n`issue tracker `_ to submit bug\nreports.\n\nContact\n-------\n\nThe author of bandmat is `Matt Shannon `_.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/MattShannon/bandmat", "keywords": "", "license": "3-clause BSD (see License file)", "maintainer": "", "maintainer_email": "", "name": "bandmat", "package_url": "https://pypi.org/project/bandmat/", "platform": "", "project_url": "https://pypi.org/project/bandmat/", "project_urls": { "Homepage": "http://github.com/MattShannon/bandmat" }, "release_url": "https://pypi.org/project/bandmat/0.7/", "requires_dist": null, "requires_python": "", "summary": "A banded matrix library for python.", "version": "0.7" }, "last_serial": 3932369, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "60f16a1db2b21c111a26cbfb1509b3bb", "sha256": "ee55f2831d76ee9f5aad4261541c4bc5940b8a37b5842971870ab560d12e22f5" }, "downloads": -1, "filename": "bandmat-0.1.tar.gz", "has_sig": false, "md5_digest": "60f16a1db2b21c111a26cbfb1509b3bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51743, "upload_time": "2013-09-20T20:17:54", "url": "https://files.pythonhosted.org/packages/88/79/a796269ed9ddf042fcabea273c45cdfcc66c67c61a0905e749e1063ac31b/bandmat-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "e0da38f10d36131812ea37242747b137", "sha256": "2eb96469d89e8e5650d491d9eee2c09b95ee328982bb1e6fce714dc695c7f6b2" }, "downloads": -1, "filename": "bandmat-0.2.tar.gz", "has_sig": false, "md5_digest": "e0da38f10d36131812ea37242747b137", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 225588, "upload_time": "2013-09-25T04:15:54", "url": "https://files.pythonhosted.org/packages/91/aa/e0c4ee64e83b4acd3b4004a83046d24792c3e6941ec8eb6249bd9001b2e1/bandmat-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "89a00aa659ee140c73ba7a44fe7365dd", "sha256": "901e6e68c0483180fa9d0591051574996c2caaa9c5e68c5a05f1a55d7e58049e" }, "downloads": -1, "filename": "bandmat-0.3.tar.gz", "has_sig": false, "md5_digest": "89a00aa659ee140c73ba7a44fe7365dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 228129, "upload_time": "2013-10-17T01:57:24", "url": "https://files.pythonhosted.org/packages/e2/18/1f451e8453e3af28076354096668b35e5147a5af49d9e88f0098214dd3b7/bandmat-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "fe86753f120ac3fbd5f645696843dda5", "sha256": "9dc2600ea247650f7da88538da5d6f381e1d3931867cda2830706a8852a30eb3" }, "downloads": -1, "filename": "bandmat-0.4.tar.gz", "has_sig": false, "md5_digest": "fe86753f120ac3fbd5f645696843dda5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 294964, "upload_time": "2015-02-24T16:58:25", "url": "https://files.pythonhosted.org/packages/e5/a3/760610f2e2a662a026f9026b2a244226f644db36d09b1a11bfd7ed4053d0/bandmat-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "535885c2cd925036591b2c955ceafe02", "sha256": "254b6f6b73639c15edec324e405a85730f4c924159d4b6ed5f0f9be26bbae911" }, "downloads": -1, "filename": "bandmat-0.5.tar.gz", "has_sig": false, "md5_digest": "535885c2cd925036591b2c955ceafe02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 295112, "upload_time": "2015-02-24T19:39:44", "url": "https://files.pythonhosted.org/packages/ca/22/82c2fa06484068faae7abfcd48833bc891578268fc5048ffe3378f3b3acb/bandmat-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "451ba9873d53291037753a85f7417045", "sha256": "bb4d40fad6a79611f8d7a11ac0ecc9431a712f57e7836ef02ad778f42e831eef" }, "downloads": -1, "filename": "bandmat-0.6.tar.gz", "has_sig": false, "md5_digest": "451ba9873d53291037753a85f7417045", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 362665, "upload_time": "2017-06-12T09:47:42", "url": "https://files.pythonhosted.org/packages/cb/f9/49fe7d936d0f9a4d3bbf30f14e7a3340ea7d88847c2e4e4e645c38ff7cbc/bandmat-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "82346cad15ea5f46a5584fbc5fd1a6df", "sha256": "f9aa42d8d04d8a04ed839a4b7585451babedcf41bf355936098d49e236f1f05b" }, "downloads": -1, "filename": "bandmat-0.7.tar.gz", "has_sig": false, "md5_digest": "82346cad15ea5f46a5584fbc5fd1a6df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 364002, "upload_time": "2018-06-05T14:07:04", "url": "https://files.pythonhosted.org/packages/94/69/c94a1f690ce9dace7de87f9c95ce297e11e8d0c1314f0280027be2194d0b/bandmat-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "82346cad15ea5f46a5584fbc5fd1a6df", "sha256": "f9aa42d8d04d8a04ed839a4b7585451babedcf41bf355936098d49e236f1f05b" }, "downloads": -1, "filename": "bandmat-0.7.tar.gz", "has_sig": false, "md5_digest": "82346cad15ea5f46a5584fbc5fd1a6df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 364002, "upload_time": "2018-06-05T14:07:04", "url": "https://files.pythonhosted.org/packages/94/69/c94a1f690ce9dace7de87f9c95ce297e11e8d0c1314f0280027be2194d0b/bandmat-0.7.tar.gz" } ] }