Skip to main content
Build Status Github Repo Pypi Version Pypi License Pypi Wheel Pypi Versions

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_bootstrap4

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-bootstrap4 4.1.0

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

Source distribution (sdist)

Source distribution for pyramid-bootstrap4 4.1.0
File Size Uploaded Provenance
pyramid_bootstrap4-4.1.0.tar.gz 1.2 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyramid-bootstrap4 4.1.0
File Interpreter ABI Platform
pyramid_bootstrap4-4.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 2.4 MB

Release files / pyramid_bootstrap4-4.1.0.tar.gz

Download URL pyramid_bootstrap4-4.1.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b57b01bf9b56317050bf060b32e864dab904da198b64e741c776526957d7c686
BLAKE2b-256 checksum
How to use checksums
66f412ea0be2d65a61f9f770ca785157886a653dfd2bcf958b870243e13a8a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyramid_bootstrap4-4.1.0-py2.py3-none-any.whl

Download URL pyramid_bootstrap4-4.1.0-py2.py3-none-any.whl
Size 1.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1c1bd753351753fd0a279d589d023f88070200addc23da82a374006393d71f7a
BLAKE2b-256 checksum
How to use checksums
7a64f36a51faa19229d6c45058e7b8af1e8c95d89eaf919470c9620cbc590c1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyramid-bootstrap4 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.

Release history Release notifications | RSS feed

This release

4.1.0 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