Python Projects for SEO (Best Resources)

If you are keen to learn Python, here are a few project ideas and Python learning resources to help you improve your Python skills.

Make sure that you watch my Python SEO guide with even more resources.

Python Free Learning Resources

NLP with Spacy

Subscribe to my Newsletter

Kaggle Learning Resources

Datacamp’s Free introduction to Python

Elias Dabbas’ Advertools

In honour of the late Hamlet Batista’s massive contribution to the community.

Hamlet Batista’s Contributions


Python SEO Projects

There are so many Python SEO projects that we can do, it is simply crazy.

With the community getting bigger with inspiring members like Hamlet Batista, Charly Wargnier, JR Oakes, the number of cool stuff getting out is growing at a fast pace.

I don’t have time to do it all. Thus, I am making my bucket list of Python projects that I want to try.

Running a Canonical Audit in Python

Simone de Palma wrote a great article on how to spot canonical issues using Python.

A quick introduction to Transformer Language Models

Andrea Volpini made a mind-blowing natural language processing presentation at BrightonSEO about transformer language model. SEO Automation Using GPT3 and Transformer Based Language Models Slides / Code

Automate Your SEO Indexing Strategy With Python and WordPress

Nadeem Haddadeen went crazy technical in this tutorial where he manages the indexation of his blog posts using Python connecting straight to the WordPress database.

Using Python to Find the Shortest Degree of Separation Between Webpages Using Screaming Frog and the BFS Algorithm

Eric Heiken built an impressive tutorial where he measures the degrees of separation between every page on a site using Screaming Frog.

Automatically generate subcategories from your products using Python

LeeFoot now has a blog! Here is the post to the work he presented at Brighton SEO.

How to Create an Entity Relation Diagram with Information Extraction with Python for SEO?

How to create a knowledge graph with Python?

Data Science SEO and Visualization: Retrieving SERP, Crawling Landing Pages, and Analyzing Google Algorithms with Python

Tutorial by one of my favourite SEOs, Koray Tuğberk GÜBÜR. How to Retrieve Google SERP with regular periods, animate the differences to see Google Search Engine’s preference and experiment algorithms. 

Querycat: An Unbelievable Tool Built by JR Oakes

Stand on the shoulders of a giant using JR Oakes‘s query classification library. (Locomotive agency)

Courses by James A Phoenix

James A Phoenix has built an interesting set of courses to help learning SEO with Python.

  • Keyword de-duplication
  • Working with CSVs
  • Google Sheets + Google Cloud
  • Images
  • Screaming Frog Automation
  • Web Scraping

Data Science and Visualization for SEO: Retrieving SERP, Crawling Landing Pages, and Analyzing Google Algorithms with Python

In this article, Koray uses Semantic Search Queries to understand the topical coverage and authority of multiple domains. Here what you’ll learn:

  • Retrieving all of the related Search Engine Result Pages (SERP)
  • Crawling landing pages
  • Blending the crawl data
  • Finding different correlations and insights for the SEO via Data Science.

Huge congratulations to Koray for putting this up.

Semantic Keyword Clustering in Python

In this python project, Stefan Neefischer shares the code behind the keyword grouping tool that he built with Python.

NLP Free App Topic Graphic Mapper to be Used Without Python Knowledge

Charly Wargnier built a fantastic app to help you leverage Wikipedia data to create topic maps using NLP.

Massive Series of Tutorials on Internal Linking With Python

Justin Briggs is coming big with this advanced series on internal linking at a large scale with Python.

S3 Link Graph

Python Script: SEO Content Analysis of your competitor

Stefan Neefischer analyses the competition sitemap word frequency. Good for large scale competitor intel.

SEO Content Analysis with n-Grams

Flask App: People Also Asked Questions, Keywords Suggestions and Trends

Konrad Burchardt made a fantastic open-source Flask App that combines People Also Asked Questions, Keywords Suggestions and Google Trends data to help with keyword research. The source code is available on Github. Good way to start learning Flask and NLP.


Paul Shapiro’s Bundle of Python Script (Mozcon 2019)

Some projects: Determine domain availability based on Moz DA and Screaming Frog. Extract Entities from Search Results using Google NLP for Keyword Research Opportunities. Automatic 301 Redirects with SpaCy.

SemRush Keywords Research With Python

Derek Hawkins shares insights on using the SEMRush API for keywords research.

No alt text provided for this image

Detect Seasonality with PyTrends

Alessio Nittoli has come up with an interesting seasonality detector with Pytrends.

Predict search Clicks Using Search Console Data

Akash Yede shows uses fbprophet how to predict clicks using Google Search Console Data.

How to use Google Knowledge Graph API via Python and Advertools?

Koray Tuğberk GÜBÜR uses Elias Dabbas‘ Advertools to query the Google Knowledge Graph API with Python.

SEO Visibility Dashboard

Marc van Herrikhuijzen made a #RSTwittorial with Ranksense using Google Analytics and Google Search Console data to create an SEO visibility dashboard.

How To Perform DNS Reverse Lookup For Verifying Googlebot Via Python

Koray Tuğberk GÜBÜR shows how to do a DNS Reverse Lookup to verify the Googlebot IPs.

SEO Guide to Creating a Website Uptime Monitor Using Python

Greg Bernhardt shows us how to create and automate a simple uptime monitor using Python and MySQL.

Reorganizing XML Sitemaps with Python for Fun & Profit

Hamlet Batista is using Machine Learning to build topical sitemaps.

How to Use Python to Monitor & Measure Website Performance

Ruth Everett is showing us how to use the Pagespeed API (PSI) to automate performance metrics.

Google Search Console Clustering

Vincent Terrasi categorizes Google Search Console queries semantically using BERT.

Screaming Frog Internal Link Analysis

Britney Muller is making an internal link analysis from Screaming Frog data using Python.

Export internal link csv to your local computer

Saving Bing Search Query Data from the Bing Webmaster Tools’ API

Martijn Scheijbeler showing how to use Python with the Bing Webmaster Tools API.

An SEO Guide for Automating GTmetrix with Python

In another fantastic post, Greg Bernhardt shows us how to automate GTmetrix using Python and store the performance data in MySQL.

An SEO Guide for Automating Screaming Frog with Python

Exciting tutorial to automate the most fantastic SEO tool there is… Screaming Frog.

Get the most out of PageSpeed Insights API with Python

Daniel Heredia Mejias has made a great tutorial using the PageSpeed Insights API.

The Comprehensive Guide To Google Sheets With Python

In this video tutorial, James Phoenix is exploring how to use google sheets with python.

This is it for my list of Python for SEO resources. If you have any resources that I might have missed. Please share it to me via LinkedIn or Twitter.

4.5/5 - (2 votes)