Get Tweets by IDs through Twitter's API
Project description
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
pip install -r requirements.txt
Configuration
Customize the configuration file (./configuration/configs.py)
Run
python -m tweet_getter.dataset_maker <start-row-optional> <end-row-optional>
[NOTE]:
This package is compatible on Python 3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tweet_getter-1.0.0rc2.tar.gz.
File metadata
- Download URL: tweet_getter-1.0.0rc2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
774bafa5243bba028b933a77e167c93a9dd786540be57f6f0342af4727b50655
|
|
| MD5 |
e4200cc0181255045e839e6461aaa902
|
|
| BLAKE2b-256 |
836a9071f7d068d8c43b2e56c950443d09894950abbce2a75840f510ecf69e3d
|
File details
Details for the file tweet_getter-1.0.0rc2-py2.py3-none-any.whl.
File metadata
- Download URL: tweet_getter-1.0.0rc2-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd09bc1f0ba2db8d04d257555bf528d827a98f15cb70755250722a019d4d4713
|
|
| MD5 |
6a8546ddc0d1397d497d9db3cb15f949
|
|
| BLAKE2b-256 |
aa9a7c318d226a9a9beb31895f2c8e7cd2e3d217297e06c89f9ba9a405e8fb15
|