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
Update Readme.md
1 year ago
api add test for lightweight fly api 1 year ago
hello update readme and add tests 1 year ago
jinja add test for jinja example 1 year ago
package add tests for package 1 year ago
.gitignore add two simple API examples and a requirements file 1 year ago
Presentation.md add init version of presentation and readme 1 year ago
Readme.md Update Readme.md 1 year 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.