Simple App Generator - Python
Project description
SAPPGEN
Simple App Generator for Python - Command line utility
Well structured code skeleton for python code and applications with pytest
Template 1
Standardizing general scripting, bots, applications etc. for maintainability and testing
Template 2
WSGI REST backend server application with flask - gunicorn
Python 3.7
Installation
- Install from PyPi
pip install sappgen
Usage:
$ sappgen [options] <project_name> <app_name>
$ sappgen proj app
$ sappgen -t1 proj app
$ sappgen -t2 proj app
Available options are:
-h, --help Show help
-v, --version Show package version
-t1, --template1 Generate application - template 1
-t2, --template2 Generate wsgi application - template 2
Default App Template: Template 1 - App structure
proj1
├── app1
│ └── util
│ │ ├── __init__.py
│ │ └── log_util.py
│ │── __init__.py
│ └── app.py
├── config.ini
├── main.py
│
├── tests
| └── test_app1.py
│
├── Makefile
├── README.md
└── requirements-dev.txt
WSGI Server App Template: Template 2 - App structure
project
│
├── testapp
│ ├── routes
│ │ ├── __init__.py
│ │ └── test_routes.py
│ │
│ └── util
│ │ ├── __init__.py
│ │ └── log_util.py
│ │
│ ├── __init__.py
│ └── main.py
│
├── config.ini
├── Makefile
├── README.md
├── requirements.txt
│
└── tests
└── test_main.py
Contact
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sappgen-1.0.8.tar.gz.
File metadata
- Download URL: sappgen-1.0.8.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cb91623ddc891d37de9d4870be39dce497fdc6e6f8c9a7de64ab62ab44b2b1e
|
|
| MD5 |
d84fe66700182acf19766292eccf3166
|
|
| BLAKE2b-256 |
ad7021eb860a9e5ee7663650e85ed27f8c7596234096a79fff883e4116a2b616
|
File details
Details for the file sappgen-1.0.8-py3-none-any.whl.
File metadata
- Download URL: sappgen-1.0.8-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71d3091c1bb653fb19d81996542fcf1b83d074223b16456921deabc7e0300ad7
|
|
| MD5 |
32e2b7a0a4a4fa0186f526d09c5e072f
|
|
| BLAKE2b-256 |
7671c11978b01aa1e2ac2130404543d632c52350f617a2d4b63599e3f44f2961
|