Time to speed-up your SEO workflows!
In this talk, I will show you how to:
+ Build simple Python Web apps to automate your tasks via the mighty Streamlit framework
+ Deploy them in one click and for free, so you can share them with your teammates (or the word!)
I'll finish the talk with some exciting use cases!
15. 1. A (mini) intro to PYTHON
2. Why Streamlit?
3. A look at Streamlit functions
4. Building our 1st app
5. More advanced examples
6. More tips to help you start
Agenda
@DataChaz #BrightonSEO
47. ML for SEO -> 🔥
● Content generation via GPT-3
● Keyword/Intent classification via Deep Learning
● Anomaly & opportunity detection via clustering
● Forecast data series
● Predict *some* ranking factors
@DataChaz #BrightonSEO
52. Ubiquitous. And for good reasons!
• Instant feedback
• Access to the whole Python eco-system
• Free GPU = Massive horsepower for
machine learning computation!
52
@DataChaz #BrightonSEO
61. Notebooks = bad coding habits!
• Little for exception handling!
• Messed-up hidden state
• Don’t play nice w. CI & source control
• …. I’ll stop there!
@DataChaz #BrightonSEO
62. What Notebooks are good for!
• Scribbling
• Explore your data
• Document your processes
• Prototyping models
@DataChaz #BrightonSEO
74. Cache data = skip redundant compute
• Decorate any function
• Streamlit will cache its results!
• Can be dataframes transformations, CSV load etc.
@DataChaz #BrightonSEO
75. Big data ready! 🙌
• Connect to databases
• Connect to Bigquery, Azure, AWS
• Big data libraries like PySpark
@DataChaz #BrightonSEO
130. • Uses advanced fuzzy matching techniques
• Map keywords to your crawl’s URLs
• Use the code and tweak it for your own projects! 🎉
@DataChaz #BrightonSEO
132. ● Upload a Screaming Frog crawl
● Paste keywords (e.g., internal
search terms)
● Auto-map them to URLs
● Get accuracy scores
● Download results to CSV
133. Install files on local machine
● Create a folder on your local machine
● Drop the downloaded files in that folder
● Head to that folder via cd
● pip install streamlit polyfuzz
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
137. Add a CSV uploader
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
138. Add a text area for keywords
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
139. Apply the fuzzy matching function
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
140. Add a formatted table
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
141. Add a Download button
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
142. Here and there, I’ve also added…
@DataChaz #BrightonSEO
● Some headers
● Some warning messages
● Some exceptions via ‘Try/Except’
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
143. Type ‘streamlit run app.py’ in
your command prompt
Voila! 🙌
@DataChaz #BrightonSEO
https://github.com/CharlyWargnier/KeywordMapperForBrightonSEO
148. Once you have your invite…
@DataChaz #BrightonSEO
● Create a Github repo
● Upload all your files in that repo
● Go to https://share.streamlit.io/deploy
152. • Uses the Google language API
• Extract & analyse entities at scale
• Directly from web pages!
▶️ https://streamea-entity-analyzer.herokuapp.com/
@DataChaz #BrightonSEO
154. • Bulk retrieve auto-complete suggestions
• From Google and Bing
• Choose depth
• Visualise in tree/tabular form
• Export results to csv
▶️ https://streamsuggest.herokuapp.com/
155. • Retrieve entities from
Wikipedia URLs or topics!
• Get interactive graphs of
connected entities
• Get entity types + salience
scores
• Export results to CSV!
• (Original script from
@jroakes)
▶️ https://share.streamlit.io/charlywargnier/s4_wiki_topic_grapher/main/app.py
162. Tip 01: Data blending ideas
• Blend your client’s data…
• … with Google Analytics or GSC
• Create a Streamlit app!
@DataChaz #BrightonSEO
163. Tip 02: Start ditching Excel!
• Think of transfos you’re doing all the time!
• Break in smaller, easy chunks
• Code these in your IDE, or a Colab
• Convert to Streamlit! 🔥
@DataChaz #BrightonSEO
164. Tip 03: Play with APIs!
• Pick an API
• Choose your parameters
• Build a Streamlit GUI for it!
@DataChaz #BrightonSEO