Skip to main content

Temporal Mapper Logo

Temporal Mapper

V.1.2.1 - March 03 2026


This is a library for using the Mapper for temporal topic modelling. The primary components are:

  • A scikit-learn compliant Mapper class temporalmapper.Mapper implementing density-based Mapper.
  • A much messier wrapper class temporalmapper.TemporalMapper that computes additional data useful for temporal topic modelling.
  • Interactive and static plotting functions such as TemporalMapper.temporal_plot.

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

Complete documentation is under construction on Read The Docs.

Example:

United Nations General Debate Corpus

The United Nations General Debate Corpus contains transcripts of the United Nations General Debates from 1970-2014. We can chunk and embed these transcripts using SBERT and produce a topic model of the dataset using Toponymy.

Then using this repository, we can model the changes in the topics over time, producing a graph whose nodes are topics at a given time:

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

Metadata

Release files for temporal-mapper 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for temporal-mapper 1.3.0
File Size Uploaded
temporal_mapper-1.3.0.tar.gz 30.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for temporal-mapper 1.3.0
File Interpreter ABI Platform
temporal_mapper-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 61.8 kB

Release files / temporal_mapper-1.3.0.tar.gz

Download URL temporal_mapper-1.3.0.tar.gz
Size 30.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bf1c41a9b0d1d4643b72a5c32eeebd4b0520d40a371ab79afb1a0afa1e169f1f
BLAKE2b-256 checksum
How to use checksums
dc4788b08106bbac7ca9eb65192746297c6ae0a3f35e55162dc7320facb5c455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / temporal_mapper-1.3.0-py3-none-any.whl

Download URL temporal_mapper-1.3.0-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d721133d0a6b8b61e4fb68e0a053b70feef62ac6ccb1f7c45e6f78ab92a0708
BLAKE2b-256 checksum
How to use checksums
76d49af3c56f35a662c711d231f1e58a9ef3ff97831e1b4bcd1f97408d217b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.2.0

1 release file

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page