Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Property graph benchmark that creates graphs with specified node and edge numbers, supporting multiple output formats and visualization
Knows is a user-friendly tool for benchmarking property graphs. These graphs are crucial in many fields. Knows supports multiple output formats and visualization capabilities, making it a go-to tool for educators, researchers, and data enthusiasts.
Person
with unique IDs (N1, N2, N3, ..., Nn
).firstName
and lastName
properties with randomly assigned names.knows
and include a createDate
property with a random date.You can install knows via PyPI Docker or run it from the source code.
Installation:
pip install knows[draw]
The draw
installs a matplotlib
library for graph visualization. You can omit the [draw]
if you don't need visualization and svg
output generation.
Running Knows:
knows [nodes] [edges] [options]
Pull Image:
docker pull lszeremeta/knows
Run Container:
docker run --rm lszeremeta/knows [nodes] [edges] [options]
Build Image:
docker build -t knows .
Run Container:
docker run --rm knows [nodes] [edges] [options]
Clone Repository:
git clone git@github.com:lszeremeta/knows.git
cd knows
Install Requirements:
pip install -r requirements.txt
Execute Knows:
python -m knows [nodes] [edges] [options]
knows [nodes] [edges] [options]
To view all available options, use:
knows -h
nodes
: Specify the number of nodes in the graph. Selected randomly if not specified.edges
: Specify the number of edges in the graph. Selected randomly if not specified.-h
, --help
: Display the help message and exit the program.-f {graphml,yarspg,gexf,gml,svg,adjacency_list,multiline_adjacency_list,edge_list,json}
, --format {graphml,yarspg,gexf,gml,svg,adjacency_list,multiline_adjacency_list,edge_list,json}
:
Choose the format to output the graph. Default: graphml
.-d
, --draw
: Generate an image of the graph (default is no image). This option may not work in the Docker.knows
knows 100 70 -f yarspg > graph.yarspg
knows 100 50 > graph.graphml
knows 100 50 -f svg -d > graph.svg
knows 100 50 -f svg > graph.svg
knows -f json > graph.json
Your ideas and contributions can make Knows even better! If you're new to open source, read How to Contribute to Open Source and CONTRIBUTING.md.
Knows is licensed under the MIT License.
FAQs
Property graph benchmark that creates graphs with specified node and edge numbers, supporting multiple output formats and visualization
We found that knows demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.