Skip to main content

Interface to download and interact with Fedivertex, the Fediverse Graph Dataset

Project description

Python API to interact with Fedivertex, the Fediverse Graph Dataset

This Python package provides a simple interface to interact with Fedivertex: https://www.kaggle.com/datasets/marcdamie/fediverse-graph-dataset/data. Our package automatically downloads the dataset from Kaggle and loads graphs in a usable format (i.e., NetworkX).

The Fediverse Graph dataset provides graphs for different decentralized social media. These graphs represents the interactions between servers in these decentralized social media. The graph type corresponds to the type of interactions modelled by the graph. Finally, the dataset provides the graphs obtained on different dates, so the users can analyze the evolution of the interactions.

Refer to this repository to discover more about the data acquisition.

Extracting a graph

Three pieces of information are necessary to select a graph in the datatset: the software/social media, the graph type, and the date.

We provide graphs using the NetworkX format.

Example:

    from fedivertex import GraphLoader

    loader = GraphLoader()
    graph = loader.get_graph(software="peertube", graph_type="follow", date="20250324")
    graph = loader.get_graph(software="peertube", graph_type="follow") # Loads the most recent graph

In each graph, we also provide metadata in the attributes of the graph nodes.

Utility functions

Finally, we provide a few utility functions:

    from fedivertex import GraphLoader

    loader = GraphLoader()
    loader.list_all_software()
    loader.list_graph_types("peertube")
    loader.list_available_dates("peertube", "follow")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fedivertex-0.9.9.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fedivertex-0.9.9-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file fedivertex-0.9.9.tar.gz.

File metadata

  • Download URL: fedivertex-0.9.9.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fedivertex-0.9.9.tar.gz
Algorithm Hash digest
SHA256 444a13985a7a530a910da7af452d70abfbd6c4b8100c3e27d91fec1681c5076b
MD5 3d35fd3c8bc0b5c563923547d05199d0
BLAKE2b-256 f8a51450edb84d8e72da63651c0cc1eb29dc6846eb71d60528f2386661e7b845

See more details on using hashes here.

Provenance

The following attestation bundles were made for fedivertex-0.9.9.tar.gz:

Publisher: python-publish.yml on MarcT0K/Fedivertex-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fedivertex-0.9.9-py3-none-any.whl.

File metadata

  • Download URL: fedivertex-0.9.9-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for fedivertex-0.9.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3b7f29f47e9b7223861dd61903e0637bccb9b3084bea96173efefecd0f5a1570
MD5 57d797fcd2339958d2c2b6a0ac6fd97b
BLAKE2b-256 7120efb9430014e2235190cd85babd7aa3f3107d836920c8e88e02e807ca3d02

See more details on using hashes here.

Provenance

The following attestation bundles were made for fedivertex-0.9.9-py3-none-any.whl:

Publisher: python-publish.yml on MarcT0K/Fedivertex-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page