Ping/Knock a list of tweets to enquire their status (deleted/available/...) #twockknock
Project description
twock
Ping/knock a list of tweets to enquire their status (deleted/available/...) #twockknock
Usage
Knocking Tweets
twock knock [OPTIONS] TWEETFILE
Ping (knock) a list of tweets. Expects file path to CSV with `id` column.
Options:
--outpath TEXT Path to output file, will be prefixed with today's date.
Default: `errors.ndjson`
--tkpath TEXT Path to Twitter API v2 bearer token YAML file. Default:
`bearer_token.yaml`
--sample INTEGER If given, sample INTEGER number of tweets only
--help Show this message and exit.
Developer Install
- Install poetry
- Clone repository
- In the cloned repository's root directory run
poetry install
- Run
poetry shell
to start development virtualenv - Run
twacapic
to enter API keys. Ignore the IndexError. - Run
pytest
to run all tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
twock-0.1.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
twock-0.1.0-py3-none-any.whl
(4.2 kB
view hashes)