A library for computing homeomorphisms between some common standard topologies
Project description
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 = reversed(mapping)
duplicate_points = rev_mapping(sphere_points)
Development
Checks
uv run ruff format
uv run ruff check
uv run mypy homeotopy
uv run pytest
Publishing
rm -rf dist
uv build
uv publish --username __token__
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
homeotopy-0.4.0.tar.gz
(5.9 MB
view details)
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.4.0.tar.gz.
File metadata
- Download URL: homeotopy-0.4.0.tar.gz
- Upload date:
- Size: 5.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2d1d3d600b63d7d67d42f07232402d78ed658f26943ecc61a0e7a5ea9c267b4
|
|
| MD5 |
8cae280791ec8dc0bfdb92b3409698c3
|
|
| BLAKE2b-256 |
21607b50541f238c352a09cdf26b74cf144836cac1557e9f8565ab26345e3d18
|
File details
Details for the file homeotopy-0.4.0-py3-none-any.whl.
File metadata
- Download URL: homeotopy-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b52817af304ab95c935139c6a1a678a6b10236911ffd01728e8013449b6c531f
|
|
| MD5 |
51d7d2a519c408d782f9c996d0863ac3
|
|
| BLAKE2b-256 |
069d59565520a05ceb5c807c07e5c50b6241778d5115d849a5e84ffdc0d3d76f
|