From 13390f45f74829f73ec8f30a2225389bd382587e Mon Sep 17 00:00:00 2001 From: Aadya Chinubhai <77720426+aadya940@users.noreply.github.com> Date: Thu, 31 Oct 2024 20:12:35 +0530 Subject: [PATCH] Update README.md --- README.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/README.md b/README.md index 35c31f2..0058823 100644 --- a/README.md +++ b/README.md @@ -27,21 +27,6 @@ Data Source: https://github.com/pyupio/safety-db ### Examples -``` -from pygraas import DependencyGraph, VulnerabilityGraph - -# Dependency Analysis -g = DependencyGraph("chainopy", "https://github.com/aadya940/chainopy") -g.build_graph() -g.visualize_graph() -nodes = g.get_nodes() -print(nodes) - -# Vulnerability Analysis -v = VulnerabilityGraph(g) -v.build_vulnerability_graph() -vulnerable_nodes = v.get_vulnerables() -print(vulnerable_nodes) -``` +Refer `examples/test.ipynb`.