Working example of GraphQL, Flask and Python3.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

This repository is an Example project using Graphene and flask-graphql to create a GraphQL server and client pair in Python.

The example server will crawl websites and extract summaries using the extraction library (mostly relying on Opengraph metadata).

You can query the server via GraphiQL by running the server and visiting http://localhost:5000.

Queries against the server look like:

  website(url: "") {

And responses look like:

  "data": {
    "website": {
  "title":"Migrations: the sole scalable fix to tech debt.",
  "description":"Migrations are both essential and frustratingly frequent as your codebase ages and your business grows: most tools and processes only support about one order magnitude of growth before becoming ineffective, so rapid growth makes them a way of life. This post takes a look at why migrations are so important, and also how to run them effectively."

Take a look at the extraction_tutorial directory for more.


git clone
cd extraction_tutorial
python3 -m venv env
. ./env/bin/activate
pip install -r requirements.txt
pip install -e .
python extraction_tutorial/ &
python extraction_tutorial/