Py Packaging Pro

Modern standards for professional Python project configuration, dependency management, and distribution. Use when this capability is needed.

tomevault-io 9f85192 2 files · 1.8 KB Updated

File contents

Python Packaging Pro

Modern Python packaging revolves around pyproject.toml. This skill ensures your projects are reproducible and ready for distribution.

The Modern Stack

  • Build System: Use poetry or uv for dependency management.
  • Metadata: Configure everything in pyproject.toml.
  • Environment: Use strictly pinned lock files (poetry.lock).

Project Structure

project/
├── pyproject.toml
├── README.md
├── src/
│   └── project_name/
├── tests/
└── .github/workflows/  # CI/CD for testing and publishing

Best Practices

  • Explicit Dependencies: Separate main and dev dependencies.
  • Type Checking: Include mypy in your CI pipeline.
  • versioning: Follow Semantic Versioning (SemVer).

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/jcorpac--ai-skills-library--py-packaging-pro commit 9f851923ad

Frequently asked questions

npx skillmds@latest add tomevault-io/py-packaging-pro