Skip to main content

SCINET

Build Author License PyPi Python

Graph theory abstract data type.

scinet.Graph is designed upon the graph (abstract data type) definition and functions as a bare bones skeletal graph data mapping, containing abstract vertices and edges.

Includes DiGraph and MultiGraph support, with HyperGraph capabilities.

Installation

  1. Install Python >= 3.8
  2. Install scinet
$ pip install scinet

Usage

Import scinet

import scinet as sn

Create graph

G = sn.Graph()

Manipulate data

  • add_vertex
G.add_vertex(vertex := "foo")
  • add_edge

Edges must be assigned using hashable keys so that no name conflicts exist between source_vertex and target_vertex edges

key = G.add_edge(source_vertex := "foo", target_vertex := "bar"[, edge := "foobar"])
  • remove_vertex
G.remove_vertex(vertex := "foo")
  • remove_edge
G.remove_edge(source_vertex := "foo", target_vertex := "bar"[, edge := "foobar"])")
  • adjacent
(target_vertex := "bar") in G[(source_vertex := "foo")]
>>> True
  • neighbors
set(G[(vertex := "foo")])
>>> { "neighbor_1", "neighbor_2", ... }

See docs for further details.

Contributors

  • JoshGoA - Main contributor - GitHub

TODO

  1. Graph visualization

Create "matplotlib.pyplot" supported API

Metadata

Release files for scinet-JoshGoA 0.4.9

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

Source distribution (sdist)

Source distribution for scinet-JoshGoA 0.4.9
File Size Uploaded Provenance
scinet-JoshGoA-0.4.9.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for scinet-JoshGoA 0.4.9
File Interpreter ABI Platform
scinet_JoshGoA-0.4.9-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / scinet-JoshGoA-0.4.9.tar.gz

Download URL scinet-JoshGoA-0.4.9.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d61e006aa404b24c3cf9a09a4abf951bf5e52e1f2f1feb573d4003b98acf301b
BLAKE2b-256 checksum
How to use checksums
276078dab1684611fb6a6225e5f8fa5d3cda263a45caaa326b3d5dc97891a60c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Release files / scinet_JoshGoA-0.4.9-py3-none-any.whl

Download URL scinet_JoshGoA-0.4.9-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
890edc99d62ed1a4d2794f092499d3d060272b60581910c815d0b55fd482e36a
BLAKE2b-256 checksum
How to use checksums
e99b6c0c9599b50b26af1ac3e98460830e38e993b6300958d91054bc90aa956d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

Security for scinet-JoshGoA 0.4.9

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.

Release history Release notifications | RSS feed

This release

0.4.9 This release

2 release files No 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