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/
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
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)
Features
- Scrape Data for analytics
- Daiy qoute 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.7.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simpletwitter-1.2.7.tar.gz.
File metadata
- Download URL: simpletwitter-1.2.7.tar.gz
- Upload date:
- Size: 4.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eade60f8b92dba006c71efa6ef5d0b51decd583217009db20e461fc1faac0b26
|
|
| MD5 |
5367d48c2cb942fed8fdc4bd492736fc
|
|
| BLAKE2b-256 |
2ad51c2246bada4a1f3a092182de4e32682fb3768bcbacb2b324f209ba078850
|
File details
Details for the file simpletwitter-1.2.7-py3-none-any.whl.
File metadata
- Download URL: simpletwitter-1.2.7-py3-none-any.whl
- Upload date:
- Size: 4.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbef36f3b415bb6d4016b20255caefd0df9f11c252951b28e851af1a8d712b1d
|
|
| MD5 |
6295a220addb0bca3c2e86e7485b72f6
|
|
| BLAKE2b-256 |
1e032bef123ce560e4482417273b40b4f5b185a074d72f91e314f53e40b96c25
|