Skip to main content

tweetstreamer

CircleCI Codacy Badge PyPI PyPI PyPI license

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)

Source distribution for tweetstreamer 1.0.5
File Size Uploaded
tweetstreamer-1.0.5.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tweetstreamer 1.0.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

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