Container for collecting Twitter data as part of twarc-cloud.
100K+
Docs: http://twarc-cloud.readthedocs.io/
An AWS-friendly wrapper for Twarc for collecting Twitter data from Twitter's API.
Twarc-Cloud is a CLI that manages AWS Fargate Elastic Container Service (ECS) tasks that retrieve Twitter data from Twitter's API and stores in AWS S3 storage.
Collecting from the following Twitter API methods is supported:
Thus, there is no web server, database, message queue, etc.
As of March 2019, the costs for the used AWS services are:
Costs will vary depending on how much data you collect. However, overall it is ridiculously cheap.
First:
pip install pylint
then:
python -m unittest discover
pylint *.py twarccloud tests
Twarc-Cloud is currently under-tested; writing new tests is a priority.
The Docker image justinlittman/twarc-cloud is set to autobuild on commit:
latest is master.version-<major> is the most recent tagged major version.version-<major.minor.patch> is the most recent tagged version.A Twarc-Cloud harvester running as an ECS task is tied to a major version; each time a new ECS task is started, the most recent Docker image is pulled. Any breaking change will result in a new major version.
To manually build and push a Docker image:
docker build . -t 'justinlittman/twarc-cloud:latest'
docker push justinlittman/twarc-cloud:latest
To install the requirements:
pip install sphinx recommonmark sphinx-autobuild sphinx_rtd_theme
To run a live version of the docs:
cd docs
make livehtml
A live version of the docs will available on http://localhost:8000.
twarccloud/__init__.py.Twarc-Cloud is inspired by and borrows heavily from DocNow's Twarc and George Washington University Libraries' Social Feed Manager.
Content type
Image
Digest
Size
107.6 MB
Last updated
over 7 years ago
docker pull justinlittman/twarc-cloud