Streamlit
https://gyazo.com/b7fd297ceda1e66a9b0eab7a08e8531f
Webアプリを簡単に作成できるPythonのフレームワーク
機械学習とかデータサイエンス向け
PythonのアプリをデプロイできるプラットフォームStreamlit Community Cloudがある
Streamlit Community CloudはPDMに対応していないので、 pdm export -o requirements.txt --without-hashes をやって requirements.txt を作ってあげる必要がある
pre-commit hookでやる方法がPDMのdocsで説明されている
code:yaml
# export python requirements
- repo: https://github.com/pdm-project/pdm
rev: 2.x.y # a PDM release exposing the hook
hooks:
- id: pdm-export
# command arguments, e.g.:
args: '-o', 'requirements.txt', '--without-hashes'
files: ^pdm.lock$
https://pdm-project.org/latest/usage/advanced/#export-requirementstxt