Materials for the Flask ILLO @ DIB Lab, October 15, 2018.
Charles Reid f60dd51f4c
11 months ago
api add test for lightweight fly api 11 months ago
hello update readme and add tests 11 months ago
jinja add test for jinja example 11 months ago
package add tests for package 11 months ago
.gitignore add two simple API examples and a requirements file 11 months ago add init version of presentation and readme 11 months ago Update 11 months ago


What is flaskadillo?

This repo has a couple of folders that demonstrate some of Flask’s capabilities.

The ILLO will cover:

  • Simple “Hello World” Flask server with different routes
  • Simple Flask API server (sending/receiving JSON)
  • Simple Flask Jinja templates
  • Simple Flask tests

Repository contents

Part 1: hello

hello - hello world flask server

Part 2: api

api - a simple API server

Part 3: jinja

jinja - a simple Flask server that makes use of Jinja templates

Part 4: package

package - a simple demonstration of how to package flask apps

Part 5: tests

tests - a simple demonstration of how to write Flask tests

Why flaskadillo?

Because armadillo.

The word armadillo means “little armoured one” in Spanish.

Armadillos are related to anteaters and sloths (all are in the Xenartha superorder).

The Aztecs called them turtle-rabbits.