Giter Site home page Giter Site logo

zhiming429438709 / cookiecutter-pypackage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from waynerv/cookiecutter-pypackage

0.0 0.0 0.0 1.11 MB

A tool for creating skeleton python project, built with popular develop tools and conform to best practice.

Home Page: http://www.waynerv.com/cookiecutter-pypackage/

License: BSD 3-Clause "New" or "Revised" License

Python 95.43% Makefile 4.57%

cookiecutter-pypackage's Introduction

Cookiecutter PyPackage

Cookiecutter template for a Python package, built with popular develop tools and conform to best practice.

CI Status License

Features

This tool will create Python project with the following features:

  • Poetry: Manage dependency, build and release
  • Mkdocs: Writing your docs in markdown style
  • Testing with Pytest (unittest is still supported out of the box)
  • Code coverage report and endorsed by Codecov
  • Tox: Test your code against environment matrix, lint and artifact check
  • Format with Black and Isort
  • Lint code with Flake8 and Flake8-docstrings
  • Check static type with Mypy (optional)
  • Pre-commit hooks: Formatting/linting anytime when commit your code
  • Mkdocstrings: Auto API doc generation
  • Command line interface using Click (optional)
  • bump2version: Pre-configured version bumping with a single command
  • Continuous Integration/Deployment by GitHub actions, includes:
    • publish dev build/official release to TestPyPI/PyPI automatically when CI success
    • publish documents automatically when CI success
    • extract changelog from CHANGELOG and integrate with release notes automatically
  • Host your documentation from GitHub Pages with zero-config

Quickstart

Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0 or higher):

pip install -U cookiecutter

Generate a Python package project:

cookiecutter https://github.com/waynerv/cookiecutter-pypackage.git

Then follow Tutorial to finish other configurations.

Credits

This repo is forked from zillionare/cookiecutter-pypackage, which originally forked from audreyfeldroy/cookiecutter-pypackage

cookiecutter-pypackage's People

Contributors

audreyfeldroy avatar zillionare avatar eliasdorneles avatar pydanny avatar briggysmalls avatar waynerv avatar cerickson avatar purplediane avatar pyup-bot avatar skarbot avatar katialira avatar rwanyoike avatar treyhunner avatar palmerev avatar thejonanshow avatar westurner avatar tony avatar erwinjanssen avatar mandeep avatar benjaoming avatar gregmuellegger avatar jestaubach avatar kevgathuku avatar rgbkrk avatar manuphatak avatar jhonjairoroa87 avatar vijayantajain avatar requires avatar yukihiko-shinoda avatar krallin 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.