#author("2024-04-30T22:26:31+09:00","default:irrp","irrp")
#author("2024-04-30T22:28:14+09:00","default:irrp","irrp")
→Python関連

→Webアプリ開発

#contents


*一般 [#n07543ac]
-[[Python だけで作る Webアプリケーション(フロントエンド編)ー設計方針 #Python - Qiita>https://qiita.com/kins/items/6cb8a30b41a386f36f0e]] 2024.3
-[[Python だけで作る Webアプリケーション(フロントエンド編)ーはじめに #Python - Qiita>https://qiita.com/kins/items/e53411d25673734d4f7b]] 2024.2

-[[ASGIってなんだ? - CLOVER🍀>https://kazuhira-r.hatenablog.com/entry/2024/02/05/225835]] 2024.2

*Streamlit [#a4ec2a84]
→OpenAIのAPI

-[[『30 Days of Streamlit』を3日でやってみた #1 (Day1〜Day10) #30DaysOfStreamlit | DevelopersIO>https://dev.classmethod.jp/articles/30days-of-streamlit-challenge-vol-1_day01-to-day10/]] 2024.4
-[[『30 Days of Streamlit』を3日でやってみた #2 (Day11〜Day20) #30DaysOfStreamlit | DevelopersIO>https://dev.classmethod.jp/articles/30days-of-streamlit-challenge-vol-2_day11-to-day20/]] 2024.4
-[[『30 Days of Streamlit』を3日でやってみた #3 (Day21〜Day30) #30DaysOfStreamlit | DevelopersIO>https://dev.classmethod.jp/articles/30days-of-streamlit-challenge-vol-3_day21-to-day30/]] 2024.4

-[[Python Web UIフレームワークで作るデスクトップアプリ | gihyo.jp>https://gihyo.jp/article/2024/04/monthly-python-2404]] 2024.4

-[[社内向けStreamlitのデプロイの現実解>https://zenn.dev/dataheroes/articles/2eae5a5ad92534]] 2024.4

-[[Streamlitの面白い&便利なエレメントまとめ #Python - Qiita>https://qiita.com/sugimochi_1019/items/865d79ad24add9275eb6]] 2024.4

-[[センサーデータをリアルタイムに可視化するStreamlitアプリを作る!(with ESP32) #Python - Qiita>https://qiita.com/toru_hiyama/items/92fb9112c8a205ed9198]] 2024.3

-[[Streamlitの後継者を求めて? #Python - Qiita>https://qiita.com/inoshun/items/a41542cec039184aedbb]] 2024.2
--streamsync

-[[Streamlitの後継者を求めて #Python - Qiita>https://qiita.com/inoshun/items/4f9075bbba47f7bb0570]] 2024.2
--Solara, Taipy, Reflex

-[[Amazon Bedrock の基盤モデルと OpenAI の GPT モデルに対して一括でテキスト生成ができるアプリケーションを作ってみた | DevelopersIO>https://dev.classmethod.jp/articles/amazon-bedrock-open-ai-gpt-app/]] 2023.12

-[[Streamlit入門 – テーマの変更, ページの設定 | 楽しみながら理解するAI・機械学習入門>https://data-analytics.fun/2022/07/10/streamlit-theme-page-settings/]] 2023.12

-DBの取得結果でDBの値を取得するときにキャッシュされた値が返らないようにするバッドノウハウ 2023.11
-- パラメータに datetime.now() (毎回値が変わるもの)を渡すとキャッシュではなくDB取得をやり直してくれたが…本当にこんなことをしないといけないのか?
 conn: SQLConnection = st.connection("mysql", type="sql")
 df: DataFrame = conn.query(
    sql, params={"user_id": user_id, "update_time": datetime.now()}, ttl=600
 )


-[[AWS上にStreamlitの動作環境を作ってみた #Python - Qiita>https://qiita.com/tommy_aka_jps/items/5db7bd157aa5d424712e]] 2023.11

-[[Streamlitの使い方の細かいところ>https://zenn.dev/ohtaman/articles/streamlit_tips#%E7%A4%BE%E5%86%85%E5%90%91%E3%81%91%E3%81%AB%E3%81%8A%E6%89%8B%E8%BB%BD%E3%81%AB%E3%83%87%E3%83%97%E3%83%AD%E3%82%A4%E3%81%A7%E3%81%8D%E3%82%8B%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B]] 2023.11
--アップロードしたファイルを保存する
--ファイルをダウンロードする
--複数ページのアプリを作る
--クエリパラメーターを利用する
--編集可能なテーブルを使う
--地図を柔軟に利用する
--簡易的な認証・認可の機能をつける
--リクエストヘッダを取得する
--非同期処理を行う
--Celery を使って本格的なジョブキューを作る
--Streamlit アプリを公開する
--社内向けにお手軽にデプロイできる環境を作る

-[[Connect Streamlit to MySQL - Streamlit Docs>https://docs.streamlit.io/knowledge-base/tutorials/databases/mysql]] 2023.11

-[[Streamlitを使ってチャットアプリを簡単に作る>https://zenn.dev/nishijima13/articles/7ed472f51240b5]] 2023.11
--ユーザのアイコン表示

-[[PyCaretをstreamlitで動かしたい男? #Python - Qiita>https://qiita.com/MAsa_min/items/4e654a6cb5c3cc976fff]] 2023.11

-[[Streamlitの備忘録>https://zenn.dev/canard0328/articles/streamlit_how_to_use]] 2021

-[[Streamlit で threading や multiprocessing を使った非同期処理を行う>https://zenn.dev/ohtaman/articles/streamlit_start_stop]] 2023.11

-[[Streamlitの並列処理の多重度について調べてみたよ⛰️ #Python - Qiita>https://qiita.com/uezo/items/78c28c9eba65d7b46c9d]] 2023.11
--100多重くらいまでならいける

-StreamlitAPIException: set_page_config() can only be called once per app page, and must be called as the first Streamlit command in your script. というエラー
--Streamlitの set_page_config() 関数が適切な方法で使用されていない場合に発生します。
--このエラーメッセージが示す主な問題は次のとおりです:
--一度だけ呼び出す必要がある: set_page_config() はアプリケーションのライフサイクル中に1回だけ呼び出す必要があります。もし複数回呼び出されると、このエラーがトリガーされます。
--最初のコマンドとして呼び出す: set_page_config() 関数は、他のStreamlitコマンドよりも先に、つまりスクリプトの最初に呼び出す必要があります。これは、ページ設定が初期化段階で行われ、後から変更されることを防ぐためです。

-[[Streamlitでログイン機能を実装してみる>https://zenn.dev/lapisuru/articles/3ae6dd82e36c29a27190]] 2023.11
-[[streamlit authenticatorを用いてログインページを作る #Python - Qiita>https://qiita.com/guunonemodemai/items/1b9ffd8702d4e01075dd]] 2022

-[[Streamlitでのページ遷移とポップアップボタンの実装 #Python - Qiita>https://qiita.com/gudapys/items/d82216d4fdfbd67cbd91]] 2023.10

-[[魔法みたいな機能満載のStreamlit。その中でもとびっきりの魔法、キャッシュについて - nikkie-ftnextの日記>https://nikkie-ftnext.hatenablog.com/entry/streamlit-magical-cache]] 2020

-[[Take your Streamlit apps to the next level with GPT-4 (part 1)>https://blog.streamlit.io/take-your-streamlit-apps-to-the-next-level-with-gpt-4/]] 2023.10

-[[streamlitの仕組み調査 #Python - Qiita>https://qiita.com/yasudakn/items/089aaf4488fc6a8396ae]] 2023.10

-[[Streamlitのパフォーマンスに対処するフレームワークStreamsyncについて - Qiita>https://qiita.com/yasudakn/items/4ced1510eea19b952aa0]] 2023.10

-[[Streamlitで作ったアプリのEC2ホスティング&デプロイ自動化 - Qiita>https://qiita.com/take314/items/51c58859dde262916b47]] 2023.2

-[[【Python】Streamlit Sharingで簡単・爆速でWebページをデプロイする! - Qiita>https://qiita.com/kagami_t/items/c54702e271d729948e24]] 2023.8

-[[Python だけで作る Web アプリケーション(フロントエンド編)>https://zenn.dev/alivelimb/books/python-web-frontend]] 2023.8

-[[社内教育で簡単な汎用streamlitアプリ作成する - Qiita>https://qiita.com/inoshun/items/2b0691c74ca2090ee107]] 2023.8

-[[StreamlitでPythonデータ分析ダッシュボードをサクッと作ってAWSにデプロイ - Qiita>https://qiita.com/tkmz/items/ab0954cd9a70594bb88b]] 2023.3

-[[Streamlit Community CloudでOpenCVアプリを公開する>https://zenn.dev/shimat/articles/baee671a1a00d0]] 2022

-[[Python 初心者でも簡単!自作の OpenAI チャットアプリを Streamlit で公開してみた | DevelopersIO>https://dev.classmethod.jp/articles/deploy-python-openai-chat-app-with-streamlit/]] 2023.7

-[[Yahoo APIで取得した現在の降水量をstreamlitで地図上に3D棒グラフ表示する - Qiita>https://qiita.com/miso_taku/items/7d532d87b3a7d675466c]] 2023.1

-[[Amazon EC2でStreamlitを使った「新規感染者数可視化アプリ」を動かしてみる - Qiita>https://qiita.com/TaishiOikawa/items/d6319d767ef920810056]] 2021



**Streaming表示問題 [#z1cadf76]
-[[LangchainをStreamlit上で文字ストリーミングする方法 #Python - Qiita>https://qiita.com/yazoo/items/b318adbab0d5f3f58dc8]] 2023.11

-[[LangChainのレスポンスをStreamlitでStream表示する #Python - Qiita>https://qiita.com/papasim824/items/843e3eb407c73af323f7]] 2023.5

-[[StreamlitでChatGPTのStreamを表示する #Python - Qiita>https://qiita.com/suzuki_sh/items/64d84c417cba43cd6351]] 2023.4

-[[Streamlitを使ってChatGPTのようなチャットアプリを簡単に作る>https://zenn.dev/nishijima13/articles/3b1a50b8728261]] 2023.11
--ストリーミング表示

-[[Streamlit | 🦜️🔗 Langchain>https://python.langchain.com/docs/integrations/callbacks/streamlit]] 2023.11
--レスポンス表示の公式ドキュメント StreamlitCallbackHandler



**Debug [#l6386be0]
-[[vscode で streamlit アプリを統合デバッグする方法 #VSCode - Qiita>https://qiita.com/coleyon/items/a37ac950661e64a1d3ff]] 2020
--※ローカル環境でのデバッグです


**入門記事 [#g5ab9e0a]
-[[データ可視化のためのプラットフォームの基礎: Streamlit - あつまれ統計の森>https://www.hello-statisticians.com/python/data-viz-streamlit-01.html]] 2023.3

-[[Streamlit 入門|npaka>https://note.com/npaka/n/n29b5e8088fe5]] 2023.9

-[[Streamlitに入門してみる - Qiita>https://qiita.com/goooospuuuurs/items/cacfd5946d39c8445e3d#fn1]] 2020


**公式 [#o930d453]
-[[Get started - Streamlit Docs>https://docs.streamlit.io/library/get-started]] 2023.10
-[[Main concepts - Streamlit Docs>https://docs.streamlit.io/library/get-started/main-concepts]] 2023.10

-[[Session State - Streamlit Docs>https://docs.streamlit.io/library/api-reference/session-state#use-callbacks-to-update-session-state]] 2023.10

-[[Caching - Streamlit Docs>https://docs.streamlit.io/library/advanced-features/caching]] 2023.10

-[[Multipage apps - Streamlit Docs>https://docs.streamlit.io/library/get-started/multipage-apps]] 2023.10

-[[Connections and databases - Streamlit Docs>https://docs.streamlit.io/library/api-reference/connections]] 2023.11

-[[How to use Streamlit with VS Code — Awesome Streamlit documentation>https://awesome-streamlit.readthedocs.io/en/latest/vscode.html]] 2023.10

-[[streamlit/streamlit: Streamlit — A faster way to build and share data apps.>https://github.com/streamlit/streamlit]] 2023.10


*Flask [#hc156cf9]

-[[flask入門・環境構築 - Qiita>https://qiita.com/gamelike319/items/eb8d8cb93bc562039ffa]] 2022
-[[【保存版】30分でFlask入門!Webアプリの作り方をPythonエンジニアが解説 | テックダイアリー>https://tech-diary.net/flask-introduction/]] 2022.11
-[[Flaskの簡単な使い方 - Qiita>https://qiita.com/zaburo/items/5091041a5afb2a7dffc8]] 20217
-[[Python3.7 windows10環境で『Flask』の最小構成を試す - なろう分析記録>https://karupoimou.hatenablog.com/entry/2019/05/20/191515]] 2019

-[[Python3.7でテンプレートエンジン『Jinja2』を使う方法 - なろう分析記録>https://karupoimou.hatenablog.com/entry/2019/05/20/112231]] 2017


**公式 [#a4a060be]
-[[Flask · PyPI>https://pypi.org/project/Flask/]] 2023.6
-[[Welcome to Flask — Flask Documentation (2.3.x)>https://flask.palletsprojects.com/en/2.3.x/]] 



*Django [#yc74d59e]
→Python関連

-[[DjangoでToDoリストを作ってみる #Python - Qiita>https://qiita.com/erika_h/items/a7b1aef7c809cc41ee51]] 2023.12

-[[【Docker】入門:Djangoのコンテナを作成 - Qiita>https://qiita.com/hirotakasengoku999/items/53a31491791bff4422a7]] 2023.10

-[[Django – CS50 for Japanese: コンピュータサイエンスの入門>https://cs50.jp/web/2020/django/]] 2023.4

-[[Djangoでメール送信を実装してみる - シー・エス・エス イノベーションラボ(ブログ)>https://blog.css-net.co.jp/entry/2023/03/28/112402]] 2023.3

-[[はじめての Django アプリ作成、その 1 | Django ドキュメント | Django>https://docs.djangoproject.com/ja/4.1/intro/tutorial01/]] 2023.3

-[[Djangoを新規案件で取り扱うことになったので概要をまとめてみます。1 - Qiita>https://qiita.com/raisack8/items/2070b28284c6874554bf]] 2023.3
--[[Djangoを新規案件で取り扱うことになったので概要をまとめてみます。2 - Qiita>https://qiita.com/raisack8/items/c47159f5fce665bcfbb8]] 2023.3
--[[Djangoを新規案件で取り扱うことになったので概要をまとめてみます。3 - Qiita>https://qiita.com/raisack8/items/e5f9348b2e0c4779553e]] 2023.3


-[[python、djangoのurls.pyで設定するnameってなんやねん?? - Qiita>https://qiita.com/sr2460/items/11a1129975913ed584d3]] 2019

-[[PythonのWeb frameworkのパフォーマンス比較 (Django, Flask, responder, FastAPI, japronto) - Qiita>https://qiita.com/bee2/items/0ad260ab9835a2087dae]] 2020
--performanceは「japronto >>> FastAPI > responder >>> Flask ~ Django

-[[第1弾:pythonの環境構築をしよう!これから作るアプリLunchBoxについて | キャスレーコンサルティング株式会社>https://www.casleyconsulting.co.jp/blog/engineer/15275/]] 2022.11
--PyCharm, Django

-[[私がDjangoでWeb開発を行う理由>https://zenn.dev/nameless_sn/articles/why_django_development]] 2022.10

-http://www.djangoproject.com/
--PythonによるWebフレームワーク

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS