Materials for the Flask ILLO @ DIB Lab, October 15, 2018.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Charles Reid f60dd51f4c
6 years ago
api add test for lightweight fly api 6 years ago
hello update readme and add tests 6 years ago
jinja add test for jinja example 6 years ago
package add tests for package 6 years ago
.gitignore add two simple API examples and a requirements file 6 years ago add init version of presentation and readme 6 years ago Update 6 years 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.