# homeotopy **Repository Path**: mirrors_erikbrinkman/homeotopy ## Basic Information - **Project Name**: homeotopy - **Description**: A python library for computing homeomorphisms between some common continuous spaces - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-16 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Homotopy [![build](https://github.com/erikbrinkman/homeotopy/actions/workflows/python-package.yml/badge.svg)](https://github.com/erikbrinkman/homeotopy/actions/workflows/python-package.yml) [![pypi](https://img.shields.io/pypi/v/homeotopy)](https://pypi.org/project/homeotopy/) [![docs](https://img.shields.io/badge/api-docs-blue)](https://erikbrinkman.github.io/homeotopy) A python library for computing homeomorphisms between some common continuous spaces. ## Installation ```sh pip install homeotopy ``` ## Usage ```py import homeotopy points = ... # create a mapping from the simplex to the surface of the sphere mapping = homeotopy.homeomorphism(homeotopy.simplex(), homeotopy.sphere()) sphere_points = mapping(points) rev_mapping = reversed(mapping) duplicate_points = rev_mapping(sphere_points) ``` ## Development ### Checks ```sh uv run ruff format --check uv run ruff check uv run pyright uv run pytest ``` ### Publishing ```sh rm -rf dist uv build uv publish --username __token__ ```