Skip to main content

Free and Open Source SEO Software (update Google Sheets for Data Dashboards).

Project description

Author:

Mike Levin SEO in NY, 360i & Commodore alum, and HitTail Creator

Pipulate Free and Open Source SEO Software (Automate Google Sheets for Dashboards)

https://raw.githubusercontent.com/miklevin/Pipulate/master/pipulate-logo.svg?sanitize=true
  • Do you make Spreadsheet Reports using Google Analytics, GSC and other Data?

  • Are you using expensive plug-ins or products to keep these Reports Updated?

  • Do you feel all this stuff should be FREE if only you could wire it all up?

Then It’s Time To Learn a Little Python!

Pipulate is designed to make playing with data in Jupyter Notebook easy. The easiest way to install Pipulate from Jupyter is to execute these commands from within a Notebook:

import sys
!{sys.executable} -m pip install pipulate

If you’re not using Anaconda, then you will have to install Pandas first.

The first time you import Pipulate, you will receive a Google OAuth prompt to allow access to the Google Spreadsheet you want to edit. Click the big link and paste the resulting token back into the field shown in Jupyter Notebook or your command-line. Once this is done, the basic use is:

import pipulate as gs
cl, df = gs.pipulate(tab, rows, cols)
# Do stuff to df
gs.populate(tab, cl, df)

This loads the rectangular region you defined with the rows and columns into memory in a way where you can treat it a lot like a tab in Microsoft Excel or table in SQL. You can manipulate the pandas “DataFrame” (abbreviated as df), and then push the changes back out to the Google Sheet. For example:

import pipulate as gs
sheet = gs.key('119mnC8Day68KexU_yv7J_wfA3p7iZeXa0YEtmg1Igu4')  # your key
tab = sheet.worksheet('Sheet1')
cl, df = gs.pipulate(tab, rows=(1, 5), cols=('A', 'C'))
df['A'] = 'foo'
df['B'] = 'bar'
df['C'] = df['A'] + df['B']
gs.populate(tab, cl, df)  # Watch the sheet update :)

And that’s it. All Pipulate does is pull down the rectangular cell-range you define and plop it into df. What you do with the Pandas DataFrame (df) is up to you. I’ll load the examples directory with ideas, but this is very open-ended designed to make automation of traditional tedious tasks in SEO much simpler. Once you’re happy with your script, you can copy/paste it into a .py file and schedule it with a standard Linux scheduler, which is another part of this project I’ll be expanding considerably (generic task-scheduling under Linux).

The Shameless Hype

Why is this billed as “SEO software” when all it does is make updating Google Sheets easy? It’s because this is the main missing ingredient in building all those custom reports necessary to surface actionable data every day. It’s also your easy route into data manipulation with Python/Pandas and the repurposing of your aging SEO career into something simultaneously more timely and timeless. Learning just the right Linux, Python, vim and git (LPvg) will set you on a good course for the next 10-years or so.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pipulate-0.2.26.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

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