All Projects → br3ndonland → template-python

br3ndonland / template-python

Licence: MIT license
Template repository for Python projects

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to template-python

ampjucks
Boilerplate and base project to create static websites with AMP, Nunjucks and Gulp
Stars: ✭ 18 (-10%)
Mutual labels:  templates, template-project
The Documentation Compendium
📢 Various README templates & tips on writing high-quality documentation that people want to read.
Stars: ✭ 4,306 (+21430%)
Mutual labels:  templates, template-project
Happy
Happy 🥳 | Rocketseat 💜 - NLW 03 👩‍🚀
Stars: ✭ 61 (+205%)
Mutual labels:  template-project, template-repository
react-typescript-starter
Minimalist React 18 starter template with TypeScript ⚛
Stars: ✭ 72 (+260%)
Mutual labels:  template-project, template-repository
NextCommunity.github.io
Join FREE: Community of open-source programmers and software engineers.
Stars: ✭ 29 (+45%)
Mutual labels:  pre-commit, prettier
pre-commit-hooks
Standardizing our code quality tooling 🛠️
Stars: ✭ 44 (+120%)
Mutual labels:  pre-commit, prettier
manifest-design
vue开发的商品标签设计插件 && 系统,功能包含:设计,预览,打印
Stars: ✭ 133 (+565%)
Mutual labels:  templates
coderplex
(Old) Frontend for coderplex.org
Stars: ✭ 40 (+100%)
Mutual labels:  prettier
SPX-GC
SPX is a graphics control client for live video productions and live streams using CasparCG, OBS, vMix, or similar software.
Stars: ✭ 178 (+790%)
Mutual labels:  templates
webpack-html-boilerplate
Boilerplate for building html templates
Stars: ✭ 17 (-15%)
Mutual labels:  prettier
ionic-vue-mobile-template-01
Hybrid app template built with vue, ionic and capacitor.
Stars: ✭ 47 (+135%)
Mutual labels:  templates
nodejs-starter-template
You can use this template when you're starting a new project by using Node.js, Express, and Mongoose. It contains general concepts, you can customize it according to your needs.
Stars: ✭ 54 (+170%)
Mutual labels:  template-project
qt-qml-project-template-with-ci
Template for a Qt/QML application with batteries included: GitHub C.I. for your QML app; automated gui testing with Xvfb; automatic code-format checks and more. Compiles for Desktop and Mobile (Linux, Mac, Windows, and Android).
Stars: ✭ 33 (+65%)
Mutual labels:  template-project
advanced-spring-scaffold
This project provides an advanced baseline to help you kick start a Spring project.
Stars: ✭ 21 (+5%)
Mutual labels:  prettier
sapper-tailwind2-template
🐝 Sapper and Tailwind 2.0 with all the nuts and bolts 🍯 TypeScript, ESLint, Prettier
Stars: ✭ 34 (+70%)
Mutual labels:  prettier
friendly-vue-starter
Full featured Vue.js starter project for browser apps
Stars: ✭ 37 (+85%)
Mutual labels:  prettier
eslint-config
🚀 Jetrockets Standarts | ESLint
Stars: ✭ 20 (+0%)
Mutual labels:  prettier
eslint-config-welly
😎 ⚙️ ESLint configuration for React projects that I do. Feel free to use this!
Stars: ✭ 21 (+5%)
Mutual labels:  prettier
vagrant-templates
Vagrantfiles for self-contained development/test environments.
Stars: ✭ 28 (+40%)
Mutual labels:  templates
typed flags
Type-safe and human-readable set of bool flags
Stars: ✭ 23 (+15%)
Mutual labels:  templates

Python template repository

Imports: isort Code style: black pre-commit ci

Brendon Smith (br3ndonland)

Description

Welcome! This is a template repository for Python projects, engineered for use as a GitHub template repository. To use the template, click on "Use this template" or browse to template-python/generate. GitHub will create a new repository without the commit history from this one.

The template-python repo name can be replaced with a one-line terminal command: git grep -l 'template-python' | xargs sed -i '' 's/template-python/repo-name/g' (replace repo-name with the name of the repository you generate). There may also be a few edits to the pyproject.toml needed. See the quickstart section for more.

Another common approach, especially for Python, is to use cookiecutter. In a cookiecutter repo, the developer adds template variables throughout, like {{cookiecutter.repo_name}}. When a user runs cookiecutter using the template repository, the template variables are replaced with the information the user provides. This repo is simple enough that I haven't needed to add cookiecutter yet.

Copier is similar to cookiecutter, with some additional benefits. Copier is being refactored in preparation for version 6, and I may consider updating this repo for Copier 6.

Quickstart

cd path/to/repo
# Replace instances of template-python with new repo name
# In the command below, use your repo name instead of 'repo-name'
❯ git grep -l 'template-python' | xargs sed -i '' 's|template-python|repo-name|g'
❯ git grep -l 'templatepython' | xargs sed -i '' 's|templatepython|repo-name|g'
# Install virtual environment with poetry: https://python-poetry.org/docs/
❯ poetry install
❯ poetry shell
# Install pre-commit hooks
.venv ❯ pre-commit install
# Try running the tests
.venv ❯ pytest

Further information

See CONTRIBUTING.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].