Popular 3k python compressed graph

A compact and highly-efficient representation of the graph dataset, suited for scale-up analysis on high-end machines with large amounts of memory. The graph is compressed in Boldi-Vigna representation, designed to be loaded by the WebGraph framework, specifically using our swh-graph library.

Comments

The popular-3k-python teaser contains a subset of 2197 popular repositories tagged as being written in the Python language, from GitHub, GitLab.com, PyPI and Debian. The selection criteria to pick the software origins was the following:

  • the 580 most popular GitHub projects written in Python (by number of stars),
  • the 135 GitLab.com projects written in Python that have 2 stars or more,
  • the 827 most popular PyPI projects (by usage statistics, according to the Top PyPI Packages database),
  • the 655 most popular Debian packages with the debtag implemented-in::python (by "votes" according to the Debian Popularity Contest database)
Dataset size
15 GB
Export date
Teaser of
Full compressed graph [2021-03-23]
S3 URL
s3://softwareheritage/graph/2021-03-23-popular-3k-python/compressed/
Deprecated
False

Download the dataset

For Amazon S3 links, you'll need to install either awscli or swh.datasets.

aws s3 cp --recursive --no-sign-request s3://softwareheritage/graph/2021-03-23-popular-3k-python/compressed/ 2021-03-23-popular-3k-python-compressed
# OR
swh datasets download-graph 2021-03-23-popular-3k-python

Referencing the dataset

If you use this dataset for research purposes, please acknowledge Software Heritage as recommended in the publications page, which means doing the next two things:

  1. Add a footnote on the title page of your paper, formatted as: “This work was made possible by Software Heritage, the universal source code archive: https://www.softwareheritage.org”
  2. Cite the following papers:
    • Jean-François Abramatic, Roberto Di Cosmo, and Stefano Zacchiroli. Building the universal archive of source code. Commun. ACM, 61(10):29–31, 2018. URL: https://doi.org/10.1145/3183558, doi:10.1145/3183558. (BibTeX)
    • Roberto Di Cosmo and Stefano Zacchiroli. Software heritage: why and how to preserve software source code. In Shoichiro Hara, Shigeo Sugimoto, and Makoto Goto, editors, Proceedings of the 14th International Conference on Digital Preservation, iPRES 2017, Kyoto, Japan, September 25-29, 2017. 2017. URL: https://hdl.handle.net/11353/10.931064. (BibTeX)
    • Antoine Pietri, Diomidis Spinellis, and Stefano Zacchiroli. The software heritage graph dataset: public software development under one roof. In MSR 2019: The 16th International Conference on Mining Software Repositories, 138–142. IEEE, 2019. doi:10.1109/MSR.2019.00030. (BibTeX)

By accessing the datasets, you agree with the Software Heritage Ethical Charter for using the archive data, the terms of use for bulk access, and the Software Heritage principles for large language models.

To learn how to use the datasets read the documentation.