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

Readme.md

Flaskadillo

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.