Open in app

Sign In

Write

Sign In

Chuan Zhang
Chuan Zhang

48 Followers

Home

About

Published in Python in Plain English

·Jan 29, 2022

Introduction to Flask AppBuilder — Integrating with Celery Scheduler

A guide on how to customize themes, override the index page and include RESTful API in our simple web application. — In my previous tutorials, I have explained and demonstrated how to build a simple web app using F.A.B [1, 2] and in those two tutorials, both default themes and index pages were used. In this tutorial, I am going to show how to customize themes, override the index page, and…

Celerybeat

13 min read

Introduction to Flask AppBuilder — Integrating with Celery Scheduler
Introduction to Flask AppBuilder — Integrating with Celery Scheduler
Celerybeat

13 min read


Published in Python in Plain English

·Jan 5, 2022

Asynchronous Task Queuing with Celery

A detailed guide on how Celery asynchronous task queue works. — Celery is a very popular and powerful asynchronous task queue. It supports both real-time operations and task scheduling. In one of my previous tutorials [1], I have demonstrated how to schedule a task using Celery. In this tutorial, I am going to demonstrate how to build an asynchronous task queue…

Celery

14 min read

Asynchronous Task Queuing with Celery
Asynchronous Task Queuing with Celery
Celery

14 min read


Published in Python in Plain English

·Dec 31, 2021

Introduction to Flask AppBuilder — Building a Simple Web Service (2)

How to develop a more complicated web application to manage a project or task progress. — In the last post, I have demonstrated how to build a simple (static) web application using Flask AppBuilder (F.A.B). In this post, I am going to further demonstrate how to develop a more complicated web application, which manages project/task progress. We will include a PostgreSQL database into our application. …

Flask

6 min read

Introduction to Flask AppBuilder — Building a Simple Web Service (2)
Introduction to Flask AppBuilder — Building a Simple Web Service (2)
Flask

6 min read


Published in Python in Plain English

·Dec 14, 2021

Introduction to Flask AppBuilder — Build a Simple Web Service

A step-by-step guide on how to use FAB to build a simple web app. — Flask is a very popular (micro) framework for web application development. While one can build everything from scratch directly based on Flask and Jinja2, extensions built on top of Flask are available to make web app development more efficient and effective. Flask AppBuilder (F.A.B) is one of them. As an…

Flask

7 min read

Introduction to Flask AppBuilder — Building a Simple Web Service
Introduction to Flask AppBuilder — Building a Simple Web Service
Flask

7 min read


Published in Python in Plain English

·Nov 29, 2021

How to Schedule Recurring Jobs or Tasks Using Celery

Schedule Jobs 2: Schedule recurring jobs/tasks using Celery. — In the last tutorial [1], I have demonstrated how to schedule jobs using Crontab. In this tutorial, I continue to demonstrate how to schedule recurring jobs/tasks using Celery. Overview Celery is a popular and powerful (open source) asynchronous task/job queue based on distributed message passing. It supports both scheduling and queuing…

Celerybeat

9 min read

How to Schedule Recurring Jobs or Tasks Using Celery
How to Schedule Recurring Jobs or Tasks Using Celery
Celerybeat

9 min read


Nov 14, 2021

Storing/Retrieving Objects Using SQLAlchemy

Storing/Retrieving Objects into/from a relational database is very normal in many use cases. For example, in ETL pipelines, although data warehouse usually depends on RDBMS, NoSQL data sources are not rare. Especially for the staging database, sometimes, hierarchical data types, such as JSON, XML, YAML, etc, need to be stored…

Sqlalchemy

3 min read

Sqlalchemy

3 min read


Published in Python in Plain English

·Oct 30, 2021

Acquire Daily Earthquakes Data Using Cron

Schedule Jobs 1: How to use Cron and Python scripts to acquire and upload earthquakes data to a staging database every day. — Scheduling regularly recurring tasks is a very common use case in many different situations, such as automatic database backup, automatic data acquisition, and processing in ETL pipeline, automated ML model retraining and deployment, and so on. Based on the requirement and the nature of the tasks, different tools can be…

Cron

8 min read

Acquire Daily Earthquakes Data Using Cron
Acquire Daily Earthquakes Data Using Cron
Cron

8 min read


Oct 17, 2021

Nginx Tutorial (1) — Start a static web server using Nginx and Docker

In this tutorial, I am going to demonstrate how to deploy a toy static web server using Nginx and Docker container. First, we need docker installed on our working machine. There have been a lot of materials (documents, tutorials, etc) available online demonstrating how to install docker in different operating…

Nginx

4 min read

Nginx Tutorial (1) — Start a static web server using Nginx + Docker
Nginx Tutorial (1) — Start a static web server using Nginx + Docker
Nginx

4 min read


May 31, 2021

Flask Blueprint Demonstrated in 2 Minutes

Flask blueprint is a great way to structure flask application by organizing views and other code into separate and reusable functionality components. It is conceptually similar to the applications in Django framework, and makes Flask applications easier to scale up. There has been a lot of tutorials online explaining how…

Flask

2 min read

Flask Blueprint Demonstrated in 2 Minutes
Flask Blueprint Demonstrated in 2 Minutes
Flask

2 min read


Published in The Startup

·Oct 31, 2020

Build ETL Pipeline With PySpark on AWS EC2 (1) — Setup PySpark Environment

Apache Spark is a very powerful analytic engine for big data processing, and has become more and more popular in different areas of big data industry very recently. Spark includes built-in modules for streaming, SQL, machine learning and graph processing. It provides high-level APIs in Java, Scala, Python and R. …

Etl

8 min read

Build ET Pipeline With PySpark on AWS EC2 (1) — Setup PySpark Environment
Build ET Pipeline With PySpark on AWS EC2 (1) — Setup PySpark Environment
Etl

8 min read

Chuan Zhang

Chuan Zhang

48 Followers

Software Engineer

Following
  • Ben Rogojan

    Ben Rogojan

  • Netflix Technology Blog

    Netflix Technology Blog

  • Andrew Ng

    Andrew Ng

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech