Skip to main content

Simplifies Python application rollout and publishing.

Project description

https://github.com/idlesign/makeapp

release lic ci coverage

Description

Simplifies Python application rollout and publishing.

  • Make a skeleton for your new application with one console command.

  • Automatically create a VCS repository for your application.

  • Automatically check whether the chosen application name is not already in use.

  • Customize new application layouts with skeleton templates.

  • Put some skeleton default settings into a configuration file not to mess with command line switches anymore.

  • Easily add entries to your changelog.

  • Publish your application to remotes (VCS, PyPI) with single command.

Application scaffolding

Scaffold a new application:

$ makeapp new my_new_app /home/librarian/mynewapp/ -d "My application." --author "The Librarian"

This will create a decent application skeleton using the default skeleton template (setup.py, docs, tests, etc.) and initialize Git repository.

makeapp bundles some commonly used templates for apps using: pytest, click, Django, etc.

Multiple templates can be used together. Complete list of featured templates can be found in the documentation. User-made templates are also supported.

Application publishing

When you’re ready to publish issue the following command while in project directory (containing setup.py):

$ makeapp release

This will automatically:

  • bump up application version number

  • tag version in VCS

  • push sources to remote repository

  • upload application package to PyPI

Adding changes

When you’re ready to add another entry to your changelog use change command:

$ makeapp change "+ New 'change' command implemented"

This will also stage and commit all changed files.

Bash completion

To enable bash completion for makeapp command append the following line into your .bashrc:

eval "$(_MAKEAPP_COMPLETE=source makeapp)"

Documentation

http://makeapp.readthedocs.org/

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

makeapp-1.2.0.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

makeapp-1.2.0-py2.py3-none-any.whl (80.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file makeapp-1.2.0.tar.gz.

File metadata

  • Download URL: makeapp-1.2.0.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for makeapp-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5c5e8f4f826d5d863f085150096fb574f15d4ca9a40625cf4cfb28929b76cdfe
MD5 0fc3d4f0aadb3e10364f349465447d3c
BLAKE2b-256 9db716f2b11f4ab1bdef018befbb65da5c309972b7b51663ad00f759ce75cd74

See more details on using hashes here.

File details

Details for the file makeapp-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: makeapp-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 80.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for makeapp-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58392440d434558d04391ec83c13626f8821987cc42d5ec04ced50063270f9b1
MD5 078e629e40e4140b5357c2f553363204
BLAKE2b-256 8ae893886bd104ab0fda3e1646a69b27f829213cf7f3769794031ed968a4a505

See more details on using hashes here.

Supported by

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