Skip to main content

Twitter streaming and graph-based analysis framework

Project description

Twista

Twista is a Twitter streaming and analysis command line tool suite implemented in Python 3. It provides the following core features:

  • to record Tweets (statuses, replies, retweets, replies) from the public Twitter streaming API in a standardized way,
  • to import collected chunks of Tweets into a Neo4j graph database for analysis.
  • The graph database can be used for analysis. We recommand to make use of tools like Jupyter. Twista provides integrated support for Jupyter. Try the twista lab command to start Jupyter with the current config file.

Installation

Twista is hosted on PyPi. Therefore, it can be easily installed:

pip3 install twista

Type

$ twista

to get an overview of existing Twista commands.

Usage: twista [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  import     Imports Twitter records into a Neo4j graph database
  init       Initializes a directory to be used with Twista
  lab        Starts Jupyter lab for analysis
  record     Records a Twitter stream
  stop       Stops the Neo4j database
  version    Reports the version of Twista

We recommend to study the Wiki on how to record and analyze public Twitter streams using Twista and graph databases.

Twista passed its acid-tests

Twista (0.3.0) is been used to record a sample of the complete German Twitter stream since April 2019. This dataset is open access, updated monthly, and available here: DOI

Twista (0.2.0) has been evaluated recording tweets during the German Federal Election Campaigns of 2017. Over four months Twista recorded 10 GB of data without any operator interaction! This dataset is open access and available here: DOI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Twista-0.3.3.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Twista-0.3.3-py3-none-any.whl (56.0 kB view details)

Uploaded Python 3

File details

Details for the file Twista-0.3.3.tar.gz.

File metadata

  • Download URL: Twista-0.3.3.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6

File hashes

Hashes for Twista-0.3.3.tar.gz
Algorithm Hash digest
SHA256 d11fb051bab8dfc8766476c8a7a600b5e251bc9465431dc8e59fa9b84ea1febb
MD5 2c74a8667906381c4743b831d5e5ee79
BLAKE2b-256 e2c9dee956324f6eb5a42bdc22d78f59a1bbe5adfd4add10a9a1bb4905fb4687

See more details on using hashes here.

File details

Details for the file Twista-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: Twista-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 56.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.6

File hashes

Hashes for Twista-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e722de8aa9187638d94661f6e6b2f1171c8167589ab00d89c874675c18c70c02
MD5 c955b77b28bf2ed1d01b3946aae11943
BLAKE2b-256 cf8cce3caf59ebe3cdc7e359a1463b837da2e22e9443a58fdf89d91b48e9a47b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page