These are the scripts made for my article about working with data exported from my tool for exploring fediverse connections.
You can follow along with my article, but in short:
- Visit data.stefanbohacek.dev/projects/fediverse and log in with your fediverse account (see list of supported platforms).
- Use the "Download your data" button to download a CSV file with your data and save it as
connections.csv
. - Install dependencies.
pip install pandas matplotlib tldextract
- Run the
connections.py
script to generate aplatforms.csv
dataset with a breakdown of fediverse platforms by popularity of your connections' servers.
python connections.py
- Use the
platforms.py
script to generate a bar chart fromplatforms.csv
. (Seeplatforms.png
inside theexample-output
folder.)
python platforms.py
- Make a copy of the
connections.csv
file calleddomains.csv
and remove theconnections
andpercentage
columns. - Run the
domains.py
script to generatedomain-info.csv
with dates of registration of each domain. Make sure you havewhois
available in your terminal.
python domains.py
- Use the
domain-info.py
script to generate a scatter plot chart fromdomain-info.csv
.
python domain-info.py
BONUS: You can use the accounts.py
script to download information about the number of accounts on each server.
python accounts.py