Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer
Flask-Wiki What: A small, flexible, easily integratable wiki for flask Why: I was unable to find any wiki frameworks that would integrate cleanly into my projects, and I didn't want the wiki software to define how I was going to store my data. What to expect: Easy setup: register_blueprint and go, in the simplest of cases Easy integration with existing systems: @wiki.save and @wiki.load, defining
This page has moved: http://flask-seasurf.readthedocs.org/en/latest/.
こんばんは。そろそろブログを書かないと、またどんどん忘れるだけなのでメモをちゃんと残そうかと思います。 一昔前だとHTMLメールってうざいよねぇwww。みたいに思っていたんですが、TwitterやらFacebookやら軒並み最近のWebサービスはHTMLメールを送ってくるようになったと感じています。でどんな感じで送ってるのか見てみたら、Content-Typeに「multipart/altnative」という見慣れないやつを使ってました。 multipart/alternative形式とは? 「multipart/altnative」とは何ぞやといういうのは上記リンクを見てもらえればなんとなく分かると思うのですが、誤解を恐れずに端的に言うと「HTMLとテキスト、両パターン送っとくから、メーラのお前は表示できる方表示しろや」という事です。 最近 送られてくるHTMLメールのContent-T
「Flaskの使いどころ」を拝見しました。 Flaskを業務で使用してますって話があまりないようなので(ちゃんと検索してないけど)一つの事例として書いておこうと思いました。 ただ、一般的な開発環境ではないと思うので、あまり参考にならないと思います。アンチパターン的な感じでしょうか…。 別にFlaskを批判するつもりもないです。 先に感想 MicroFramewokと謳ってるので自分で拡張していく前提で使い始めたけど、拡張していった結果「Flaskじゃなくて良かったんじゃね?」と、今になって、システムの規模に合ってなかったなというのを感じます。 でも、どのフレームワーク採用してても、そのフレームワークに起因する課題は出てくると思いますが。 以下、詳細です ○開発の状況 今運用してるのはB2Cのサイトです。規模感としては中規模?かな。DBのテーブル数でいうと、30くらいあります。 開発者は私だ
Web アプリを仕事ではほとんど書いたことが無かったのですが、Flask を仕事で使う事にしたので、書いてて感じた Flask の使いどころを。 追記 コメントに色々な意見を頂いておりますので、是非そちらも。 がっつり使われた方の感想 Flaskを1年仕事で使った感想 - kawaken’s blog http://d.hatena.ne.jp/kentaro_kawano/20120115/1326612808 結論 とりあえず箇条書きで ... データベースサーバとの接続が前提なら、 Flask を使うのはやめる Flask-* という Flask の拡張を使う時点で、Flask を使うのはやめる 大規模で Blueprints を使う前提なら、Flask を使うのはやめる 小さなアプリでプラガブルな仕組みを自分で作るには良い パーミッションは Flask-Principal が良さそ
Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications. It began as a simple wrapper around Werkzeug and Jinja and has become one of the most popular Python web application frameworks. Flask offers suggestions, but doesn't enforce any dependencies or project layout. It is up to the developer
XmppFlask is easy to use XMPP framework that is inspired (heavily) by Flask. It is intended to be as easy to use as Flask itself is. Current status is heavy alpha and lacks a lot of features, but they are easy to fix. And it’s python, so you can easily do that yourself. XMPPFLASK¶ The main idea is to make you happy with writing small jabber bots. Like this:
Even though Armin beat me to the punch with an accepted answer I thought I'd show an abbreviated example of how I implemented a regex matcher in Flask just in case anyone wants a working example of how this could be done. from flask import Flask from werkzeug.routing import BaseConverter app = Flask(__name__) class RegexConverter(BaseConverter): def __init__(self, url_map, *items): super(RegexConv
久々にFlaskドキュメントページ見てたら、 Streamingのsnipetが掲載されてました。 (もしかして結構前から?) Werkzeugには0.5から機能としてはあるみたいなんで、 きっと昔からできたんでしょう。 なかなか使い道ないけどTwitterのようなStreamingAPIとかかっこ良いですよね。 つーことでコード。 from flask import Flask from flask import Response import time app = Flask(__file__) @app.route("/streaming") def streaming(): def generate(): while True: time.sleep(1) yield "test\n" return Response(generate(),direct_passthrough=Tr
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く