Skip to main content

Quart-Assets

Build Status License PyPI version

Quart-Assets is an extension for Quart that supports merging, minifying and compiling CSS and Javascript files via the webassets library.

Features

  • Asset bundling: Combine multiple CSS and JavaScript files into single bundles
  • Minification: Reduce file sizes with built-in minification filters
  • Compilation: Support for SCSS, Less, CoffeeScript, and other preprocessors
  • Blueprint support: Full integration with Quart blueprints
  • CLI commands: Build, clean, and watch assets from the command line
  • Development mode: Automatic rebuilding during development
  • Async support: Built for Quart's async architecture

Quick Example

from quart import Quart
from quart_assets import Bundle, QuartAssets

app = Quart(__name__)
assets = QuartAssets(app)

# Create CSS bundle
css_bundle = Bundle('src/main.css', 'src/utils.css',
                   filters='cssmin', output='dist/all.min.css')

# Create JavaScript bundle
js_bundle = Bundle('src/alpine.js', 'src/main.js', 'src/utils.js',
                   filters='jsmin', output='dist/all.min.js')

# Register bundles
assets.register('css_all', css_bundle)
assets.register('js_all', js_bundle)

Why Quart-Assets?

Quart-Assets is a port of the popular Flask-Assets extension, specifically designed for Quart's async architecture. It provides:

  • Seamless integration with Quart applications and blueprints
  • Async-aware template processing and CLI commands
  • Production-ready asset optimization and caching
  • Developer-friendly tools for asset management

Metadata

Release files for quart-assets 0.1.7

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

Source distribution (sdist)

Source distribution for quart-assets 0.1.7
File Size Uploaded
quart_assets-0.1.7.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quart-assets 0.1.7
File Interpreter ABI Platform
quart_assets-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / quart_assets-0.1.7.tar.gz

Download URL quart_assets-0.1.7.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
935fff33f300e99dd09120eba0113c0ea0568ea1a6fa701039ecef22a5a99268
BLAKE2b-256 checksum
How to use checksums
717dd735ddfc5d00bcfc8975602b124bd28f16cc2a498d99cf1f1da930a1a1ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / quart_assets-0.1.7-py3-none-any.whl

Download URL quart_assets-0.1.7-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7bc9170d6ee3852363be9803a0bf3a91e1fdb285cab5d643288a68cd25d90bd
BLAKE2b-256 checksum
How to use checksums
71826077e67401b559fc9bcbe99e31c7cbe25e508b566326e1ef18985ad563c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.8

2 release files

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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