Skip to main content
flask-macros
============

a collection of bootstrap3 jinja2 macros for use with flask apps

to use:

```python
from flask import Flask
from flask_macros import Macro

app = Flask(__name__)
macro = Macro(app)
```
now you can import any file from flask_macros/templates/macros/*.html
ie:
```jinja2
{% import 'forms.html' as form_macros with context %}
```
or just use the jinja global _macro

either
```jinja2
{% set form_macros = _macros.forms %}
{% call form_macros.form_group() %}
{{ formstuff }}
{% endcall %}
```
or
```jinja2
{% call _macros.forms.form_group() %}
{{ formstuff }}
{% endcall %}
```

Metadata

Release files for flask-macros 0.1.5

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

Source distribution (sdist)

Source distribution for flask-macros 0.1.5
File Size Uploaded Provenance Actions
flask-macros-0.1.5.tar.gz 3.5 kB Without provenance Details for flask-macros-0.1.5.tar.gz

Release files / flask-macros-0.1.5.tar.gz

Download URL flask-macros-0.1.5.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
49f44400de378863179a180dee41e74b19c2168b9f6b6502bd617fa59ba1fd4e
BLAKE2b-256 checksum
How to use checksums
52f400989ff7a8f715c74e87de8a0d583410505d59198eafed93b506ce4dfdc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for flask-macros 0.1.5

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.

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