MPPT: A Modern Python Package Template.
-
Use this template repository to create your own project repository by clicking the "Use this template" button on GitHub or visiting MPPT.
-
Replace all instances of MPPT, shenxiangzhuang, and other template-specific details with your own information:
- Project name, author, and GitHub username in all files
- GitHub repository links in README.md badges and documentation
- Package name in pyproject.toml and code files
- Update LICENSE file with your name and year
-
Set up your development environment:
# Clone your repository git clone https://github.com/your-username/your-project.git cd your-project # Create the environment and install development dependencies uv sync # Install the prek Git hooks uv run prek install
-
Start developing your package by modifying the code structure as needed.
-
Run tests to ensure everything is working correctly:
uv run pytest
-
Preview documentation locally:
uv run --group docs zensical serve
Then visit http://127.0.0.1:8000 in your browser.
For more details on customization options, refer to the documentation.