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.5a1

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.5a1
File Size Uploaded Provenance Actions
ringity-0.5a1.tar.gz 26.9 MB With provenance Details for ringity-0.5a1.tar.gz

Built distribution (wheel)

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

Total release size: 27.0 MB

Release files / ringity-0.5a1.tar.gz

Download URL ringity-0.5a1.tar.gz
Size 26.9 MB
Tags Source
SHA-256 checksum
How to use checksums
fbc62ecbd4f80653b5f61e4fa232455fe763ed06d1a6582304d7dad44b0df6a1
BLAKE2b-256 checksum
How to use checksums
5c850ed0a073b041bd0196adb5df2dc6e13da99574af0128ea63dc010933c151
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 Oct 19, 2026.

Transparency log

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

Download URL ringity-0.5a1-py3-none-any.whl
Size 150.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c56a63c61f0ff75e8122cf20b132f15c56223bfd3212f7e3f0a831adbd4d1984
BLAKE2b-256 checksum
How to use checksums
aba42ba2a8f4bc18e9da981ed352c7196d11b3253544295a3f41d08a2eff7a67
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 Oct 19, 2026.

Transparency log

Security for ringity 0.5a1

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ringity-0.5a1.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 Oct 19, 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
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