tweetstreamer
A Tweepy streamer to collect tweets from Twitter's Streaming API based on criteria, with an extremely simple API
Requirements
You will need the following from Twitter:
- CONSUMER_KEY
- CONSUMER_SECRET
- ACCESS_KEY
- ACCESS_SECRET
For this you can visit https://apps.twitter.com to setup the access keys
Install
pip install tweetstreamer
Usage
For example if you want to listen for tweets about $AAPL stocks
from tweetstreamer import auth, listen
connection = auth(<CONSUMER_KEY>, <CONSUMER_SECRET>, <ACCESS_KEY>, <ACCESS_SECRET>)
listen(connection, <TRACK>, on_status, on_error, on_timeout, on_disconnect)
Metadata
Release files for tweetstreamer 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tweetstreamer-1.0.5.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tweetstreamer-1.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / tweetstreamer-1.0.5.tar.gz
| Download URL | tweetstreamer-1.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4939fdd1e48967cb7b391e10170983a16d71547affce441e07e2d1c888629c0b
|
|
BLAKE2b-256 checksum How to use checksums |
97c5510fde81020a618ff433ccb51a7bd3be7298964ef8e8fcb7783145bb47e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0
|
Release files / tweetstreamer-1.0.5-py2.py3-none-any.whl
| Download URL | tweetstreamer-1.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
cf83c85f08392de4870071b7f805560cf5439c26f0a483e5542b7c0e0a0dad6d
|
|
BLAKE2b-256 checksum How to use checksums |
2c4437e33fdd516053ac1993cd76b07da50f5c63a5acf81c99b205ae8bb88a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0
|