Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

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

Metadata

Release files for tweet-getter 1.0.0rc2

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

Source distribution (sdist)

Source distribution for tweet-getter 1.0.0rc2
File Size Uploaded Provenance Actions
tweet_getter-1.0.0rc2.tar.gz 4.1 kB Without provenance Details for tweet_getter-1.0.0rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tweet-getter 1.0.0rc2
File Interpreter ABI Platform Actions
tweet_getter-1.0.0rc2-py2.py3-none-any.whl Python 2, Python 3 none any Details for tweet_getter-1.0.0rc2-py2.py3-none-any.whl

Total release size: 9.8 kB

Release files / tweet_getter-1.0.0rc2.tar.gz

Download URL tweet_getter-1.0.0rc2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
774bafa5243bba028b933a77e167c93a9dd786540be57f6f0342af4727b50655
BLAKE2b-256 checksum
How to use checksums
836a9071f7d068d8c43b2e56c950443d09894950abbce2a75840f510ecf69e3d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / tweet_getter-1.0.0rc2-py2.py3-none-any.whl

Download URL tweet_getter-1.0.0rc2-py2.py3-none-any.whl
Size 5.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cd09bc1f0ba2db8d04d257555bf528d827a98f15cb70755250722a019d4d4713
BLAKE2b-256 checksum
How to use checksums
aa9a7c318d226a9a9beb31895f2c8e7cd2e3d217297e06c89f9ba9a405e8fb15
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for tweet-getter 1.0.0rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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