This post will cover the minimal set-up to get basic (auto-generating) Alembic migrations working within a Flask application. The pre-requisites are; Flask, SQLAlchemy, Flask-SQLAlchemy and Alembic in case that wasn't obvious. My current project is being built with Flask utilizing SQLalchemy as an abstraction to my data persistence layer AKA ORM. I am also using the Flask-SQLALchemy extension to m
Flask-RESTful¶ Flask-RESTful is an extension for Flask that adds support for quickly building REST APIs. It is a lightweight abstraction that works with your existing ORM/libraries. Flask-RESTful encourages best practices with minimal setup. If you are familiar with Flask, Flask-RESTful should be easy to pick up. User’s Guide¶ This part of the documentation will show you how to get started in usin
April 29, 2013 In my two years @seantis I had the chance to work on web applications ranging from the small and benign to the big and bulky. For these applications I used (and cursed at) a number of web-frameworks: Flask Pyramid Django Plone I know there’s no shortage of blog posts comparing Python web-framworks, but I developed a certain view on these four frameworks which might be interesting to
I'm Director of Engineering & Product at Close. I'm interested in startups, programming, UX, SaaS, and building great web products. More about me. On Close.io we originally implemented Filepicker.io to allow for file uploads while sending emails. While it was a quick way to get started with file uploading initially, after several minutes of downtime of their API and then an unannounced change in t
Overview¶ Flask-Social sets up endpoints for your app to make it easy for you to let your users connect and/or login using Facebook and Twitter. Flask-Social persists the connection information and allows you to get a configured instance of an API object with your user’s token so you can make API calls on behalf of them. Currently Facebook, Twitter, foursquare and Google are supported out of the b
勉強がてら Python の Flask で REST API を作ってみた。/users リソース以下にユーザの CRUD を作ってある。リソースの表現は JSON にした。 #!/usr/bin/env python # -*- coding: utf-8 -*- import json from functools import wraps from flask import Flask, jsonify, request, url_for, abort, Response app = Flask(__name__) # ダミーデータ (DB の代わり) id_index = 3 users = {1: {'id': 1, 'name': 'foo'}, 2: {'id': 2, 'name': 'bar'}} def consumes(content_type): def _con
A demo web application in the spirit of TodoMVC showing how to use RethinkDB as a backend for Flask and Backbone.js applications. For details about the complete stack, installation, and running the app see the README. import argparse import json import os from flask import Flask, g, jsonify, render_template, request from rethinkdb import r
> blog.selfassembled.org » about » github » twitter » need a job? A simple base class for building RESTful APIs in Flask December 22, 2012 3:23 p.m. The code in this post is copyright (c) 2011-2012 Todd Kennedy, and is made available under the MIT license So in my previous post about going from a desktop app to a webpage I mentioned that I've finally settled on a similar development model to the o
Flask ハンズオン¶ Flask は Python 製のマイクロフレームワークです。 マイクロフレームワークの対義語はフルスタックフレームワークで、普通の Webアプリケーションを作るのに必要なもの・便利なものをできるだけなんでも 用意したものになります。 マイクロフレームワークはその逆で、最低限必要なものや、ほぼすべてのWebアプリで 使う機能だけで構成されたフレームワークです。 マイクロフレームワークのフルスタックフレームワークに対する利点は、 フレームワークを覚えるだけで精一杯にならないで済む 追加のツールを自分で選ぶのが簡単 (O/Rマッパー等) になります. なので、簡単なアプリを短い勉強時間で作りたいケースや、高い目標性能などで フルスタック型フレームワークをそのままでは適用できない (大幅な改造が必要になってしまう) ケースでは、マイクロフレームワークが適しています。 目
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く