TweePython (Tweepy Tool GUI)

posted on March 12, 2023, 6:24 a.m.


TweePython is a simple GUI for Tweepy - a python library used to access the twitter api. This is an old project and I will not be updating it. The console window is included upon start up because the second tool freezes the GUI, but you can see it still running with printed statements in the console.

The download file is a zipped up folder of the single executable, license files, and the image used for the logo.

To use this you will need a twitter developer account and the necessary authentication.
Create a text file in the main directory of the TweePython download called "auth.txt" and using the first four lines paste your keys:


    consumer_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    consumer_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    access_token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    access_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Delete the names and the equals signs and all spaces - Just leave the keys themselves on each line.

These are the two tools included:


    Tweet Stream - Save all tweets live using a search query - Sentiment Analysis is provided as well - Runs until stopped and every tweet grabbed will be saved to a text and csv file with the username, a link to the tweet, and the tweet itself. Beware of rate limits and abuse. There are no checks implemented in the code so if you run this tool indefinitely your developer account will probably be banned.

    Get User Tweets - Saves all tweets that a target user posted to a text file. Again, beware rate limits. Although I'm using threading, this one holds up the mainloop of tkinter and therefore will cause the GUI to stop responding until the operation completes.



File
SHA256
Download
tweepython1.0.7z
468dceaae94f102a030c1b30d84d8c3d8089ebbff2830e84e6df1c23a39ca681