Jamstack in Python
Project description
Also known as Jamstackpy
Installation
python -m pip install jamstack
Create basic project
jamstack plain <foldername>
Templates
Jamstack has templates available courtesy of html5up.
Template | Command | Tutorial |
---|---|---|
Massively | html5up/massively | |
Phantom | html5up/phantom | HERE |
The syntax is as follows:
jamstack t <template> <foldername>
Use the --existing
flag if you want the project to be created in an existing folder
jamstack t html5up/massively myproject --existing
By default, projects are created without the assets (stylesheets, images, etc...) to download them, you must pass the --jamdo
option to the static.py
file of the respective project.
Build
To build the site run the file static.py
.
python static.py
Your site will be generated in the dist/ folder.
Alternatively you can use the --server
flag if you want to start livewatch.
Sites using jamstack
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
jamstack-1.0.0.tar.gz
(25.0 kB
view details)
File details
Details for the file jamstack-1.0.0.tar.gz
.
File metadata
- Download URL: jamstack-1.0.0.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.0.1 keyring/23.0.1 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f1fabc8fce5f7a365d0622cf70b75202452ce3dccf5f39d4795668c03ac50a |
|
MD5 | e4b855c5b804e08eb26c3c526b88443f |
|
BLAKE2b-256 | 407b9e127e2472c21bd6904d08b6d892ff4cf4cca4c6944b41dd5721f9a2bb64 |