コンテンツへスキップ

笹島技研ブログ

  • このサイトについて
  • プライバシーポリシー

Python

Djangoの設定を環境で分けたらPyCharmでテストが動かなくなったので直す

2022年9月18日2022年8月27日 by 酒井 将司

背景 DjangoアプリケーションをHerokuへデプロイするようにしたので、setting.pyを以下のようにローカル環境用とHeroku環境用に分割しました。 utalog/ settings/ __init__.p … 続きを読む

カテゴリー Python、開発環境 タグ PyCharm コメントをどうぞ

TornadoのトレースデータをOneAgent SDKを使ってDynatraceに送信する

2021年5月9日 by 酒井 将司

PythonのOneAgent SDKを使って、TornadoのトレースデータをDynatraceで送る実装方法を紹介しています。

カテゴリー Python タグ Dynatrace、Tornado コメントをどうぞ

TornadoでGraceful Shutdownを実装する

2021年5月7日2021年5月7日 by 酒井 将司

Tornadoでシグナルハンドラを使ってGraceful Shutdownを実装する方法を紹介しています。

カテゴリー Python タグ Tornado コメントをどうぞ

behaveでステップパラメータをパース時に変換する

2021年5月4日 by 酒井 将司

behaveでステップの文からパラメータを読み込むときに変換処理を行う方法を紹介しています。

カテゴリー Python タグ BDD、behave コメントをどうぞ

[Python] S3互換オブジェクトストレージMinIOにファイルをアップロードする

2021年4月27日 by 酒井 将司

Amazon S3互換のオブジェクトストレージMinIOをDockerで起動して、boto3でファイルをアップロードするスクリプトを動かしてみました。

カテゴリー Python タグ Amazon S3、boto3、Docker、MinIO コメントをどうぞ

toxでテスト環境に環境変数を渡す

2021年4月24日 by 酒井 将司

環境変数をテスト環境に反映する場合は tox.ini に passenv を設定します。

カテゴリー Python コメントをどうぞ

[Python] toxでbehaveを実行する

2021年4月22日 by 酒井 将司

振る舞い駆動開発 (BDD) のフレームワーク behave を tox で実行する設定をまとめました。

カテゴリー Python タグ behave、tox コメントをどうぞ

[Python] toxでflake8を実行する

2021年4月21日 by 酒井 将司

Pythonのコードスタイルチェックを行うflake8をtoxで実行する設定をまとめました。

カテゴリー Python タグ flake8、tox コメントをどうぞ

[Python] requests で JSON を POST する

2021年4月20日 by 酒井 将司

requests パッケージを使って JSON を POST する実装例を記載しています。

カテゴリー Python タグ requests コメントをどうぞ

[Python] urllib.request で JSON を POST する

2021年4月19日 by 酒井 将司

Python に付属している urllib.request を使って JSON を POST する実装例を記載しています。

カテゴリー Python タグ urllib 1件のコメント
過去の投稿
ページ1 ページ2 ページ3 次 →

RSS

RSS フィード RSS - 投稿

RSS フィード RSS - コメント

最近の投稿

  • Heroku PostgreをHobby Basicプランに移行したメモ 2022年11月13日
  • Djangoの設定を環境で分けたらPyCharmでテストが動かなくなったので直す 2022年8月27日
  • PyCharm Djangoテンプレートが見つからない警告を直す 2022年7月26日
  • GitリポジトリでdataSources.xmlを追跡しない 2022年7月18日
  • Code Syntax Blockの言語設定を追加・削除する 2022年6月8日

カテゴリー

  • Docker (1)
  • Heroku (1)
  • Java (1)
  • Kubernetes (3)
  • Mac (2)
  • OSS (1)
  • Python (23)
  • シェルスクリプト (1)
  • ブログ (8)
  • プログラミング (2)
  • 開発環境 (3)

タグ

Amazon S3 (1) Apache Cassandra (2) Apache Kafka (1) asyncio (2) BDD (1) behave (2) boto3 (1) Code Syntax Block (1) Django (1) Docker (2) Dynatrace (1) flake8 (1) Git (2) Google AdSense (1) Google Cloud Platform (1) Google Compute Engine (1) Google Domain (2) Googleアナリティクス (1) Heroku (1) HTTPS (1) IntelliJ IDEA (1) Java (1) kubectl (1) Let's Encrypt (1) MinIO (1) Prometheus (4) PyCharm (3) Python (1) requests (1) Spring Data for Apache Cassandra (1) SSL (1) Tornado (6) tox (2) urllib (1) WordPress (7) WordPressプラグイン (1) サブドメイン (1) セキュリティ (3) デコレータ (3) メモ (1) ロギング (2)

アーカイブ

  • 2022年11月 (1)
  • 2022年8月 (1)
  • 2022年7月 (2)
  • 2022年6月 (2)
  • 2022年5月 (1)
  • 2021年11月 (2)
  • 2021年5月 (5)
  • 2021年4月 (25)
  • 2021年3月 (5)
2023年4月
月 火 水 木 金 土 日
 12
3456789
10111213141516
17181920212223
24252627282930
« 11月    

ランキング

  • にほんブログ村 IT技術ブログへ
© 2023 笹島技研ブログ • Built with GeneratePress
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
常に有効
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie期間説明
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
保存して同意