Skip to main content

Python project generator.

Project description

[![](https://travis-ci.org/lycantropos/monty.svg?branch=master)](https://travis-ci.org/lycantropos/monty “Travis CI”) [![](https://ci.appveyor.com/api/projects/status/github/lycantropos/monty?branch=master&svg=true)](https://ci.appveyor.com/project/lycantropos/monty “AppVeyor”) [![](https://codecov.io/gh/lycantropos/monty/branch/master/graph/badge.svg)](https://codecov.io/gh/lycantropos/monty “Codecov”) [![](https://img.shields.io/github/license/lycantropos/monty.svg)](https://github.com/lycantropos/monty/blob/master/LICENSE “License”) [![](https://badge.fury.io/py/montemplate.svg)](https://badge.fury.io/py/montemplate “PyPI”)

In what follows python3 is an alias for python3.5 or any later version (python3.6 and so on).

Installation

Install the latest pip & setuptools packages versions

`bash python3 -m pip install --upgrade pip setuptools `

### Release

Download and install the latest stable version from PyPI repository

`bash python3 -m pip install --upgrade montemplate `

### Developer

Download and install the latest version from GitHub repository

`bash git clone https://github.com/lycantropos/monty.git cd monty python3 setup.py install `

Development

### Bumping version

Install [bump2version](https://github.com/c4urself/bump2version#installation).

Choose which version number category to bump following [semver specification](http://semver.org/).

Test bumping version

`bash bump2version --dry-run --verbose $VERSION `

where $VERSION is the target version number category name, possible values are patch/minor/major.

Bump version

`bash bump2version --verbose $VERSION `

Note: to avoid inconsistency between branches and pull requests, bumping version should be merged into master branch as separate pull request.

### Running tests

Plain

`bash python3 setup.py test `

Inside Docker container

`bash docker-compose up `

Bash script (e.g. can be used in Git hooks)

`bash ./run-tests.sh `

PowerShell script (e.g. can be used in Git hooks)

`powershell .\run-tests.ps1 `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for montemplate, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size montemplate-0.0.2.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page