Giter VIP home page Giter VIP logo

twista's Introduction

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

twista's People

Contributors

nkratzke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

twista's Issues

Improvement with Twint

This repo is really promising, but there is one important improvement.
Twint does not require APIs when compared to Tweepy, so it might be good to switch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.