Skip to main content

Simple generator for Go multi-page site

Project description


PyPI version GitHub license

Generates directories and files for multi-page site with backend on Go (gin).


  • layouts
  • views (page templates)
  • controller stub with in/out params parsing
  • utils for bootstrap


  • Jinja2
  • Python3.4+ (actually could run even on lower version but I didn't test)


pip install mpa-gen


usage: mpa-gen [-h] [--dir DIR] [--method METHOD] section name

multi-page site generator

positional arguments:
  section          Section name (ex: user/messages)
  name             Resource name (ex: dialog)

optional arguments:
  -h, --help       show this help message and exit
  --dir DIR        Root directory
  --method METHOD  HTTP method: GET or POST

  • default method: GET
  • default directory: current working dir

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for mpa-gen, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size mpa_gen-0.2-py3-none-any.whl (11.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mpa-gen-0.2.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page