Flask Logo

Flask CMS and blog engine

ButterCMS is an API-based CMS and blog engine that integrates with Flask in minutes. Use ButterCMS with Django to build CMS-powered apps quickly. Butter is great for blogs, dynamic pages, and more.

Easily add to your Flask app

Add the ButterCMS Python client to your Flask app:

pip install buttercms-python

Then test out some API calls in your application code:

from butter_cms import ButterCMS

client = ButterCMS('api_token_b22ab734')

// Get page content
butter.content.retrieve(["home"]).then(function(resp) {
  console.log({content: resp.data.data})
});

// Get posts
butter.post.list().then(function(response) {
  console.log({posts: resp.data.data})
})

Check out our example code for building a Flask blog with Butter.

A simple API for content

{
  "data": {
    "homepage_title": "Flask",
    "homepage_headline": "API-first CMS and blog engine for Flask"
  }
}

About Flask

Flask is a lightweight Python web framework based on Werkzeug and Jinja 2. Applications that use the Flask framework include Pinterest and LinkedIn.

Get started now

Sign up with Google Sign up with Github
or