Metadata-Version: 2.4
Name: suitesparse-amd
Version: 0.3.4
Summary: A Python wrapper for the C-Library for SuiteSparse's Approximate Minimum Degree (AMD) algorithm
Author-email: Marius Juston <marius.juston@hotmail.fr>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Marius-Juston/SuiteSparse
Project-URL: Issues, https://github.com/Marius-Juston/SuiteSparse/issues
Keywords: suitesparse,amd,sparse,approximate minimum degree
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: bumpver; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: pip-tools; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

# SuiteSparse-AMD

[![Build and upload to PyPI](https://github.com/Marius-Juston/SuiteSparse/actions/workflows/wheels.yml/badge.svg?event=release)](https://github.com/Marius-Juston/SuiteSparse/actions/workflows/wheels.yml) [![Super-Linter](https://github.com/Marius-Juston/SuiteSparse/actions/workflows/lint.yml/badge.svg)](https://github.com/marketplace/actions/super-linter) [![Python Testing package](https://github.com/Marius-Juston/SuiteSparse/actions/workflows/tests.yml/badge.svg)](https://github.com/Marius-Juston/SuiteSparse/actions/workflows/tests.yml)

This package is the port of the SuiteSparse AMD (Approximate Minimum Degree) function. This is a Python C wrapper of the library from [SuiteSparse](https://github.com/DrTimothyAldenDavis/SuiteSparse).

This package currently only works with Numpy arrays, 2D lists and PyTorch Tensors in the CPU.

## Installation

### PyPi

```bash
pip install suitesparse-amd
```

### Source Installation

```bash
pip install git+https://github.com/Marius-Juston/SuiteSparse.git
```

### Compile Source

```bash
python3 -m build --wheel --sdist
```

## Publish

```bash
bumpver update --tag-commit --patch --push
```
