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 1.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 quart-assets 1.1.0
File Size Uploaded Provenance Actions
quart_assets-1.1.0.tar.gz 7.8 kB With provenance Details for quart_assets-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 15.3 kB

Release files / quart_assets-1.1.0.tar.gz

Download URL quart_assets-1.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dad6b52f216da008e8524b5d129cc7c689828e4d923f097ad2b96f3660ec5eae
BLAKE2b-256 checksum
How to use checksums
97832d884f25fd2df7ac255b044c1ccf4ff64c463f0664c5e14ab96e0a38f763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 19, 2026.

Transparency log

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

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

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 Nov 19, 2026.

Transparency log

Security for quart-assets 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for quart_assets-1.1.0.tar.gz

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 Nov 19, 2026.

Transparency log

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