Calculates ring scores for various data structures
Project description
ringity is a Python package to analyze various data structures with respect to their ring structure.
Docs: “coming soon”
🚀 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
🐞 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ringity-0.4a4.tar.gz.
File metadata
- Download URL: ringity-0.4a4.tar.gz
- Upload date:
- Size: 26.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e64ce7315c733a40244d77d96eb59e6fecaf371309a4461ef0b6aad7e828e55d
|
|
| MD5 |
8a8df58d910e33b1936f9f7f59d04fc1
|
|
| BLAKE2b-256 |
423488df6058f22bdd486347be86f14c053fae10eaf7e2ac3af896682293365a
|
Provenance
The following attestation bundles were made for ringity-0.4a4.tar.gz:
Publisher:
release.yml on ClusterDuck123/ringity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ringity-0.4a4.tar.gz -
Subject digest:
e64ce7315c733a40244d77d96eb59e6fecaf371309a4461ef0b6aad7e828e55d - Sigstore transparency entry: 692811822
- Sigstore integration time:
-
Permalink:
ClusterDuck123/ringity@f58aebace0b914f94ff1a79035981c61077735e5 -
Branch / Tag:
refs/tags/v0.4a4 - Owner: https://github.com/ClusterDuck123
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f58aebace0b914f94ff1a79035981c61077735e5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ringity-0.4a4-py3-none-any.whl.
File metadata
- Download URL: ringity-0.4a4-py3-none-any.whl
- Upload date:
- Size: 150.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31675728a08a996c2b86cf36a1dbd17d8a00149fcb68546feb8fdf663377d447
|
|
| MD5 |
b839e46be406b32f029fdac1829f4f0a
|
|
| BLAKE2b-256 |
45aa8f69c4c9937d2d540a4babeb676d4551e54020d66d0ef2d0288086b8ffdf
|
Provenance
The following attestation bundles were made for ringity-0.4a4-py3-none-any.whl:
Publisher:
release.yml on ClusterDuck123/ringity
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ringity-0.4a4-py3-none-any.whl -
Subject digest:
31675728a08a996c2b86cf36a1dbd17d8a00149fcb68546feb8fdf663377d447 - Sigstore transparency entry: 692811843
- Sigstore integration time:
-
Permalink:
ClusterDuck123/ringity@f58aebace0b914f94ff1a79035981c61077735e5 -
Branch / Tag:
refs/tags/v0.4a4 - Owner: https://github.com/ClusterDuck123
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f58aebace0b914f94ff1a79035981c61077735e5 -
Trigger Event:
push
-
Statement type: