geomloss 0.3.1


pip install geomloss

  Latest version

Released: May 05, 2026

Project Links

Meta
Author: Jean Feydy
Requires Python: >=3.8

Classifiers

Development Status
  • 2 - Pre-Alpha

Intended Audience
  • Developers

Topic
  • Scientific/Engineering

Operating System
  • POSIX :: Linux
  • MacOS :: MacOS X
  • Microsoft :: Windows

Programming Language
  • Python :: 3 :: Only

Geometric loss functions between point clouds, images and volumes

Please check our website!

Packaging and Release Checklist

This project now uses pyproject.toml with setuptools (PEP 517).

  1. Clean previous build artifacts:
rm -rf build dist geomloss.egg-info
find . -type d -name "__pycache__" -prune -exec rm -rf {} +
  1. Build distribution artifacts:
python -m pip install --upgrade build
python -m build
  1. Inspect generated metadata (optional quick check):
python - <<'PY'
import zipfile
from pathlib import Path
wheel = max(Path("dist").glob("geomloss-*.whl"), key=lambda p: p.stat().st_mtime)
with zipfile.ZipFile(wheel) as zf:
	meta = zf.read(next(n for n in zf.namelist() if n.endswith(".dist-info/METADATA"))).decode()
for line in meta.splitlines():
	if line.startswith(("Name:", "Version:", "Requires-Python:", "Requires-Dist:", "Provides-Extra:")):
		print(line)
PY
  1. Test local installs:
python -m pip install .
python -m pip install ".[full]"
  1. Smoke-test import:
python -c "import geomloss; print(geomloss.__version__)"

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
numpy
scipy
torch