本文へスキップ
Skillpedia
一般的なプログラミング48k · #5548

python-packaging

できること

このガイドでは、Pythonのコードパッケージを作成し、配布する方法を学びます。最新のツールを使ってプロジェクトを整理し、他の人が使えるように公開する方法を扱っています。

使う場面

  • ✓Pythonのコードを他の人と共有したいとき。
  • ✓インストール可能なコマンドラインツールを作るとき。
  • ✓プロジェクトをPyPI(Pythonのパッケージ「マーケットプレイス」)に公開する必要があるとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-packaging/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/python-packaging/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“共有するためのPythonパッケージを作るにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

`pyproject.toml`などの設定ファイルを使い、パッケージのビルドと配布の方法を定義します。その後、ツールを使ってコードをパッケージ化し、PyPIのようなリポジトリにアップロードする手順を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Python Packaging

Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.

Use this skill when

  • Creating Python libraries for distribution
  • Building command-line tools with entry points
  • Publishing packages to PyPI or private repositories
  • Setting up Python project structure
  • Creating installable packages with dependencies
  • Building wheels and source distributions
  • Versioning and releasing Python packages
  • Creating namespace packages
  • Implementing package metadata and classifiers

Do not use this skill when

  • The task is unrelated to python packaging
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「Pythonパッケージ」とは何ですか?

整理されたPythonコードのまとまりのことで、他の開発者や別のプロジェクトから簡単にインストールして使えます。

PyPIとは何ですか?

Python Package Indexの略で、開発者がPythonパッケージを共有・ダウンロードできる公開リポジトリです。

なぜ`pyproject.toml`を使うのですか?

Pythonプロジェクトのビルドとパッケージングの設定を一か所にまとめる、新しい形式のファイルです。処理が標準化され、シンプルになります。

詳細

作者による元の説明

Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5548
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル