GithubHelp home page GithubHelp logo

msclock / ss-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serious-scaffold/ss-python

0.0 0.0 0.0 911 KB

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

Home Page: https://serious-scaffold.github.io/serious-scaffold-python/

License: MIT License

Shell 0.52% Python 1.45% Makefile 3.06% Jinja 93.47% Dockerfile 1.50%

ss-python's Introduction

Serious Scaffold Python

An evolving Python project template that covers the full development lifecycle.

CI CommitLint DevContainer Release Renovate Coverage PyPI PyPI - Python Version GitHub

pre-commit Checked with mypy Ruff Conventional Commits Pydantic v2 Serious Scaffold Python Open in Dev Containers

Warning

Serious Scaffold Python is in the Alpha phase. Frequent changes and instability should be anticipated. Any feedback, comments, suggestions and contributions are welcome!

Serious Scaffold Python

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

๐Ÿ”ง Prerequisites

Certain system-level Python applications are needed and it is recommended to use pipx to install and run them in isolated environments. Refer to pipx's installation instructions here. Once pipx is set up, install the necessary tools using the following commands.

# Copier: Template rendering for projects.
pipx install copier==9.2.0
# PDM: A modern Python package and dependency manager supporting the latest PEP standards.
pipx install pdm==2.15.0
# Pre-commit: Automates Git hooks for code quality checks.
pipx install pre-commit==3.7.0

๐Ÿš€ Quickstart

  1. Generate the project.

    copier copy gh:serious-scaffold/ss-python /path/to/project
  2. Navigate to the project directory and initialize a git repository.

    cd /path/to/project
    git init
  3. Set up the development environment.

    make dev
  4. Commit the initialized project.

    git add .
    git commit -m "Initialize from serious-scaffold."
  5. That's it! Feel free to focus on the coding within src folder.

๐Ÿ›ก Badge

Badge for markdown:

[![Serious Scaffold Python](https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json)](https://serious-scaffold.github.io/ss-python)

Badge for restructuredtext:

.. image:: https://img.shields.io/endpoint?url=https://serious-scaffold.github.io/ss-python/_static/badges/logo.json
    :target: serious-scaffold.github.io/ss-python

It will look like this: Serious Scaffold Python

๐Ÿ“œ License

MIT License, for more details, see the LICENSE file.

ss-python's People

Contributors

huxuan avatar serious-scaffold[bot] avatar dependabot[bot] avatar msclock avatar you-n-g avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.