Added Interface for Netzschleuder .gml.zst files by AdityaChaubeyIITM · Pull Request #818 · igraph/python-igraph · GitHub
Skip to content

Added Interface for Netzschleuder .gml.zst files#818

Open
AdityaChaubeyIITM wants to merge 8 commits intoigraph:mainfrom
AdityaChaubeyIITM:new-feature
Open

Added Interface for Netzschleuder .gml.zst files#818
AdityaChaubeyIITM wants to merge 8 commits intoigraph:mainfrom
AdityaChaubeyIITM:new-feature

Conversation

@AdityaChaubeyIITM
Copy link
Copy Markdown

@AdityaChaubeyIITM AdityaChaubeyIITM commented Mar 22, 2025

I have added a new file repositories.py under src/igraph/io/ , for the creation of graph from netzschleuder.
It lets the user just specify the name of the dataset and get the single network in the dataset as a result if there is only one network in the dataset, otherwise it asks for the sub-network's name as well.
It temporarily downloads the .gml.zst file, decompresses it and then creates a graph out of the data. The graphs scope is limited to the data presentation in .gml files in netzschleuder.
This is supposed to be an attempt to open discussion on methods to import netzschleuder dataset via '.gml' datatype files. It can be further modified to take care of the issues arising due to incorrect handling of edge attributes in .gml files.

  • By submitting this pull request, I assign the copyright of my contribution to The igraph development team.

Changed the API call to "urllib" instead of "requests" to avoid import errors in the build
@szhorvat
Copy link
Copy Markdown
Member

szhorvat commented Mar 22, 2025

@AdityaChaubeyIITM
Copy link
Copy Markdown
Author

@stale stale Bot added the stale label Jul 20, 2025
@igraph igraph deleted a comment from stale Bot Jul 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants