python-package-dev
CommunityBuild, test, and publish research Python packages.
Software Engineering#pytest#pyproject.toml#pypi#sphinx#continuous-integration#python-packaging#research-software
Authorxjtulyc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you turn research code into a well-structured, installable Python package that is easy to test, document, and publish for reuse and reproducibility.
Core Features & Use Cases
- pyproject.toml-first packaging: Defines build system and project metadata using modern PEP 517/518 workflows for consistent packaging.
- Research-grade testing with pytest: Adds unit/integration tests and encourages measurable quality via coverage (pytest-cov).
- Sphinx documentation & API reference: Generates API docs from docstrings (autodoc) to support maintenance and academic adoption.
- Publishing for academic software: Prepares builds for distribution to PyPI (and optionally conda workflows) using standard tooling.
- Use Case: You have a statistical analysis toolkit used across multiple papers and notebooks; you want one reusable Python package with automated tests and Sphinx docs so collaborators can install and cite the same version.
Quick Start
Use this skill to set up your repository with a src-layout package, write tests with pytest, generate Sphinx API docs, and prepare a PyPI-ready release.
Dependency Matrix
Required Modules
buildpytestpytest-covsphinxsetuptoolstwine
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: python-package-dev Download link: https://github.com/xjtulyc/awesome-rosetta-skills/archive/main.zip#python-package-dev Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.