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.1.tar.gz (50.1 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.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

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

Hashes for homeotopy-0.6.1.tar.gz
Algorithm Hash digest
SHA256 d7307d50ea2dfd0e3bbd38b788c95a096682cb0eff63f381b756c4ce41a7a1b3
MD5 aebe14385dd81dce9ac8e470fefb73d2
BLAKE2b-256 590d11983ff269aa45191fabda585687f574e08329f3eed8d339109da49b4e8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for homeotopy-0.6.1.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.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

Hashes for homeotopy-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 773fdaf5d523a08fcacf2778f306f4e08fb039e1729fc66a3b89ff207447ef80
MD5 1c46a73baf40001fb552729c6e301b43
BLAKE2b-256 037f9db309ff15ed915f85461cb516c0ffc1e51f9cf06862058cb9d919b2f4f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for homeotopy-0.6.1-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