Flask-Migrate ( 2.5.2) - extension that supports SQLAlchemy database migrations via Alembic.Flask-SQLAlchemy ( 2.4.1) - Flask extension that provides SQLAlchemy support.Psycopg2 ( 2.8.4) - a Python adapter for Postgres.Part Eight: Create a custom Angular Directive to display a frequency distribution chart using JavaScript and D3.Part Seven: Update the front-end to make it more user-friendly.Part Six: Push to the staging server on Heroku - setting up Redis and detailing how to run two processes (web and worker) on a single Dyno.Part Five: Set up Angular on the front-end to continuously poll the back-end to see if the request is done processing. Part Four: Implement a Redis task queue to handle the text processing.Part Three: Add in the back-end logic to scrape and then process the word counts from a webpage using the requests, BeautifulSoup, and Natural Language Toolkit (NLTK) libraries.Part Two: Set up a PostgreSQL database along with SQLAlchemy and Alembic to handle migrations.Part One: Set up a local development environment and then deploy both a staging and a production environment on Heroku.Remember: Here’s what we’re building - A Flask app that calculates word-frequency pairs based on the text from a given URL. : Upgraded to Python version 3.5.1 as well as the latest versions of Psycopg2, Flask-SQLAlchemy, and Flask-Migrate.Explicitly install and use Flask-Script due to change of Flask-Migrate internal interface. : Upgraded to Python version 3.8.1 as well as the latest versions of Psycopg2, Flask-SQLAlchemy, and Flask-Migrate.Free Bonus: Click here to get access to a free Flask + Python video tutorial that shows you how to build Flask web app, step-by-step.
0 Comments
Leave a Reply. |