gofmt を使い出して、今までいかに無駄にコーディングスタイルに気をつかってきたか思い知った。コーディングスタイルはプログラムに欠かせないけど、それに気をつかうのは人の仕事じゃなかった。PEP 8 に違反しないように注意してスペースバーを叩き、注意のもれたところは Flycheck に怒られて手で直していたなんて、なんて無駄な作業だったんだろう。 だから Python で書くときには autopep8(と py-autopep8.el)を使っていく。むしろあらゆる言語で自動整形ツールを使いたい。ツールの整形結果が好みに合わないこともあるけど、そういうのは些細な問題なんだと思う。そういうのを気にしてコーディングスタイルに気をつかいながらプログラミングするより、ツールに慣れてみようと思った。
python-cjuman: A Python (SWIG) bindings of JUMAN, A Japanese Morphological Analyzer python-cjuman とは python-cjuman は 京都大学大学院 黒橋研究室で開発・公開されている日本語形態素解析システム JUMAN を Python のモジュールとして利用するためのバインディングです。サーバーモードで起動したJUMANと通信する場合にくらべて、15%から20%ほど高速です。バインディングをコンパイルするためには、SWIG のバイナリと JUMAN のソースコードが必要です。Python-2.4 以上と JUMAN-5.1 以上で動作します。 新着情報 2010-09-15 インストール方法に追記 2010-09-08 python-cjuman 0.1.0 2006年のリリースをこの
SQLite: Small. Fast. Reliable. Choose any three. July 14, 2014 12:37 / berkeleydb peewee python sqlite / 10 comments SQLite is a fantastic database and in this post I'd like to explain why I think that, for many scenarios, SQLite is actually a great choice. I hope to also clear up some common misconceptions about SQLite. Concurrency As the maintainer of an ORM, I get asked a lot of questions about
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
Python Testing Python Software Development and Software Testing (posts and podcast) I’d like to wrap up this recent series of pytest fixture posts by presenting my version of some sort of reference. Since this post is running a bit long, here are some links to the content buried in here. Bare bones example Three ways to use a fixture Name it, usefixtures, and autouse. Usefixtures example Fixture f
PyImageSearch You can master Computer Vision, Deep Learning, and OpenCV - PyImageSearch About a month ago, I spent a morning down at the beach, walking along the sand, letting the crisp, cold water lap against my feet. It was tranquil, relaxing. I then took out my iPhone and snapped a few photos of the ocean and clouds passing by. You know, something to remember the moment by. Because I knew that
A blog about technology, coding and other IT amenities. Faker�is a Python package that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you. The python project is open-source�and hosted by�Github. Thanks to readthedocs for hosting t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く