You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

tweet-getter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tweet-getter

Get Tweets by IDs through Twitter's API

1.0.0rc2
pipPyPI
Maintainers
1

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

tweets

FAQs

Did you know?

Socket

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