Skip to main content

A development-focused Python project template with various integrations, configurations and modules.

Project description

Serious Scaffold Python

A development-focused Python project template with various integrations, configurations and modules.

GitHub CI Status codecov Documentation Status Code style: black Imports: isort Checked with mypy Serious Scaffold Python PyPI PyPI - Python Version

Many efforts have been made to ease the project setup, but most of them are only language-specified basic components. In practice, we have to deal with much more details, especially for team projects. Many commonly used tools and configurations need to be handled properly. Moreover, different people tend to have different favors in various aspects. If you are tired of the inefficient setup process and endless discussion, Serious Scaffold Python is here to terminate those for Python Projects.

If you find this helpful, please consider sponsorship.

Features

  • Basic Python project structure as a package with tests and documentation.
  • Categorized requirements management with constraints for different environments.
  • typer for CLI with tests and automatic documentation generation.
  • pydantic for settings with tests and documentation as module samples.
  • setuptools-scm to extract the version for the package.
  • black, isort, mypy, ruff and toml-sort as linters.
  • pre-commit with general hooks and local linters.
  • Makefile as the entry point for common actions.
  • VSCode settings with recommended extensions.
  • GitHub workflows for lint, tests, package and documentation preview.

Quickstart

  1. Install Copier.

  2. Install the necessary tools for development: pipenv and pre-commit.

  3. Generate the project with the copier command.

    copier copy gh:serious-scaffold/serious-scaffold-python /path/to/project
    
  4. Initialize the project with the git and make commands.

    cd /path/to/project
    git init
    git add .
    make dev
    make pre-commit
    git commit -a -m "Init from serious-scaffold-python."
    
  5. Happy hacking.

Roadmap

License

MIT

Contributing

Any suggestions, discussions and bug fixing are all welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serious-scaffold-0.0.15.tar.gz (51.9 kB view hashes)

Uploaded Source

Built Distribution

serious_scaffold-0.0.15-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page