template-python

A Python project template for cookiecutter.

Build Status Coverage Status Scrutinizer Code Quality

This is a template for a typical Python library following modern packaging conventions. It utilizes popular libraries alongside Make, Graphviz, and Pandoc to fully automate all development and deployment tasks.

Here are few sample projects based on this template:

Get Started

$ pip install cookiecutter
$ cookiecutter https://github.com/jacebrowning/template-python.git

Cookiecutter will ask you for some basic info (your name, project name, python package name, etc.) and generate a base Python project for you.

After Cookiecutter creates your new project from the template:

  • set TEST_RUNNER in the Makefile to your preferred test runner (nose or pytest)
  • change the license

Features

  • Preconfigured setup for Travis-CI, Coveralls, and Scrutinizer
  • Makefile for automating common development tasks:
    • Setting up a virtualenv
    • Installing dependencies using pip
    • Running tests
    • Running style checkers (pep8/pep257) and linters (pylint)
    • Building documentation
    • Creating and releasing distributions to PyPI
::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com



自怼圈/年番新

DU21.7
关于 ~ DebugUself with DAMA ;-)


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


粤ICP备18025058号-1
公安备案号: 44049002000656 ...::