Generating and Decoding QRCodes using Python modules from Elixir app
Generating and Decoding QRCodes using Python modules from Elixir app
This tool is no longer actively maintained, parts of it may still work and I will accept pull requests to keep it up to date WARNING: FACEBOOK NOW DETECTS THIS AFTER A FEW 100 SEARCHES, USE ONLY DISPOSABLE FACEBOOK ACCOUNTS A Social Media Mapping Tool that correlates profiles via facial recognition by Jacob Wilkin (Greenwolf). Social Mapper is an Open Source Intelligence Tool that uses facial reco
Python + pytestにて、「pytest.raisesを使って例外をアサーションする」テストコードを作成する機会がありました。 ただ、書き方を誤りうまくアサーションできなかっため、メモを残します。 目次 環境 状況 原因 対応 ソースコード 環境 Python 3.6.0 unittest.mock.patchを使用 pytest 3.0.7 状況 テスト対象のメソッドtarget_method()は、以下とします。 pytest_raises.py from with_statement_library import Validator class Target(object): def target_method(self): """テスト対象のメソッド""" validator = Validator() validator.run() テスト対象クラスでimportしてい
Django + pytestでテストの初期化や後始末を書く場合、 django.test.TestCaseを使った、setUp()やtearDown() pytestを使った、classic xUnitスタイルのsetup_xxx()やteardown_xxx() pytestを使った、@fixtureのscope などのテストフィクスチャが使えます。 今回、それぞれがどのタイミングで動作するのか知りたくなったため、実際に試してみることにしました。 なお、pytest全体については以下が参考になりました。 [Python] 初中級者のためのpytest入門 - くろのて 目次 環境 django.test.TestCaseのsetUp/tearDownで書く pytestのxunitスタイルで書く pytestのfixtureで書く 今までのパターンを一つのテストクラスに書いてみる ソー
I am trying to crawl the latest reviews from google play store and to get that I need to make a post request. With the Postman, it works and I get desired response. but a post request in terminal gives me a server error For ex: this page https://play.google.com/store/apps/details?id=com.supercell.boombeach curl -H "Content-Type: application/json" -X POST -d '{"id": "com.supercell.boombeach", "revi
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 背景 Python製のスクレイピングフレームワークであるScrapyの存在を最近知ったのですが、ちょっと触ってみた感じ最強でした。 具体的な良い所としては以下が挙げられます。 いくつかの設定+簡潔な記述だけでスクレイピング処理が書ける プログラムベースなのでいざとなれば複雑な処理も書ける Scrapy Cloud というクラウドサービスと連携しているため、作成したクローラをコマンド一つでデプロイ&実行できる クラウドサービスを使えばスケールも簡単、スケジューリング機能、統計情報や監視もついている 概要と導入には以下の記事が大変参考になり
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く