Skip to main content

PyGraph_DFS Package

Overview

PyGraph_DFS is a Python package that provides a straightforward and efficient way to perform Depth-First Search (DFS) on a graph. It is a versatile tool that can be used in various scenarios where graph traversal and exploration are necessary.

Installation

You can install PyGraph_DFS using pip:

pip install PyGraph_DFS

Usage

After installing the package, you can use it in your Python scripts as follows:

from PyGraph_DFS import GraphDFS

# Create a graph instance
my_graph = GraphDFS()

# Add edges to the graph
my_graph.add_edge("A", "B")
my_graph.add_edge("B", "C")
my_graph.add_edge("B", "D")
my_graph.add_edge("D", "E")

# Perform Depth-First Search (DFS)
visited_nodes = my_graph.dfs("A")

# Print the visited nodes
print(visited_nodes)

Example Output

The above code will produce the following output:

['A', 'B', 'C', 'D', 'E']

License

This project is licensed under the MIT License. See the LICENSE.

Metadata

Release files for PyGraph-DFS 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 PyGraph-DFS 0.1
File Size Uploaded Provenance Actions
PyGraph_DFS-0.1.tar.gz 2.5 kB Without provenance Details for PyGraph_DFS-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyGraph-DFS 0.1
File Interpreter ABI Platform Actions
PyGraph_DFS-0.1-py3-none-any.whl Python 3 none any Details for PyGraph_DFS-0.1-py3-none-any.whl

Total release size: 5.4 kB

Release files / PyGraph_DFS-0.1.tar.gz

Download URL PyGraph_DFS-0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b271d82ba3f0d9970ab7b237cba9e3ae8f2810f41128b37af6f63ed7dd70f365
BLAKE2b-256 checksum
How to use checksums
3c1210be2ce0fff403e3b9da4554da561f06b263c88d96d5ac2ad0a1cdfc0bb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / PyGraph_DFS-0.1-py3-none-any.whl

Download URL PyGraph_DFS-0.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f5e99a085bf53d3ada52b6fafa7098f414246b45133faf418ac7d86539c8bb3
BLAKE2b-256 checksum
How to use checksums
8db782e2c65bc61ebc78cafe6a12d2101a007d0beac69442aa2edc919738d8b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for PyGraph-DFS 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.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