Skip to main content

This package can be used to make your own twitter bot with less code

import the package using pip install

pip install simpletwitter

PyPi Link : https://pypi.org/project/simpletwitter/

Downloads

usage:

from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
bot.like_tweet(hashtags) #like the twitte
bot.unlike_liked_tweets(5) #unlike the liked tweet
bot.tweet(tweetmessage) #put some tweet

Users Currently Using:

Total Downloads Monthly Downloads Weekly Downloads
7,065 785 166

Users Graph

image

Packages used

Tool Name Purpose
Selenium Chrome Automation
Feature Update 2 feature update added on 28/11/2021
Update 1 Added function to retweet
Update 2 Added feature to like the top tweets of the particular hash tags

Code Usage of Updates


Update 1
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.only_like_top_tweet(hashtags)
Update 2
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.retweet(hashtags)
Update 3

Post Tech News from NEWSAPI

from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
no_of_news_to_be_posted = 1
# if no of tweets to be posted ==> 1 {Post 12 news} it will post '12' news for value =>> 1 <<=
x = bot.post_tech_news(no_of_news_to_be_posted)

Features

  • Scrape Data for analytics
  • Tech News post in twitter

Download files

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

Source Distribution

simpletwitter-1.2.8.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simpletwitter-1.2.8-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file simpletwitter-1.2.8.tar.gz.

File metadata

  • Download URL: simpletwitter-1.2.8.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for simpletwitter-1.2.8.tar.gz
Algorithm Hash digest
SHA256 f06437772298c7a44291e1129a735ead73bfb1f387b262a679e9f8dfb81c6ca7
MD5 992dcd419aaeb944c41c929a0f081c40
BLAKE2b-256 9a74a88f2116e841494fcf95661772bb490a1e4d1522fbe8304323b49c1eaa2e

See more details on using hashes here.

File details

Details for the file simpletwitter-1.2.8-py3-none-any.whl.

File metadata

  • Download URL: simpletwitter-1.2.8-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for simpletwitter-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8e79462e6684c39751e53b2fe766cab3c83bef4e468d16e38e1d15c7c27dc54e
MD5 8e3a2815744dca35da984778b3bb8630
BLAKE2b-256 8ada788ff8106785b0043257cf6c7bca37300233d37f4e4e31db6474493f3618

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page