Skip to main content

Python package which to access the Twitter database without API

Project description

PyPI Version Coverage Status License Documentation Status

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/

Average Tweets

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

Dependencies

  • beautifulsoup4
  • selenium
  • chromedriver-binary
  • vaderSentiment
  • textblob
  • pandas

Dependencies Installation

Use the package manager pip to install following

pip install -r requirements.txt

Usage

Download it by clicking the green download button here on Github. You only need to parse argument specific Twitter keyword.

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

Directory of tweety

dirt

Output

>>> print("Polarity Scores" + " : " + str(tweety.final_sentiment_scores))

capture

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Project details


Download files

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

Source Distribution

tweety-0.1.6.tar.gz (4.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page