Skip to main content

A dummy package for quickly starting typical Python projects.

Project description

blank-project

PyPI Version Development Status PyPI - Python Version Downloads PyPI - License

A dummy package for quickly starting typical Python projects.

Features:

  • Basic .gitignore;
  • GitHub actions for builds and checks;
  • Acceptable directory structure at once;
  • Regular automation based on a Makefile;
  • Templates for basic Python badges into README.md.
  • Single point of project specification - pyproject.toml;
  • Acceptable settings for: black, isort, flake8, mypy, pydocstyle and coverage;

Usage

  1. Clone repo:
$ git clone https://git.peterbro.su/peter/py3-blank-project.git
  1. Run init.sh with your project name:
$ cd py3-blank-project
$ NAME=<projname> \
  VERSION=<version|0.1.0> \
  AUTHOR=<name> \
  EMAIL=<author email> \
  LICENSE=<license|MIT> \
  ./init.sh && cd -P .
  1. Change description, keywords and classifiers into pyproject.toml.

  2. Change README.md and LICENSE files.

A new blank Python project is ready, create gh-repo and go forward!

Available make commands

Dependencies

  • make deps-dev - Install only development dependencies.
  • make deps-build - Install only build system dependencies.
  • make deps - Install all dependencies.

Distributing

  • make build-sdist - Build a source distrib.
  • make build-wheel - Build a pure Python wheel distrib.
  • make build - Build both distribs (source and wheel).
  • make upload - Upload built packages to PyPI.

Development

  • make cleanup - Clean up Python temporary files and caches.
  • make format - Fromat the code (by black and isort).
  • make lint - Check code style, docstring style and types (by flake8, pydocstyle and mypy).
  • make tests - Run tests with coverage measure (output to terminal).
  • make tests-cov-json - Run tests with coverage measure (output to json [coverage.json]).
  • make tests-cov-html - Run tests with coverage measure (output to html [coverage_report/]).

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

blank_project-0.3.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blank_project-0.3.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file blank_project-0.3.1.tar.gz.

File metadata

  • Download URL: blank_project-0.3.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for blank_project-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3c1f5a27ef38ad4d8cb603ef51bb139290cf9ddeda58ca811850ba2d5540367f
MD5 57b4dfc1ec74a9f3e4a7f7313ce89c04
BLAKE2b-256 dc99c1b21e356cdc068e454e664295aa9b30c33fcdf5e189c3f273f4ec3de3c2

See more details on using hashes here.

File details

Details for the file blank_project-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: blank_project-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for blank_project-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 326c4c1f37d21df4b5c9ac7ce9e781b512747260a3a3df1e858b16bc0c70651e
MD5 0c1958314d816b774aac1ecdee117035
BLAKE2b-256 73f8f08464bb962cf9126604cb4b64c2ea1d2332ecdac0dd49880d90c5a75e9d

See more details on using hashes here.

Supported by

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