Homotopy
A python library for computing homeomorphisms between some common continuous spaces.
Installation
pip install homeotopy
Usage
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 = ~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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file homeotopy-0.6.1.tar.gz.
File metadata
- Download URL: homeotopy-0.6.1.tar.gz
- Upload date:
- Size: 50.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7307d50ea2dfd0e3bbd38b788c95a096682cb0eff63f381b756c4ce41a7a1b3
|
|
| MD5 |
aebe14385dd81dce9ac8e470fefb73d2
|
|
| BLAKE2b-256 |
590d11983ff269aa45191fabda585687f574e08329f3eed8d339109da49b4e8d
|
Provenance
The following attestation bundles were made for homeotopy-0.6.1.tar.gz:
Publisher:
release.yml on hafaio/homeotopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
homeotopy-0.6.1.tar.gz -
Subject digest:
d7307d50ea2dfd0e3bbd38b788c95a096682cb0eff63f381b756c4ce41a7a1b3 - Sigstore transparency entry: 2083102018
- Sigstore integration time:
-
Permalink:
hafaio/homeotopy@86b8e8e899557fafdd434f9075fb3afa6209f386 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hafaio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@86b8e8e899557fafdd434f9075fb3afa6209f386 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file homeotopy-0.6.1-py3-none-any.whl.
File metadata
- Download URL: homeotopy-0.6.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
773fdaf5d523a08fcacf2778f306f4e08fb039e1729fc66a3b89ff207447ef80
|
|
| MD5 |
1c46a73baf40001fb552729c6e301b43
|
|
| BLAKE2b-256 |
037f9db309ff15ed915f85461cb516c0ffc1e51f9cf06862058cb9d919b2f4f1
|
Provenance
The following attestation bundles were made for homeotopy-0.6.1-py3-none-any.whl:
Publisher:
release.yml on hafaio/homeotopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
homeotopy-0.6.1-py3-none-any.whl -
Subject digest:
773fdaf5d523a08fcacf2778f306f4e08fb039e1729fc66a3b89ff207447ef80 - Sigstore transparency entry: 2083102030
- Sigstore integration time:
-
Permalink:
hafaio/homeotopy@86b8e8e899557fafdd434f9075fb3afa6209f386 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hafaio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@86b8e8e899557fafdd434f9075fb3afa6209f386 -
Trigger Event:
workflow_dispatch
-
Statement type: