A library for computing homeomorphisms between some common stnandard topologie
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
uv run pytest --cov
uv run ruff format homeotopy/*.py tests/*.py
uv run ruff check homeotopy/*.py tests/*.py
uv run mypy homeotopy
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.3.0.tar.gz
(5.2 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.3.0.tar.gz.
File metadata
- Download URL: homeotopy-0.3.0.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a17af514575ebf9dcd94f1df293661102632f0e6649fd48f9f9500af5245e3d
|
|
| MD5 |
35e8b63473b0be77bd14c5bc3a08e665
|
|
| BLAKE2b-256 |
f8646729b520b2c19eb07c5c6acfb1b5b6884736299edd506ce82c5ce0e431ef
|
File details
Details for the file homeotopy-0.3.0-py3-none-any.whl.
File metadata
- Download URL: homeotopy-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.28
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891164445a686c7867814ed1513f72f84e55b1519b403714e94ecfb978279524
|
|
| MD5 |
efb9f7dc1b854b8649a40372254025f6
|
|
| BLAKE2b-256 |
aa7c9e07b3b3ad60eec56e1aac4c3cdf3fb7a497b17b46bc898ecdfa733cb5dd
|