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 labcommand 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:
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:
Metadata
Release files for Twista 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Twista-0.3.3.tar.gz | 51.1 kB | Without provenance | Details for Twista-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Twista-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for Twista-0.3.3-py3-none-any.whl |
Total release size: 107.1 kB
Release files / Twista-0.3.3.tar.gz
| Download URL | Twista-0.3.3.tar.gz |
|---|---|
| Size | 51.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d11fb051bab8dfc8766476c8a7a600b5e251bc9465431dc8e59fa9b84ea1febb
|
|
BLAKE2b-256 checksum How to use checksums |
e2c9dee956324f6eb5a42bdc22d78f59a1bbe5adfd4add10a9a1bb4905fb4687
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / Twista-0.3.3-py3-none-any.whl
| Download URL | Twista-0.3.3-py3-none-any.whl |
|---|---|
| Size | 56.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e722de8aa9187638d94661f6e6b2f1171c8167589ab00d89c874675c18c70c02
|
|
BLAKE2b-256 checksum How to use checksums |
cf8cce3caf59ebe3cdc7e359a1463b837da2e22e9443a58fdf89d91b48e9a47b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for Twista 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.