Skip to content

Commit 819c556

Browse files
committed
Merge branch 'main' of github.com:lucasimi/tda-mapper-python into add-type-hints
2 parents f9f8bde + f72365d commit 819c556

12 files changed

Lines changed: 448 additions & 69 deletions

File tree

.github/workflows/test-bench.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717
include:
18-
- python-version: 3.8
19-
allow-failure: false
2018
- python-version: 3.9
2119
allow-failure: false
2220
- python-version: 3.10
@@ -49,7 +47,7 @@ jobs:
4947

5048
- name: Install dependencies
5149
run: |
52-
python -m pip install -e .[dev,app]
50+
python -m pip install -e .[dev]
5351
5452
- name: Run benchmarks
5553
run: |

.github/workflows/test-unit.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ on:
1010

1111
jobs:
1212
test-unit-matrix-job:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717
include:
18-
- python-version: 3.8
19-
allow-failure: false
2018
- python-version: 3.9
2119
allow-failure: false
2220
- python-version: 3.10
@@ -49,7 +47,7 @@ jobs:
4947

5048
- name: Install dependencies
5149
run: |
52-
python -m pip install -e .[dev,app]
50+
python -m pip install -e .[dev]
5351
5452
- name: Run tests and code coverage
5553
run: |

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
![Logo](https://github.com/lucasimi/tda-mapper-python/raw/main/docs/source/logos/tda-mapper-logo-horizontal.png)
22

3+
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
4+
35
[![PyPI version](https://img.shields.io/pypi/v/tda-mapper?logo=python&logoColor=silver)](https://pypi.python.org/pypi/tda-mapper)
46
[![downloads](https://img.shields.io/pypi/dm/tda-mapper?logo=python&logoColor=silver)](https://pypi.python.org/pypi/tda-mapper)
57
[![codecov](https://img.shields.io/codecov/c/github/lucasimi/tda-mapper-python?logo=codecov&logoColor=silver)](https://codecov.io/github/lucasimi/tda-mapper-python)
@@ -64,16 +66,6 @@ mathematical foundations and practical applications, read
6466
| ![Step 1](https://github.com/lucasimi/tda-mapper-python/raw/main/resources/mapper_1.png) | ![Step 2](https://github.com/lucasimi/tda-mapper-python/raw/main/resources/mapper_2.png) | ![Step 3](https://github.com/lucasimi/tda-mapper-python/raw/main/resources/mapper_3.png) | ![Step 2](https://github.com/lucasimi/tda-mapper-python/raw/main/resources/mapper_4.png) |
6567
| Choose lens | Cover image | Run clustering | Build graph |
6668

67-
## Citations
68-
69-
If you use **tda-mapper** in your work, please consider citing both the
70-
[library](https://doi.org/10.5281/zenodo.10642381), archived in a permanent
71-
Zenodo record, and the [paper](https://openreview.net/pdf?id=lTX4bYREAZ),
72-
which provides a broader methodological overview. We recommend citing the
73-
specific version of the library used in your research, along with the paper.
74-
For citation examples, please refer to the
75-
[documentation](https://tda-mapper.readthedocs.io/en/main/#citations).
76-
7769
## Quick Start
7870

7971
### Installation
@@ -158,3 +150,13 @@ To run it locally:
158150
```
159151

160152
![tda-mapper-app](https://github.com/lucasimi/tda-mapper-python/raw/main/resources/tda-mapper-app.png)
153+
154+
## Citations
155+
156+
If you use **tda-mapper** in your work, please consider citing both the
157+
[library](https://doi.org/10.5281/zenodo.10642381), archived in a permanent
158+
Zenodo record, and the [paper](https://openreview.net/pdf?id=lTX4bYREAZ),
159+
which provides a broader methodological overview. We recommend citing the
160+
specific version of the library used in your research, along with the paper.
161+
For citation examples, please refer to the
162+
[documentation](https://tda-mapper.readthedocs.io/en/main/#citations).

docs/source/citations.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Citations
2+
=========
3+
4+
If you use **tda-mapper** in your work, please consider citing both the
5+
`library <https://doi.org/10.5281/zenodo.10642381>`__,
6+
archived in a permanent Zenodo record, and the
7+
`paper <https://openreview.net/pdf?id=lTX4bYREAZ>`__,
8+
which provides a broader methodological overview. We recommend citing the
9+
specific version of the library used in your research, along with the paper.
10+
11+
- **tda-mapper**: For example to cite version 0.8.0 you can use:
12+
13+
.. code:: bibtex
14+
15+
@software{simi_2024_14194667,
16+
author = {Simi, Luca},
17+
title = {tda-mapper},
18+
month = nov,
19+
year = 2024,
20+
publisher = {Zenodo},
21+
version = {v0.8.0},
22+
doi = {10.5281/zenodo.14194667},
23+
url = {https://doi.org/10.5281/zenodo.14194667}
24+
}
25+
26+
- **Methodology**: For the paper, you can use:
27+
28+
.. code:: bibtex
29+
30+
@article{simi2025a,
31+
title = {A Scalable Approach for Mapper via Efficient Spatial Search},
32+
author = {Luca Simi},
33+
journal = {Transactions on Machine Learning Research},
34+
issn = {2835-8856},
35+
year = {2025},
36+
url = {https://openreview.net/forum?id=lTX4bYREAZ},
37+
note = {}
38+
}

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def convert_py_to_ipynb():
4646

4747
extensions = [
4848
"sphinx.ext.autodoc",
49+
"sphinx.ext.doctest",
4950
"sphinx.ext.viewcode",
5051
"sphinx_rtd_theme",
5152
"nbsphinx",

docs/source/examples.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Examples
66

77
notebooks/circles
88
notebooks/digits
9+
notebooks/cover
910

docs/source/index.rst

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.. |Repo Status| image:: https://www.repostatus.org/badges/latest/active.svg
2+
:alt: Project Status: Active – The project has reached a stable, usable state and is being actively developed.
3+
:target: https://www.repostatus.org/#active
14
.. |Source Code| image:: https://img.shields.io/badge/lucasimi-tda--mapper--python-blue?logo=github&logoColor=silver
25
:target: https://github.com/lucasimi/tda-mapper-python
36
.. |PyPI version| image:: https://img.shields.io/pypi/v/tda-mapper?logo=python&logoColor=silver
@@ -23,9 +26,10 @@
2326
https://github.com/lucasimi/tda-mapper-python/raw/main/docs/source/logos/tda-mapper-logo-horizontal.png
2427
:alt: Logo
2528

29+
|Repo Status| |Source Code|
30+
2631
|PyPI version| |downloads| |codecov| |test| |publish| |docs| |DOI|
2732

28-
|Source Code|
2933

3034
tda-mapper
3135
==========
@@ -90,52 +94,13 @@ mathematical foundations and practical applications, read
9094
| Choose lens | Cover image | Run clustering | Build graph |
9195
+-----------------+-----------------+-----------------+-----------------+
9296

93-
Citations
94-
---------
95-
96-
If you use **tda-mapper** in your work, please consider citing both the
97-
`library <https://doi.org/10.5281/zenodo.10642381>`__,
98-
archived in a permanent Zenodo record, and the
99-
`paper <https://openreview.net/pdf?id=lTX4bYREAZ>`__,
100-
which provides a broader methodological overview. We recommend citing the
101-
specific version of the library used in your research, along with the paper.
102-
103-
- **tda-mapper**: For example to cite version 0.8.0 you can use:
104-
105-
.. code:: bibtex
106-
107-
@software{simi_2024_14194667,
108-
author = {Simi, Luca},
109-
title = {tda-mapper},
110-
month = nov,
111-
year = 2024,
112-
publisher = {Zenodo},
113-
version = {v0.8.0},
114-
doi = {10.5281/zenodo.14194667},
115-
url = {https://doi.org/10.5281/zenodo.14194667}
116-
}
117-
118-
- **Methodology**: For the paper, you can use:
119-
120-
.. code:: bibtex
121-
122-
@article{simi2025a,
123-
title = {A Scalable Approach for Mapper via Efficient Spatial Search},
124-
author = {Luca Simi},
125-
journal = {Transactions on Machine Learning Research},
126-
issn = {2835-8856},
127-
year = {2025},
128-
url = {https://openreview.net/forum?id=lTX4bYREAZ},
129-
note = {}
130-
}
131-
132-
13397
.. toctree::
13498
:caption: User's Guide
13599
:maxdepth: 1
136100

137101
quickstart
138102
examples
103+
citations
139104

140105

141106
.. toctree::

0 commit comments

Comments
 (0)