https://github.com/mawkler/acc-twitter-analyzer
Twitter analyzer for Lab 3 in the course Applied Cloud Computing
https://github.com/mawkler/acc-twitter-analyzer
Last synced: 11 months ago
JSON representation
Twitter analyzer for Lab 3 in the course Applied Cloud Computing
- Host: GitHub
- URL: https://github.com/mawkler/acc-twitter-analyzer
- Owner: mawkler
- Created: 2019-10-05T16:01:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T21:34:42.000Z (over 6 years ago)
- Last Synced: 2025-03-10T18:57:19.707Z (over 1 year ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# acc-twitter-analyzer
Twitter analyzer for Lab 3 in the course Applied Cloud Computing. The application scans a database of tweets for words submitted by the user and plots how common each word is.
## Dependencies
**Server ([`app.py`](./app.py)):**
- Python 3
- rabbitmq-server (install using your package manager)
- Celery (install using `pip`)
- Flask (install using `pip`)
**Client ([`user_script.py`](./user_script.py)):**
- Python 3
- numbpy (install using `pip`)
- matplotlib (install using `pip`)
## Usage
To download the twitter data, run `make install`. To set up the server, run `make run_server`. Make sure that the `server_url` in [`user_script.py`](./user_script.py) is set to the server's IP adress.
On the client side, to send a request run `python3 user_script.py *words to query*` (make sure that you've cloned this repo to the client as well).