Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romiras/url-word-counter
Counts words from scraped URL in Flask
https://github.com/romiras/url-word-counter
demo flask message-queue nltk-python python3 text-processing
Last synced: about 2 months ago
JSON representation
Counts words from scraped URL in Flask
- Host: GitHub
- URL: https://github.com/romiras/url-word-counter
- Owner: romiras
- Created: 2019-05-19T08:00:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:15:30.000Z (almost 2 years ago)
- Last Synced: 2023-03-23T01:22:21.995Z (almost 2 years ago)
- Topics: demo, flask, message-queue, nltk-python, python3, text-processing
- Language: Python
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project url-word-counter
Counts words from scraped URL in Flask
## Quick Start
### First Steps
```sh
$ pyvenv-3.6 env
$ source env/bin/activate
$ pip install -r requirements.txt
```### Set up Migrations
```sh
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py db upgrade
```### Run
Run each in a different terminal window...
```sh
# redis
$ redis server# worker process
$ python worker.py# the app
$ python app.py
```## Credits
Based on great tutorial at https://realpython.com/flask-by-example-part-1-project-setup/