Skip to main content

Subgraph

Basic usage:

from subgraph.simplegraph import Subgraph, Subnode, SubgraphNode

subgraph = Subgraph()
node1 = Subnode("simple1", num_outputs=1)
node2 = Subnode("simple2", num_inputs=1)
subgraph.add_node(node1)
subgraph.add_node(node2)
subgraph.link_nodes(node1, 0, node2, 0)

json_str = subgraph.to_json()
restored_subgraph = Subgraph.from_json(json_str)

Metadata

Release files for subgraph 0.0.1

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

Source distribution (sdist)

Source distribution for subgraph 0.0.1
File Size Uploaded Provenance
subgraph-0.0.1.tar.gz 3.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / subgraph-0.0.1.tar.gz

Download URL subgraph-0.0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
789ce46aa5dd041b12bd0a236f9cf7621f077cd3a3099e99042982055e7f5d1e
BLAKE2b-256 checksum
How to use checksums
5afc5386d9a2e2ab47e62d7b106ea9f84448479b6ed6bda7f408d0f46456727f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / subgraph-0.0.1-py3-none-any.whl

Download URL subgraph-0.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
840f9185bca854a327dd5da59118096876688186699603c9bc9ae007e7b4af05
BLAKE2b-256 checksum
How to use checksums
f677d2470d3a55d60194a285b95caf068f9f63d6ad6be12607af6d0daadc7fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for subgraph 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 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