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 --check
uv run ruff check
uv run pyright
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.5.0.tar.gz
(46.5 kB
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.5.0.tar.gz.
File metadata
- Download URL: homeotopy-0.5.0.tar.gz
- Upload date:
- Size: 46.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9328cbf8a2b30c984e43337e9dea5c95e62d536dc4eab6ada49cb4b51d8bf0df
|
|
| MD5 |
693422ec0116d3a83a7a1f94bfa15a34
|
|
| BLAKE2b-256 |
95606a3f4deffcaf0ba378ccdd193181ea97344b6080ddf5e9b00238a8a2fd46
|
File details
Details for the file homeotopy-0.5.0-py3-none-any.whl.
File metadata
- Download URL: homeotopy-0.5.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 |
7aa791a661b42b26a2fd9743179152c5312a230abf473193dc994a20e4ed6f5e
|
|
| MD5 |
be4250f112c76690afe83515b6958196
|
|
| BLAKE2b-256 |
1bc68d18968bce1d9f01c8aef9d8ecd9727066cc22cd59aca28474eb33e98f4c
|