You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Contents¶ PyPI: https://pypi.python.org/pypi/hy Source: https://github.com/hylang/hy Discussions: https://github.com/hylang/hy/discussions Stack Overflow: The [hy] tag Hy is a Lisp dialect that's embedded in Python. Since Hy transforms its Lisp code into Python abstract syntax tree (AST) objects, you have the whole beautiful world of Python at your fingertips, in Lisp form. To install the latest r
Fabricは指定したコマンドを各ホストで実行する実行モデルです。この場合は特にホストの指定がなかったので、全部ローカルで、一回実行することになります。 これは結構つまんないので、本当の例を見ましょう。これは最近、仕事で作ったコマンドです。Nginxサーバーでメンテ画面を出すようなコマンドです。各ロードバランサーで実行します。 from fabric.api import run, cd, abort, require, sudo, env from fabric.decorators import runs_once, roles from fabric.contrib.console import confirm ... @roles('loadbalancers') def start_maintenance(): """ メンテナンス画面に切り替える """ _production
Nagiosのプラグイン作成や設定ファイル操作にpynagが超便利! 2013-06-12 Nagiosの設定ファイルをパースする簡単な方法ないかなと思って調べてたら、pynagという超便利なパッケージ発見。日本語の情報ほとんどないけど、Fedoraの標準パッケージになっているってことは割と一般的なんだろうか。 Nagiosのプラグインを簡単に作りたい Nagiosの設定ファイルをパースして値を取りたい Nagiosの設定をコマンドラインやプログラムから取得・変更したい って時に重宝する。pynagという名の通り、pythonで書かれている。公式ページのそのまんま訳に近いけど、使い方ご紹介。 インストール Fedoraの最近のバージョンには標準で含まれており、CentOSやRHELならepelを使えるようにしておけばyumでインストールできる。 $ sudo yum install htt
factory_boy is a fixtures replacement based on thoughtbot's factory_bot. As a fixtures replacement tool, it aims to replace static, hard to maintain fixtures with easy-to-use factories for complex objects. Instead of building an exhaustive test setup with every possible combination of corner cases, factory_boy allows you to use objects customized for the current test, while only declaring the test
python daemon that munches on logs and sends their contents to logstash Download .zip Download .tar.gz View on GitHub Requirements Python 2.6+ Optional zeromq support: install libzmq (brew install zmq or apt-get install libzmq-dev) and pyzmq (pip install pyzmq==2.1.11) Installation Using PIP: From Github:: pip install git+git://github.com/josegonzalez/beaver.git#egg=beaver From PyPI:: pip install
⚠️ Work in Progress. This is a draft. Submit a PR to suggest changes. Open Manifesto for AI Agents Touching Production Systems Governing the Shift from Automation to Autonomy. A set of guiding principles for AI agents operating in production systems. We are standing at the edge of the Probabilistic Era. For the last twenty years, professional automation was built on the foundation of Determinism.
NOTE: 2026-06-05: Bleach is no longer maintained. There will be no future releases including for security issues. See issue: #698 Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes. Bleach can also linkify text safely, applying filters that Django's urlize filter cannot, and optionally setting rel attributes, even on links already in the text. Blea
This document summarizes Andy McKay's presentation on the anatomy of Mozilla's large Django site. It discusses performance optimizations including caching, reducing SQL queries, async tasks with Celery, and localization. It also covers code reuse through libraries like Bleach and JavaScript testing. Testing, linting, and continuous integration with Hudson were also mentioned.
What Is Tastypie? Tastypie is a webservice API framework for Django. It provides a convenient, yet powerful and highly customizable abstraction for creating REST-style interfaces. Tastypie makes exposing your models easy, but gives you full control over what you expose, letting you abstract away the database as much as needed. Tastypie also makes it easy to integrate with non-ORM data sources. Tas
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く