Skip to main content

Homeotopy

build pypi docs

A python library for computing homeomorphisms between some common continuous spaces.

Installation

pip install homeotopy

Usage

import numpy as np

import homeotopy

rng = np.random.default_rng(0)
points = rng.dirichlet(np.ones(4), 10)  # 10 points on the simplex in R^4
# 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 = ~mapping
duplicate_points = rev_mapping(sphere_points)

Development

Checks

uv run ruff format --check
uv run ruff check
uv run pyright
uv run pytest

Publishing

Releases are cut manually: run the release workflow from the Actions tab and pick a version bump (patch/minor/major). It runs the checks, bumps the version, builds and publishes to PyPI via trusted publishing (no API token), tags the release, and deploys the docs.

Metadata

Release files for homeotopy 0.7.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 homeotopy 0.7.0
File Size Uploaded
homeotopy-0.7.0.tar.gz 87.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homeotopy 0.7.0
File Interpreter ABI Platform
homeotopy-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 95.8 kB

Release files / homeotopy-0.7.0.tar.gz

Download URL homeotopy-0.7.0.tar.gz
Size 87.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d1237179e75b7cfdebb827b97e7be9f5648b2d91fd532cea630de61fdeb85f09
BLAKE2b-256 checksum
How to use checksums
8e85a0fb6ae983642a37013a7724e3c5e88791e157e8c6de988103848fe7193c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / homeotopy-0.7.0-py3-none-any.whl

Download URL homeotopy-0.7.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93810877973fa5deef1489fd99a69c02c5d3f259f24b8942db935acf7d2dc1a3
BLAKE2b-256 checksum
How to use checksums
548dec0e9984a8e057ecd70dd83f495f64e87d5aa3b277e47205de555f40ed87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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