Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
pymatsolver
.. image:: https://img.shields.io/pypi/v/pymatsolver.svg :target: https://pypi.python.org/pypi/pymatsolver :alt: Latest PyPI version
.. image:: https://img.shields.io/badge/license-MIT-blue.svg :target: https://github.com/simpeg/pymatsolver/blob/master/LICENSE :alt: MIT license.
.. image:: https://codecov.io/gh/simpeg/pymatsolver/branch/main/graph/badge.svg?token=8uQoxzxf3r :target: https://codecov.io/gh/simpeg/pymatsolver :alt: Coverage status
A (sparse) matrix solver for python.
Solving Ax = b should be as easy as:
.. code-block:: python
Ainv = Solver(A)
x = Ainv * b
In pymatsolver we provide a number of wrappers to existing numerical packages. Nothing fancy here.
All solvers work with :code:scipy.sparse
matricies, and a single or multiple right hand sides using :code:numpy
:
Often, there are faster solvers available for your system than the default scipy factorizations available.
pymatsolver provides a consistent interface to both MKL's Pardiso
routines and the MUMPS
solver package. To
make use of these we use intermediate wrappers for the libraries that must be installed separately.
The Pardiso interface is recommended for Intel processor based systems. The interface is enabled by
the pydiso
python package, which can be installed through conda-forge as:
.. code::
conda install -c conda-forge pydiso
Mumps is available for all platforms. The mumps interface is enabled by installing the python-mumps
wrapper package. This can easily be installed through conda-forge with:
.. code::
conda install -c conda-forge python-mumps
Code: https://github.com/simpeg/pymatsolver
Tests: https://github.com/simpeg/pymatsolver/actions
Bugs & Issues: https://github.com/simpeg/pymatsolver/issues
License: MIT
FAQs
pymatsolver: Matrix Solvers for Python
We found that pymatsolver demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.