{# page.html — replaces Sphinx's basic/page.html for all content pages. For the index page (pagename == 'index') this renders the full marketing landing page (scikit-learn style), bypassing the standard RST body. For all other pages it falls through to the normal Sphinx body block. #} {% extends "layout.html" %} {# Required: put RST-rendered HTML into the body block for non-index pages. #} {% block body %}{{ body }}{% endblock %} {# ── Suppress right TOC on the landing page ─────────────────── #} {% block docs_toc %} {% if pagename != 'index' %}{{ super() }}{% endif %} {% endblock %} {# ── Main content area ───────────────────────────────────────── #} {% block docs_main %} {% if pagename == 'index' %} {# ═══════════════════════════════════════ LANDING PAGE ═══════════ #}
Polymer topology toolkit
A Python package for polymer topology analysis. Detect knots, links, and lassos; compute polynomial invariants; find minimal surfaces; and visualize complex 3D structures.
pip install topoly
Capabilities & Output examples
From simple knot detection to full topological analysis of complex polymer structures. Each tile links to the documentation and to a live code example in our interactive notebook.
Identify knots, links, lassos, theta-curves, and handcuffs in polymer chains. Supports all major topology types.
Compute a wide range of topological invariants to uniquely characterize polymer topology.
Find the minimal surface spanning a loop using Seifert surface algorithms, useful for lasso topology analysis.
Reduce the complexity of a polymer chain while preserving its topological type — ideal for pre-processing large structures.
Generate knot fingerprint maps for protein chains (KnotProt-style), showing topology over chain sub-sequences.
Analyse spatial graphs (theta-curves, handcuffs) and generate random polymer structures for statistical topology studies.
Supports Python 3.6 – 3.13. Distributed as pre-compiled
binary wheels on PyPI (no compiler needed).
GPU (CUDA) acceleration available for the Alexander polynomial on Linux and Intel-based Mac.
Getting started
Install Topoly from PyPI — no compiler or build tools required.
Automatically installed by pip:
Documentation
Documentation is available for each released version of Topoly.
{{ v.description | default('') }}
Research
Topoly is developed at the Interdisciplinary Laboratory of Biological Systems Modelling, University of Warsaw, Warsaw, Poland.
Questions and remarks: jsulkowska@cent.uw.edu.pl