An evolving Python project template that covers the full development lifecycle.
Project description
Serious Scaffold Python
An evolving Python project template that covers the full development lifecycle.
[!WARNING] Serious Scaffold Python is in the Alpha phase. Frequent changes and instability should be anticipated. Any feedback, comments, suggestions and contributions are welcome!
Setting up a project often involves more than just establishing a basic project structure. It involves tasks like integrating GitHub Actions or GitLab CI/CD, configuring lint, test and documentation, as well as implementing settings, logging and other frequently used modules. Serious Scaffold Python streamlines this process. Powered by copier, bootstrapping a new Python project can be done with a single command. By answering a few questions, the project will be fully configured and ready for development. Furthermore, the project can be updated alongside the advancement of the template.
If you find this helpful, please consider sponsorship.
🛠️ Features
- Project setup and template update with copier.
- Manage dependencies and virtual environments with pdm.
- Build with setuptools and versioned with setuptools-scm.
- Lint with pre-commit, mypy, ruff, pyproject-fmt and commitlint.
- Test with pytest and coverage for threshold and reports.
- Documentation with sphinx, the furo theme and MyST parser for markdown.
- Develop Command Line Interfaces with typer.
- Manage configurations with pydantic-settings.
- Dev container for development and GitLab CI/CD.
- Automate dependency updates with Renovate.
- Automate version management and release with semantic-release.
- Versioned documentation and pull request previews with Read the Docs.
- Adapted configuration for GitHub, GitLab and self-managed GitLab.
- Continuous Integration for Linux, MacOS and Windows [GitHub Only].
- Continuous Integration for multiple Python versions.
- Release with documentation, package and production container.
- Centralize common actions with a unified Makefile.
- VSCode settings with recommended extensions.
🔧 Prerequisites
pipx is required to manage the standalone tools used across the development lifecycle. Please refer to pipx's installation instructions here. Once pipx is set up, install the copier for project generation using the following command:
pipx install copier==9.3.1
🚀 Quickstart
-
Generate the project.
copier copy gh:serious-scaffold/ss-python /path/to/project
-
Navigate to the project directory and initialize a git repository.
cd /path/to/project git init
-
Install standalone tools.
make prerequisites
-
Set up the development environment.
make dev
-
Commit the initialized project.
git add . git commit -m "Initialize from serious-scaffold."
-
That's it! Feel free to focus on the coding within
src
folder.
📜 License
MIT License, for more details, see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ss_python-0.0.55.tar.gz
.
File metadata
- Download URL: ss_python-0.0.55.tar.gz
- Upload date:
- Size: 493.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.12.3 Linux/6.8.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be6427c81d2a46fb5736f73e933f896155bde7b8d4619ea9007f456f08824fbf |
|
MD5 | 23927886a8f9bee03263d6a75717eb3c |
|
BLAKE2b-256 | ba713a4091e9e868639c1f66d3b5a6984a239f36f03e7f194ac005743b4cffdf |
File details
Details for the file ss_python-0.0.55-py3-none-any.whl
.
File metadata
- Download URL: ss_python-0.0.55-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.2 CPython/3.12.3 Linux/6.8.0-1015-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3422f6d1e16944f6d31d801c4018665322979ece3e66105f5f2187794a37168d |
|
MD5 | b29fa29f6946a8c44c099835d177c729 |
|
BLAKE2b-256 | 900c2f0c1b2fdcec0bdb0776fe279b448881cf6228059f7d9ba5cbf414c0caee |