Skip to main content

py-topolys

Native Python port of the Topolys non-manifold topology library.

Status: Alpha. Geometry, transformations, topology entities, model factories, cascading edge splits, serialization, graph export, and the full Ruby scenario suite are implemented.

Installation

Install the tagged release directly from GitHub:

python -m pip install "py-topolys @ git+https://github.com/canmet-energy/py-topolys.git@v0.1.0"

For requirements.txt:

py-topolys @ git+https://github.com/canmet-energy/py-topolys.git@v0.1.0

For pyproject.toml:

dependencies = [
    "py-topolys @ git+https://github.com/canmet-energy/py-topolys.git@v0.1.0",
]

Usage

import py_topolys

model = py_topolys.Model()
points = [
    py_topolys.Point3D(0, 0, 0),
    py_topolys.Point3D(1, 0, 0),
    py_topolys.Point3D(1, 1, 0),
    py_topolys.Point3D(0, 1, 0),
]
wire = model.get_wire(model.get_vertices(points))
face = model.get_face(wire, [])

Port Baseline

This port targets Ruby Topolys 0.6.2 at canmet-energy/topolys@33b68df. See UPSTREAM.md for provenance and update policy, or review changes since the baseline.

The pinned Ruby suite passes all 41 examples. CI regenerates Ruby observations and compares them with the Python parity fixtures on every change.

See CHANGELOG.md for release history and RELEASE.md for the verification and publishing process.

Metadata

Release files for py-topolys 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-topolys 0.1.0
File Size Uploaded Provenance Actions
py_topolys-0.1.0.tar.gz 25.3 kB With provenance Details for py_topolys-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-topolys 0.1.0
File Interpreter ABI Platform Actions
py_topolys-0.1.0-py3-none-any.whl Python 3 none any Details for py_topolys-0.1.0-py3-none-any.whl

Total release size: 41.2 kB

Release files / py_topolys-0.1.0.tar.gz

Download URL py_topolys-0.1.0.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2d2a501f803fd9235d044374d39a02b3d7b1b445f21c5ef1cb80b8c6c1f21372
BLAKE2b-256 checksum
How to use checksums
323668428071f3245df35ea6f1f31ae8697ddf772bc4a08bb9d3004de4f87a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Release files / py_topolys-0.1.0-py3-none-any.whl

Download URL py_topolys-0.1.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0f2f6e75ba92251d777a69a25f2d98f924c0325a64417a7cd9b4e9c5d560fb8
BLAKE2b-256 checksum
How to use checksums
e1ad49c71b431ae37909568b369e9c7079ef1347da4ae94f586ad0584ba27d73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

Security for py-topolys 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for py_topolys-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page