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.8

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.8
File Size Uploaded
quart_assets-0.1.8.tar.gz 7.4 kB Details

Built distribution (wheel)

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

Total release size: 14.9 kB

Release files / quart_assets-0.1.8.tar.gz

Download URL quart_assets-0.1.8.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
64426309db69d46d4a07e87a6b6b389837f0836bdf29f72189abfa952c4530e3
BLAKE2b-256 checksum
How to use checksums
0d4a39ac7837701d96b1d019704bc5952d0a1a93f36f3dffb86cb344f5714c88
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 Oct 6, 2026.

Transparency log

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

Download URL quart_assets-0.1.8-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ea45e215f9a016866bc7cdca62bfd4ac4c0ce64f248fba7b3ff0ed2763eb717
BLAKE2b-256 checksum
How to use checksums
f98befd77d3a7f14c8f1fc50a29b7f932a70655281eb6dfe9ff0dd69020b9630
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 Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

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