From 43d4e8bb2f5a5e652aa1b68efa93ed1ddff567c2 Mon Sep 17 00:00:00 2001 From: Ivan Chernyshov Date: Wed, 4 Mar 2026 22:29:00 +0300 Subject: [PATCH 1/2] Fixes README formatting bug --- README.md | 1 + tools/gen_readme.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f3a2ac7..354d0f4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # pyvoro2 [![CI](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/ci.yml/badge.svg)](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/ci.yml) [![Docs](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/docs.yml/badge.svg)](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/docs.yml) [![PyPI](https://img.shields.io/pypi/v/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![Python Versions](https://img.shields.io/pypi/pyversions/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![License](https://img.shields.io/pypi/l/pyvoro2.svg)](https://github.com/IvanChernyshov/pyvoro2/blob/main/LICENSE) + **Documentation:** https://IvanChernyshov.github.io/pyvoro2/ diff --git a/tools/gen_readme.py b/tools/gen_readme.py index 50ebe72..002a949 100644 --- a/tools/gen_readme.py +++ b/tools/gen_readme.py @@ -353,7 +353,7 @@ def main() -> None: # Header + badges. parts.append( - f'# {pkg_name}\n\n' + badges + '\n' + f'**Documentation:** {docs_site}\n' + f'# {pkg_name}\n\n' + badges + '\n\n' + f'**Documentation:** {docs_site}\n' ) # Add pages. From a05aae2146b18ce05b8d8a3f79bb983a2c30141d Mon Sep 17 00:00:00 2001 From: Ivan Chernyshov Date: Sat, 14 Mar 2026 00:39:42 +0300 Subject: [PATCH 2/2] Moves to Delone Commons --- README.md | 24 ++++++++++++------------ mkdocs.yml | 6 +++--- pyproject.toml | 7 ++++--- src/pyvoro2/__about__.py | 2 +- tools/gen_readme.py | 2 +- 5 files changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 354d0f4..3aa5d0c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # pyvoro2 -[![CI](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/ci.yml/badge.svg)](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/ci.yml) [![Docs](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/docs.yml/badge.svg)](https://github.com/IvanChernyshov/pyvoro2/actions/workflows/docs.yml) [![PyPI](https://img.shields.io/pypi/v/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![Python Versions](https://img.shields.io/pypi/pyversions/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![License](https://img.shields.io/pypi/l/pyvoro2.svg)](https://github.com/IvanChernyshov/pyvoro2/blob/main/LICENSE) +[![CI](https://github.com/DeloneCommons/pyvoro2/actions/workflows/ci.yml/badge.svg)](https://github.com/DeloneCommons/pyvoro2/actions/workflows/ci.yml) [![Docs](https://github.com/DeloneCommons/pyvoro2/actions/workflows/docs.yml/badge.svg)](https://github.com/DeloneCommons/pyvoro2/actions/workflows/docs.yml) [![PyPI](https://img.shields.io/pypi/v/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![Python Versions](https://img.shields.io/pypi/pyversions/pyvoro2.svg)](https://pypi.org/project/pyvoro2/) [![License](https://img.shields.io/pypi/l/pyvoro2.svg)](https://github.com/DeloneCommons/pyvoro2/blob/main/LICENSE) -**Documentation:** https://IvanChernyshov.github.io/pyvoro2/ +**Documentation:** https://delonecommons.github.io/pyvoro2/ --- @@ -44,7 +44,7 @@ view_tessellation( ) ``` -Voronoi tessellation in a box +Voronoi tessellation in a box ### 2) Power/Laguerre tessellation (weighted Voronoi) @@ -128,14 +128,14 @@ implementation-oriented details. | Section | What it contains | |---|---| -| [Concepts](https://IvanChernyshov.github.io/pyvoro2/guide/concepts/) | What Voronoi and power/Laguerre tessellations are, and what you can expect from them. | -| [Domains](https://IvanChernyshov.github.io/pyvoro2/guide/domains/) | Which containers exist (`Box`, `OrthorhombicCell`, `PeriodicCell`) and how to choose between them. | -| [Operations](https://IvanChernyshov.github.io/pyvoro2/guide/operations/) | How to compute tessellations, assign query points, and compute probe (ghost) cells. | -| [Topology and graphs](https://IvanChernyshov.github.io/pyvoro2/guide/topology/) | How to build a neighbor graph that respects periodic images, and how normalization helps. | -| [Inverse fitting](https://IvanChernyshov.github.io/pyvoro2/guide/inverse/) | Fit power/Laguerre radii from desired pairwise plane positions (with optional constraints/penalties). | -| [Visualization](https://IvanChernyshov.github.io/pyvoro2/guide/visualization/) | Optional py3Dmol helpers for debugging and exploratory analysis. | -| [Examples (notebooks)](https://IvanChernyshov.github.io/pyvoro2/notebooks/01_basic_compute/) | End-to-end examples that combine the pieces above. | -| [API reference](https://IvanChernyshov.github.io/pyvoro2/reference/api/) | The full reference (docstrings). | +| [Concepts](https://delonecommons.github.io/pyvoro2/guide/concepts/) | What Voronoi and power/Laguerre tessellations are, and what you can expect from them. | +| [Domains](https://delonecommons.github.io/pyvoro2/guide/domains/) | Which containers exist (`Box`, `OrthorhombicCell`, `PeriodicCell`) and how to choose between them. | +| [Operations](https://delonecommons.github.io/pyvoro2/guide/operations/) | How to compute tessellations, assign query points, and compute probe (ghost) cells. | +| [Topology and graphs](https://delonecommons.github.io/pyvoro2/guide/topology/) | How to build a neighbor graph that respects periodic images, and how normalization helps. | +| [Inverse fitting](https://delonecommons.github.io/pyvoro2/guide/inverse/) | Fit power/Laguerre radii from desired pairwise plane positions (with optional constraints/penalties). | +| [Visualization](https://delonecommons.github.io/pyvoro2/guide/visualization/) | Optional py3Dmol helpers for debugging and exploratory analysis. | +| [Examples (notebooks)](https://delonecommons.github.io/pyvoro2/notebooks/01_basic_compute/) | End-to-end examples that combine the pieces above. | +| [API reference](https://delonecommons.github.io/pyvoro2/reference/api/) | The full reference (docstrings). | ## Installation @@ -198,7 +198,7 @@ Some parts of the implementation, tests, and documentation were developed with AI assistance (OpenAI ChatGPT). The maintainer reviews and integrates changes, and remains responsible for the resulting code and scientific claims. -Details are documented in the [AI usage](https://IvanChernyshov.github.io/pyvoro2/project/ai/) page. +Details are documented in the [AI usage](https://delonecommons.github.io/pyvoro2/project/ai/) page. ## License diff --git a/mkdocs.yml b/mkdocs.yml index 8e6c046..43cd27b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,8 +1,8 @@ site_name: pyvoro2 site_description: Python bindings for Voro++ (3D Voronoi and power/Laguerre tessellations) with periodic and topology utilities. -site_url: https://IvanChernyshov.github.io/pyvoro2/ -repo_url: https://github.com/IvanChernyshov/pyvoro2 -repo_name: IvanChernyshov/pyvoro2 +site_url: https://delonecommons.github.io/pyvoro2/ +repo_url: https://github.com/DeloneCommons/pyvoro2 +repo_name: DeloneCommons/pyvoro2 edit_uri: edit/main/docs/ theme: diff --git a/pyproject.toml b/pyproject.toml index 04749b0..694af4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,10 @@ classifiers = [ ] [project.urls] -Homepage = 'https://github.com/IvanChernyshov/pyvoro2' -Repository = 'https://github.com/IvanChernyshov/pyvoro2' -Issues = 'https://github.com/IvanChernyshov/pyvoro2/issues' +Homepage = 'https://github.com/DeloneCommons/pyvoro2' +Documentation = 'https://delonecommons.github.io/pyvoro2/' +Repository = 'https://github.com/DeloneCommons/pyvoro2' +Issues = 'https://github.com/DeloneCommons/pyvoro2/issues' diff --git a/src/pyvoro2/__about__.py b/src/pyvoro2/__about__.py index eb6a4a6..1c77f3d 100644 --- a/src/pyvoro2/__about__.py +++ b/src/pyvoro2/__about__.py @@ -5,4 +5,4 @@ """ # Keep this as a simple assignment so scikit-build-core can extract it via regex. -__version__ = '0.4.2' +__version__ = '0.4.2.post1' diff --git a/tools/gen_readme.py b/tools/gen_readme.py index 002a949..92454f8 100644 --- a/tools/gen_readme.py +++ b/tools/gen_readme.py @@ -35,7 +35,7 @@ from urllib.parse import quote -DEFAULT_GITHUB_REPO = 'IvanChernyshov/pyvoro2' +DEFAULT_GITHUB_REPO = 'DeloneCommons/pyvoro2' DEFAULT_REPO_REF = 'main' PROJECT_ROOT = Path(__file__).resolve().parents[1]