Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aadya940 authored Oct 31, 2024
1 parent 030bd3a commit 13390f4
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.


0 comments on commit 13390f4

Please sign in to comment.