GabrielGraph
A small class to create Gabriel Graphs
Installation
You can install GabrielGraph via pip:
pip install GabrielGraph
To install latest development version :
pip install git+https://github.com/GuignardLab/GabrielGraph.git
Tyical use
from gabrielgraph import build_gabriel_graph
import numpy as np
np.random.seed(0)
point_ids = np.arange(10)
point_positions = np.random.random((10, 3))
gg = build_gabriel_graph(point_ids, point_positions)
gg[0] # {1, 2, 3, 6, 7, 9}
gg = build_gabriel_graph(point_ids, point_positions, "adj-mat") # coo sparse array
gg = gg.todok() # to convert to dictionary of keys sparse array
gg[0, 1] # True
gg[0, 4] # False
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the MIT license, "GabrielGraph" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
This library was generated using Cookiecutter and a custom made template based on @napari's cookiecutter-napari-plugin template.
Metadata
Release files for GabrielGraph 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gabrielgraph-0.0.6.tar.gz | 5.3 kB | Without provenance | Details for gabrielgraph-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gabrielgraph-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for gabrielgraph-0.0.6-py3-none-any.whl |
Total release size: 10.8 kB
Release files / gabrielgraph-0.0.6.tar.gz
| Download URL | gabrielgraph-0.0.6.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19efdbc5909f44ce4f2d6e6552e48d6efb2073f72949e1ca18ef87e4644183a3
|
|
BLAKE2b-256 checksum How to use checksums |
07c537839cc938424551be2b4dd39039fc2c285a0c32279dcc072b778d670720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / gabrielgraph-0.0.6-py3-none-any.whl
| Download URL | gabrielgraph-0.0.6-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3422336dafd6c15278e120fdd119bb308f0571dce76c0a551a2594654106c92
|
|
BLAKE2b-256 checksum How to use checksums |
41a29b85e66ccbed675e5dcc8d352e3fe1a8e5e11180949702d1467d7bf0aea8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for GabrielGraph 0.0.6
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.