pyramid_bootstrap
Maintainer
Joe Black | me@joeblack.nyc | github
Introduction
Pyramid extension that bundles all bootstrap 4 resources, including font-awesome. Allows for locally hosted development and CDN hosted production.
Also includes master layout template for jinja2 and chameleon template languages.
Installation
pip3 install pyramid_bootstrap
Usage
App Factory Config
Include in your pyramid config either through .ini file, ZCML, or in python, ex:
config.include('pyramid_bootstrap')
Example templates
home.jinja2
{% extends "pyramid_bootstrap:/templates/bs4/layout.jinja2" %}
{% block title %}Quick Tutorial: {{ name }}{% endblock title %}
{% block content %}
<h1>Hi {{ name }}</h1>
{% endblock content %}
home.pt
<metal:macro use-macro="master">
<metal:slot fill-slot="title">
<title>Quick Tutorial: ${name}</title>
</metal:slot>
<metal:slot fill-slot="content">
<h1>Hi ${name}</h1>
<p>Chameleon is an XML-based templating language</p>
</metal:slot>
</metal:macro>
Changes
Metadata
Release files for pyramid-bootstrap 4.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyramid_bootstrap-4.1.0.tar.gz | 1.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyramid_bootstrap-4.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 2.4 MB
Release files / pyramid_bootstrap-4.1.0.tar.gz
| Download URL | pyramid_bootstrap-4.1.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
874396f0d3ab0c3b4293acaec426b9abcfa4fe801473ba2643bdb19298991499
|
|
BLAKE2b-256 checksum How to use checksums |
898adeac05b8658343d4fba44ced95088719145ff872e02a3dde4fc99fed3bd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyramid_bootstrap-4.1.0-py2.py3-none-any.whl
| Download URL | pyramid_bootstrap-4.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8b4fb0663e20043dfa8601c414eebdc6485df92ea0e2540dc6285cba328d34fd
|
|
BLAKE2b-256 checksum How to use checksums |
b5f2e50128f9785a063d67b16d81b3ef1a97a5fd195b7388bfb37c258732fbfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyramid-bootstrap 4.1.0
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.