Skip to main content

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

Release files for tweety 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tweety 0.1.6
File Size Uploaded
tweety-0.1.6.tar.gz 4.8 kB Details

Release files / tweety-0.1.6.tar.gz

Download URL tweety-0.1.6.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1844530a67948b9c72cfaa6bc1664717fa3b662d5f830d786f970451a0883e3d
BLAKE2b-256 checksum
How to use checksums
0cb81aaac0db3ce8a58234d5d02c76ebc5768250a22f8556b547279e0860f9b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page