Python Logo

Python blog engine

ButterCMS is an API-based python blog engine that integrates with Python apps in minutes. Use ButterCMS with Flask, Django, or other Python apps to quickly add a blog to your app. Butter is great for blogs and dynamic pages.

Easily add to your Pyton app

Add the ButterCMS Python client to your Python code:

pip install buttercms-python

Then test out some API calls to get your blog posts:

from butter_cms import ButterCMS

client = ButterCMS('api_token_b22ab734')

// Get blog posts
print client.posts.all({'page_size': 10})

Blog API Response

{
  "meta": {
    "count": 1,
    "next_page": null,
    "previous_page": null
  },
  "data": [
    {
      "url": "http://www.example.com/blog/this-is-a-blog-post",
      "created": "2015-06-12T13:59:32.441289Z",
      "published": "2015-06-12T00:00:00Z",
      "author": {
        "first_name": "API",
        "last_name": "Test",
        "email": "apitest@buttercms.com",
        "slug": "api-test",
        "bio": "This is my bio.",
        "title": "API",
        "linkedin_url": "https://www.linkedin.com/in/API",
        "facebook_url": "https://www.facebook.com/API",
        "pinterest_url": "https://www.pinterest.com/API",
        "instagram_url": "https://www.instagram.com/API",
        "twitter_handle": "buttercmsapi",
        "profile_image": "https://buttercms.com/api.png"
      },
      "categories": [
        {
          "name": "test category",
          "slug": "test-category"
        }
      ],
      "tags": [
        {
          "name": "test tag",
          "slug": "test-tag"
        }
      ],
      "featured_image": null,
      "slug": "this-is-a-blog-post",
      "title": "This is a blog post",
      "body": "This is a blog post to test the API.",
      "summary": "This is a blog post to test the API.",
      "seo_title": "This is a blog post",
      "meta_description": "This is a blog post to test the API.",
      "status": "published"
    }
  ]
}

About Python

Python is a widely used high-level programming language for general-purpose programming, created by Guido van Rossum and first released in 1991.

Blog Engine for these technologies and more

Ruby, Rails, Node.js, Python, ASP.NET, C#, Flask, Django, Go, PHP, React, Phoenix, Elixir

Get started now

Sign up with Google Sign up with Github
or