PyPI Version Coverage Status License Documentation Status

Getting started

Introduction to tweety

If you are new to tweety, this is the place to begin. The goal of this tutorial is to get you set-up and rolling with tweety. Twitter's API is annoying to work with, and has lots of limitations. tweety scrape all the tweets using python and selenium - No API rate limits. No restrictions. Extremely fast.

Source Link
PyPI: https://pypi.org/project/tweety/
Repository: https://santhoshse7en.github.io/tweety/
Documentation: https://santhoshse7en.github.io/tweety_doc/

Welcome to tweety


>>> from twitter.tweety import tweets
>>> tweety = tweets('Super Deluxe')

>>> print(dir(tweety))
['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'final_sentiment_scores', 'tweets', 'tweets_df']

>>> tweety.final_sentiment_scores
{'neu': 0.792, 'neg': 0.032, 'pos': 0.176, 'compound': 0.0}

Average Tweets

It appears you can ask for up to 25 pages around tweets reliably (~1200 tweets)