The Web framework for perfectionists with deadlines. Last updated May 27, 2013
PerlでいうところのTest::TCP相当のことをPythonでやるライブラリをPyPIに上げました。ようやくPyPIデビューです。 https://github.com/nekoya/python-tcptest https://pypi.python.org/pypi/tcptest Test::TCPはPerlでテスト時に一時的にサーバを起動したりする処理の基盤となるライブラリです。同等のことをPythonでやるのに適当なものが見当たらなかったので自分で書いたという経緯です。 社内では以前からこの仕組みを使ってテストを書いていたのですが、自社のconfig系のライブラリとの結合を排除して、再構成したものになります。今回こうして公開するにあたって、関数名をオリジナルのPerl版に近付けたり、TestServerの実装を全面的に見直したりしました。 tcptestパッケージにはTest
はてなブログに移行して最初の記事はやはりPythonネタにしました。 はてなブログいいですね。デザインの編集がやりやすくなったのと、Markdownで書けるのが素晴らしいです。 PyCon 2013の動画を見ていたら、素晴らしい"Transforming Code into Beautiful, Idiomatic Python"という発表を見つけたのでそのまとめです。 今どきのPythonコードのベターな書き方を紹介しています。 Transforming Code into Beautiful, Idiomatic Python ... スライドはこちらにありました 結構長くなってしまったので、知ってる項目は読み飛ばしてもらえばと思います。 ループの基本 整数のループ まずは基本のループ。 Cのfor int i=0; i<6; i++をPythonで単純に書くとこうなります。 for
Unverified details These details have not been verified by PyPI Project links Homepage Meta License: MIT License (MIT) Author: holger krekel Classifiers Development Status 4 - Beta Framework tox Intended Audience Developers License OSI Approved :: MIT License Operating System MacOS :: MacOS X Microsoft :: Windows POSIX Programming Language Python Python :: 2.7 Python :: 3.4 Python :: 3.5 Python ::
Unverified details These details have not been verified by PyPI Meta License Expression: MIT SPDX License Expression Author: Andreas Kloeckner Requires: Python ~=3.8 Provides-Extra: completion Classifiers Development Status 4 - Beta Environment Console Console :: Curses Intended Audience Developers Natural Language English Operating System POSIX Unix Programming Language Python Python :: 3 Topic S
概要 With Python 3 being the future of Python while Python 2 is still in active use, it is good to have your project available for both major releases of Python. This guide is meant to help you figure out how best to support both Python 2 & 3 simultaneously. もしあなたが標準 Python ライブラリではなく拡張ライブラリでの移植手段を探しているならば Python 3 への拡張モジュール移植 を参照してください。 If you would like to read one core Python developer’s take on w
Fabric, Cuisine and Watchdog for server administration in PythonAI-enhanced description The document details the use of Python libraries Fabric, Cuisine, and Watchdog for server administration and application deployment. It discusses the shift from dedicated servers to virtual servers and the need for efficient server setup, management, and configuration. Fabric simplifies SSH interactions, while
by @dekokun on 2013/04/07 19:30 Tagged as: Python, Fabric, デプロイツール. 2013/04/09 追記 意外と反響があるようなので、Tips追加しました。 2013/05/10 追記 並列実行について調べたのでついでに追記 「次のプロダクトはシンプルなデプロイツールだと噂のCinnamonでも使ってみるかー」と言っていたら、「Cinnamonは使ってるユーザ数が少なそうだし同様のことが行えるFabricのほうがいいんじゃないですかね。」というツッコミをいただき、今回はPerlのプロジェクトでもないためFabricを使用することにしました。 初めて触るFabric、やはり初学者にはいろいろとよくわからない部分があったため、はまって解決したことや便利なTipsなどをつらつらと列挙していきます。 なお、以下情報はPython2.7及びF
Unverified details These details have not been verified by PyPI Project links Changelog Documentation Homepage Issue Tracker Source Meta License Expression: MIT SPDX License Expression Author: Mike Bayer Requires: Python >=3.9 Provides-Extra: tz Classifiers Development Status 5 - Production/Stable Environment Console Intended Audience Developers Operating System OS Independent Programming Language
Python 3.14.0 documentation Welcome! This is the official documentation for Python 3.14.0. Documentation sections: What's new in Python 3.14? Or all "What's new" documents since Python 2.0 Tutorial Start here: a tour of Python's syntax and features Library reference Standard library and builtins Language reference Syntax and language elements Python setup and usage How to install, configure, and u
The most frequent question we heard at PyCon this weekend, was how do we use Python at Spotify. Hopefully this post answers the question! At Spotify the main two places we use Python are backend services and data analysis. Python has a habit of turning up in other random places, as most of our developers are happy programming in it. Spotify’s backend consists of many interdependent services, conne
Bakthat: Python backup framework and command line tool¶ Release v0.4.0. Bakthat is a MIT licensed backup framework written in Python, it’s both a command line tool and a Python module that helps you manage backups on Amazon S3/Glacier. It automatically compress, encrypt (symmetric encryption) and upload your files. Here are some features: Compress with tarfile Encrypt with beefish (optional) Uploa
© Copyright Doug Hellmann. | | Last updated on Feb 17, 2013. | Created using Sphinx. | Design based on "Leaves" by SmallPark
追記: t2yさんが翻訳してくださいました。 argparseコマンドラインオプションと引数の解析 python 2.7からコマンドラインの引数を解釈するargparseモジュールが標準で入りました。 従来使われてきたoptparseは廃止されます。ただし、広く使われているところから他の廃止されるモジュールとは異なり消されることはなく、警告も標準では出ません。 optparseからargparseに移行する理由や廃止の進め方はPEP 389に記載されています。 以下にPEP 389の和訳を(訳に自信がない場所がありますが)行ないましたので参考にしてください。 http://www.tdoc.info/PEP-ja/389.html というわけで、ざっとargparseの使い方を勉強したのでここに公開します。間違ってたらご指摘ください。 なお、ちゃんとしたドキュメントは http://doc
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く