twarc-edits
twarc-edits adds a new edits twarc command that lets you filter collected twitter data to find tweets that have been edited. Outputted data is flattened since not all tweets in a single response from the Twitter API may contain edited tweets.
Install
To install you will need to:
pip3 install twarc-edits
Use
First you will need to collect some data with twarc:
twarc2 search politics tweets.jsonl
Then you can filter it:
twarc2 edits tweets.jsonl edited-tweets.jsonl
Or use a pipeline if you only want to keep the edits:
twarc2 search politics | twarc2 edits - edited-tweets.jsonl
Metadata
Release files for twarc-edits 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| twarc-edits-0.0.1.tar.gz | 2.7 kB | Details |
Release files / twarc-edits-0.0.1.tar.gz
| Download URL | twarc-edits-0.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52b296addaa309c251f02672f67b44421b75359fb49ac78bcc28f152bee74785
|
|
BLAKE2b-256 checksum How to use checksums |
a1f22e86772495ffe537ee55a8c5ee2981d4af4113c9210d32ca1e5b6467b6a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|