> [!attention] > #2025/01/03 **現在では以下のように[[Trusted Publishing]]がオススメ。** > > > If you are publishing to PyPI from a CI provider that supports Trusted Publishing, we strongly recommend using Trusted Publishing instead. ## APIトークンの作成 - [[APIトークンを作成 (PyPI)|APIトークンを作成]] ## APIトークンの設定とアップロード アップロードに使うツールによって設定場所は変わる。 - [[PoetryでAPIトークンを使ってPyPIにパッケージをアップロード(publish)]]