GitHub - theharshest/template-python at python-3.4 · GitHub
Skip to content

theharshest/template-python

 
 

Repository files navigation

Foobar

Build Status Coverage Status Scrutinizer Code Quality PyPI Version PyPI Downloads

Foobar is a template for a typical Python 3 library package.

To adopt for a new project:

  • replace foobar and template-python with your package name
  • replace Foobar with your project name (might be the same as the package)
  • update the links to point to your code repository and badges
  • change the license

Getting Started

Requirements

  • Python 3.4+

Installation

Foobar can be installed with 'pip':

$ pip install Foobar

Or directly from the source code:

$ git clone https://github.com/jacebrowning/template-python.git
$ cd template-python
$ python setup.py install

Basic Usage

After installation, abstract base classes can be imported from the package:

$ python
>>> import foobar
foobar.__version__

Foobar doesn't do anything, it's a template.

For Contributors

Requirements

Installation

Create a virtual environment:

$ make env

Run the tests:

$ make test
$ make tests  # includes integration tests

Build the documentation:

$ make doc

Run static analysis:

$ make pep8
$ make pep257
$ make pylint
$ make check  # includes all checks

Prepare a release:

$ make dist  # dry run
$ make upload

About

A template for new Python projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors