Socket
Socket
Sign inDemoInstall

tweet-getter

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tweet-getter

Get Tweets by IDs through Twitter's API


Maintainers
1

Readme

Get Tweets by IDs through Twitter's API.

This application creates the dataset through fetching tweets by their IDs.

There are some policies to avoid tweets content directly. Thus, there are many datasets with just tweets IDs and their labels. Hence, I've prepared an application to fetch these tweets context by their IDs using Twitter API. Consequently, you need a Twitter API Token http://apps.twitter.com.

In ./dataset directory exists a dataset contains 1.3 million tweets in seven categories label (\ anger\ , thankfulness\ , joy\ , sadness\ , fear\ , love\ , surprise\ ) by their IDs.

Installation

.. code-block::

pip install -r requirements.txt

Configuration

Customize the configuration file (\ ./configuration/configs.py\ )

Run

.. code-block:: python

python -m tweet_getter.dataset_maker


[\ NOTE\ ]:

This package is compatible on Python 3

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc