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/
Privacy Policy Link: https://github.com/pravee42/simpletwitter/blob/master/PrivacyPolicy.md

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

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)

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.4.tar.gz (4.0 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.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simpletwitter-1.2.4.tar.gz
  • Upload date:
  • Size: 4.0 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.4.tar.gz
Algorithm Hash digest
SHA256 ca703771644de8352aaf6145785379284bd443f8e53c2effdad7ddeb3ae140a5
MD5 e026b0d91f1753b3c35ad66da77b6440
BLAKE2b-256 2c9bdd64e288d13d4ae3c09799170bada13345da29bb5aeb596b72456a0f3d77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simpletwitter-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7f54b2bbb9a4dd03466a1736aa31996e0611c4a2567d4696d4ef80f3074cc0f1
MD5 9678800f1f6b0de0bb28831730dd7c00
BLAKE2b-256 84182aec6ad2006350f4983b806e9994f326780197765e78fffb51f7d93936aa

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