Skip to main content

Homotopy

build pypi docs

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

homeotopy-0.6.0.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homeotopy-0.6.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file homeotopy-0.6.0.tar.gz.

File metadata

  • Download URL: homeotopy-0.6.0.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for homeotopy-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7b041d331ec9f416f2cd551247e5d14edd6152c4f0ed89f09e5549433fe1f8f2
MD5 83d53ed1ac64093a41feddce14b45e17
BLAKE2b-256 582593ffcb9af358a3a67500cbeee4e9c927eeb486d2fc8a470879824112e1e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for homeotopy-0.6.0.tar.gz:

Publisher: release.yml on hafaio/homeotopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file homeotopy-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: homeotopy-0.6.0-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

Hashes for homeotopy-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 402e7fbc130182c32d4ac276ae4d3661ebdc519d2ced2183685d46b4b4df488c
MD5 c8db891876b6da43230cb3d496558854
BLAKE2b-256 a4b0aed03f3b69a434bc3b73efa16594b0ee3382f8ad1290e387da5f2cf36aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for homeotopy-0.6.0-py3-none-any.whl:

Publisher: release.yml on hafaio/homeotopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page