Skip to main content

No project description provided

Project description

Temporal Mapper Logo

Temporal Mapper

V.1.1.0 - February 02 2026


This is a library for using the Mapper for temporal topic modelling. Though things broadly work now, the edge cases have not been throughly tested.

Direct questions to Kaleb D. Ruscitti: kaleb.ruscitti at uwaterloo.ca .

Complete documentation is under construction on Read The Docs.

Example:

arXiv Papers

From the arXiv API, we can retrieve ~500,000 article titles and abstracts, use SBERT to embed them, and then UMAP to reduce to 2D.

Using DataMapPlot and TopicNaming we can produce a static plot of this data:

A DataMapPlot of ArXiV papers

Now, using this repository we can additionally analyse the temporal information. Using the Mapper algorithm with time as our lens function, we create a temporal graph of the topics (clusters) through time. The code includes two types of plots to visualize this graph:

Centroid Plot Temporal-Semantic Plot

Installation

Install from PyPI: pip install temporal-mapper

Or, clone the repo and install:

git clone https://github.com/TutteInstitute/temporal-mapper.git

cd temporal-mapper && pip install .

Development Instructions

Getting set up

(Mostly for my future self...)

Clone the repo: git clone https://github.com/TutteInstitute/temporal-mapper.git

Then make a virtual environment and install the package and pytest.

cd temporal-mapper && python -m venv .venv

source .venv/bin/activate

pip install -r requirements.txt && pip install -e .

Before making any changes, check that the tests run successfully:

cd tests && python -m pytest mapper.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

temporal_mapper-1.1.0.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

temporal_mapper-1.1.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file temporal_mapper-1.1.0.tar.gz.

File metadata

  • Download URL: temporal_mapper-1.1.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for temporal_mapper-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3b1a6f62a2355481140a0dd76c917acddc4a1b9fc53597429b9ee44f6f57927a
MD5 4c726e98dc31d72f6f4f00927e96f36b
BLAKE2b-256 d17e21c1d4b3495401b1336f5e3a4bfc35098ac96b5d0b185e8c3d0dcf424821

See more details on using hashes here.

File details

Details for the file temporal_mapper-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for temporal_mapper-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5b0897afb101c671c376bf98efc69696643f7049dba7965dfc0124988959f92f
MD5 f233d5bd1763ef9a6441991ec236bbf8
BLAKE2b-256 4111b37ede4ac209f65d04da909a2aaee7b84f24b9ca39849320d0b6a70712e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page