Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.