SkillAgentSearch skills...

P3G

🚀Python Packages Project Generator-Your next Python package needs a bleeding-edge project structure.

Install / Use

/learn @Undertone0809/P3G
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="./docs/public/banner.png" alt="conftier Banner" style="border-radius: 15px;"> </p>

P3G - Python Packages Project Generator

English 中文

<div align="center">

Build status Dependencies Status 🚀 Your next Python package needs a bleeding-edge project structure.

Code style: black Pre-commit Semantic Versions License Coverage Report

Your next Python package needs a bleeding-edge project structure.

</div>

This version is fork from https://github.com/TezRomacH/python-package-template. As a comparison, the current project provides better compatibility with Windows and faster lint construction. And a more lightweight way to create.

TL;DR

If you don't want to read the whole README, just click the Use this template button and start coding your Python package right now! 🚀

pip install p3g -U
p3g generate

📚 Documentation

For complete documentation, visit: https://p3g.zeeland.top

🚀 Features

In this cookiecutter 🍪 template we combine state-of-the-art libraries and best development practices for Python.

Development features

Deployment features

Open source community features

🤯 How to use it

Installation

To begin using the template consider updating p3g

pip install -U p3g

then go to a directory where you want to create your project and run:

p3g generate

Input variables

Template generator will ask you to fill some variables.

The input variables, with their default values:

| Parameter | Default value | Description | |:---------------------:|:---------------------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | project_name | python-project | Check the availability of possible name before creating the project. | | project_description | based on the project_name | Brief description of your project. | | organization | based on the project_name | Name of the organization. We need to generate LICENCE and to specify ownership in pyproject.toml. | | license | MIT | One of MIT, BSD-3, GNU GPL v3.0 and Apache Software License 2.0. | | minimal_python_version | 3.7 | Minimal Python version. One of 3.7, 3.8 and 3.9. It is used for builds, GitHub workflow and formatters (black, isort and pyupgrade). | | github_name | based on the organization | GitHub username for hosting. Also used to set up README.md, pyproject.toml and template files for GitHub. | | email | based on the organization | Email for CODE_OF_CONDUCT.md, SECURITY.md files and to specify the ownership of the project in pyproject.toml. | | version | 0.1.0 | Initial version of the package. Make sure it follows the Semantic Versions specification. | | line_length | 88 | The max length per line (used for codestyle with black and isort). NOTE: This value must be between 50 and 300. | | using_tsinghua_mirror_source | false | The tsinghua poetry mirror source | | create_example_template | cli | If cli is chosen generator will create simple CLI applic

Related Skills

View on GitHub
GitHub Stars78
CategoryDevelopment
Updated7mo ago
Forks11

Languages

Python

Security Score

87/100

Audited on Aug 7, 2025

No findings