Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ringity

DOI License Version

ringity is a Python package to analyze various data structures with respect to their ring structure.

🚀 Quick Examples

Ring Score of Networks

Calculate ring score as described in [1]:

import ringity as rng
import networkx as nx
G = nx.Graph()
G.add_edges_from([(i%100,(i+1)%100) for i in range(100)])
dgm = rng.pdiagram(G)   # constructs a persistence diagram from G
dgm.ring_score()        # -> 1

[1]: Paper not available yet.

Ring Score of Point Clouds

Calculate ring score as described in [2]:

import numpy as np
import ringity as rng
t = np.linspace(0, 2*np.pi, 100)
X = np.array((np.cos(t),np.sin(t))).T
rng.ring_score(X)     # -> 1

[2]: Paper not available yet.

📦 Install

Install the latest version of ringity:

$ pip install ringity

👋 Used ringity in your work?

Used ringity in a paper, preprint, thesis, talk, or project? We’d love to hear about it!

Let us know by opening an issue: https://github.com/ClusterDuck123/ringity/issues

🐞 Bugs

Please report any bugs that you find here. Or, even better, fork the repository on GitHub and create a pull request. All inputs, suggestions and changes are more than welcome!

📄 License

MIT — see LICENSE.

📚 How to cite

DOI: 10.5281/zenodo.4908926

Metadata

Release files for ringity 0.5a0

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

Source distribution (sdist)

Source distribution for ringity 0.5a0
File Size Uploaded
ringity-0.5a0.tar.gz 26.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ringity 0.5a0
File Interpreter ABI Platform
ringity-0.5a0-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 MB

Release files / ringity-0.5a0.tar.gz

Download URL ringity-0.5a0.tar.gz
Size 26.9 MB
Tags Source
SHA-256 checksum
How to use checksums
09f5a19cf04ed41c8da4d21bcdf55ed9ba7bc45d3ad1ffefae61f8bc69b57ce7
BLAKE2b-256 checksum
How to use checksums
7618c98e5e08ecb9528f3e243b067c2f41087b2c9ce114be646b01b8cf701a62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 14, 2026.

Transparency log

Release files / ringity-0.5a0-py3-none-any.whl

Download URL ringity-0.5a0-py3-none-any.whl
Size 150.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57bca338fab50c2631791e557dbfdebdfa54eb14a2b9f2029430acb802e32042
BLAKE2b-256 checksum
How to use checksums
6a379dc32ac7ff6c2a6d3cd170e615cf2fff2059c81b0f859f2814173707d929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5a0 This release

2 release files

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