Metadata-Version: 2.1
Name: TwitterHandler
Version: 1.1.0
Summary: A simple Twitter handler for the Twitter API.
Home-page: https://github.com/HassanRady/TwitterHandler
Author: Hassan Rady
Author-email: hassan.khaled.rady@gmail.com
License: MIT license
Keywords: Tweets
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
Requires-Dist: kafka-python (==2.0.2)
Requires-Dist: tweepy (==4.10.0)
Requires-Dist: python-dotenv (==0.20.0)

# Twitter Filtered Stream to Kafka Handler Package
Package: <a href="https://pypi.org/project/TwitterHandler">TwitterHandler-pypi</a>
## Description
It is a package that provides a simple way to filter Twitter Stream ingested to a Kafka topic.

**Data**:
- Twitter API v2 filtered stream endpoint

**Libraries:**
- Tweepy
- Kafka-python

## How to use it?
Use its API: <a href="https://github.com/HassanRady/Twitter-Handler-Api.git">Twitter-Handler-API github</a>

## Environment Variables
- `BEARER_TOKEN`: Twitter's API v2 bearer token.
- `KAFKA_HOST`: The Kafka broker host.
- `KAFKA_PORT`: The Kafka broker port.
- `KAFKA_TOPIC`: The Kafka broker topic.
