GblogWhisperer is the GOAT tool to automate your Blogger posts—whether you’re posting instantly, scheduling, or deleting with no stress.
Project description
GblogWhisperer
GblogWhisperer is the low-key G.O.A.T Python package for leveling up your Google Blogger game. Whether you’re tryna vibe-check your blog with instant posts, keep it demure with scheduled drops, or delete those cheugy duplicates, this package slaps.
Features
- Instant Posts: When you gotta post now, this is bussin’.
- Scheduled Drops: Flex with planned posts that hit at the perfect time.
- Delete Like a Pro: Handle duplicate titles without a vibe-killer moment.
Requirements
- Python: 3.6 or higher (keep it fresh, no cheugy versions).
- Google Blogger Access: If you know, you know.
- OAuth Credentials: Get that Client ID JSON file for the rizz with Google.
Installation
From PyPI
pip install gblog-whisperer
From Source
-
Clone the repo (only if you don't already have the source):
git clone https://github.com/aryanraw/gblog_whisperer.git cd gblog_whisperer
-
Install the package and dependencies like a boss:
pip install .
-
Make sure you’re locked in with all the extras:
pip install -r requirements.txt
Usage
Authenticate First
First-time vibe check: the package will ask you to log in. After that, you’re golden with token.json
—just smooth sailing for all your future runs.
Import the Tools
from GblogWhisperer import post_instantly, schedule_post, delete_post
Instant Post
post_instantly(
blog_id="YOUR_BLOG_ID",
client_secret_file="path/to/client_secret.json",
title="Your Blog Title",
content="Your Blog Content"
)
Schedule the Drop
schedule_post(
blog_id="YOUR_BLOG_ID",
client_secret_file="path/to/client_secret.json",
title="Your Scheduled Blog Title",
content="Your Blog Content",
publish_time="DD/MM/YYYY-HH:MM:SS", # Example: 25/12/2024-15:30:00
utc_offset="+05:30" # Make timezone moves effortlessly
)
Delete the Cheugy Posts
delete_post(
blog_id="YOUR_BLOG_ID",
client_secret_file="path/to/client_secret.json",
title="Title of the Blog Post to Delete"
)
If there are duplicate titles, you’ll get a vibe-check prompt to choose which one gets axed.
Pro Tip: Use time.sleep
Don’t be that person spamming the Blogger API. Stay mindful with a short breather between calls using time.sleep()
. It’s low-key essential for avoiding rate-limit drama.
import time
# Instant drop
post_instantly(blog_id, client_secret_file, "Title 1", "Content 1")
time.sleep(2) # Low-key chill for 2 seconds
# Scheduled vibe
schedule_post(blog_id, client_secret_file, "Title 2", "Content 2", "10/12/2024-15:30:00", "+05:30")
time.sleep(2)
# Delete that cheugy post
delete_post(blog_id, client_secret_file, "Title 1")
File Vibes
GblogWhisperer/
├── GblogWhisperer/
│ ├── __init__.py
│ ├── authenticate.py
│ ├── post_instantly.py
│ ├── schedule_post.py
│ ├── delete_post.py
├── setup.py
├── requirements.txt
└── README.md
Dependencies
google-auth-oauthlib
: For keeping your login game strong.google-api-python-client
: Talks to Blogger so you don’t have to.
Setting Up Your Rizz with OAuth
- Slide into the Google Cloud Console.
- Make a new project or pick one you’re already vibing with.
- Turn on the Blogger API for your project.
- Set up OAuth creds for a Desktop App—no cap.
- Download the JSON file, name it
client_secret.json
, and stash it somewhere safe.
Notes
- Timezone Rizz:
schedule_post
flexes UTC offsets like+05:30
or-08:00
to keep your drops sharp. - No Login Loops: With
token.json
, you’re set after the first vibe check. - Rate Limit Respect: Sprinkle
time.sleep()
to keep things mindful.
License
This project is licensed under MIT, which slaps. Feel free to do your thing.
Contributing
Got ideas? Found a bug? Fork it, fix it, and slide us a pull request. Collaboration is low-key bussin’.
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
Built Distribution
File details
Details for the file gblog_whisperer-1.0.4.tar.gz
.
File metadata
- Download URL: gblog_whisperer-1.0.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
377885995e55ff68cba3c39b1425f30160b1ae1395c297984e78c00c1c0ef390
|
|
MD5 |
f8044610cfdec4db4e119c5d35b30057
|
|
BLAKE2b-256 |
928ca5467870ffe346b5a083ff07c8394c0772e22e725195a461f449cab04aa7
|
File details
Details for the file gblog_whisperer-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: gblog_whisperer-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0812eada3174ebfd7aa3161790c29f5c065cd70cf534ee5cc8e10312efb495c5
|
|
MD5 |
7cca76c7e539f42a90e9d3c64152ec25
|
|
BLAKE2b-256 |
c6ee54cfd6873ab564fcee9b55859973f89745af88d747abd90a62337339b4c9
|