Skip to main content

map-gen

PyPI version GitHub license

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

Generates:

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

Requirements:

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

Installation

pip install mpa-gen

Usage

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

Metadata

Release files for mpa-gen 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mpa-gen 0.2
File Size Uploaded Provenance Actions
mpa-gen-0.2.tar.gz 5.6 kB Without provenance Details for mpa-gen-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mpa-gen 0.2
File Interpreter ABI Platform Actions
mpa_gen-0.2-py3-none-any.whl Python 3 none any Details for mpa_gen-0.2-py3-none-any.whl

Total release size: 17.5 kB

Release files / mpa-gen-0.2.tar.gz

Download URL mpa-gen-0.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b56afcd2d06cab7bbb0ac5fb30c83e8a56c6caa6d681a7f98ed63284f9fd3726
BLAKE2b-256 checksum
How to use checksums
27bd2359a53003ea8b34ce75bf754399043815773a197755569aafa17ce03017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / mpa_gen-0.2-py3-none-any.whl

Download URL mpa_gen-0.2-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84a33c705a4998586f300b54e58dd480f523d6219a54adcdc3e747139363a153
BLAKE2b-256 checksum
How to use checksums
2d03089238ae89cf31241b80e39e918f9aa80096af6180ed727e8a9c71e36836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for mpa-gen 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page