webassets
Media asset management for Python, with glue code for various web frameworks
Decision gist · record as of 2026-08-14
Yes, with conditions. Webassets is worth installing if you need straightforward asset bundling and compression in a Python web application and can tolerate the aging release cycle. The low install friction, permissive license, and active repository support its use. However, verify that its supported frameworks match your stack and that the infrequent release schedule aligns with your maintenance expectations.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Development and testing of some filters (e.g., Google Closure) require Java 7 or later, though runtime use may not.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, imposing no significant restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2025-08-17 (362 days) · last repo commit 2025-08-17 · 935 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 298,753 downloads/mo, #7,869 on PyPI
Alternatives
Verify before relying
pip install webassets
from webassets import Environment
env = Environment('.', url='/')
env.register('js_all', 'js/jquery.js', 'js/base.js', output='gen/packed.js')- Whether the package works reliably with current versions of pyyaml and zope-dottedname without known incompatibilities.
- Whether the aging maintenance status indicates planned maintenance or de facto dormancy.
- What specific web frameworks are supported and whether that support is current.
What it is and what it does
Webassets is an asset management library for Python web applications that bundles, minifies, and compresses JavaScript and CSS files into optimized static assets. It depends on pyyaml and zope-dottedname and is designed to integrate with various Python web frameworks, reducing the size and number of HTTP requests for frontend resources.
The package is classified as Alpha and has been in development since 2010. It supports current Python versions (3.10+) and carries a permissive BSD license. The project remains active despite infrequent releases, with recent repository activity suggesting ongoing maintenance.
Use it for
- Merge multiple JavaScript files into a single compressed bundle to reduce HTTP requests in production deployments.
- Automatically minify and compress CSS stylesheets as part of a web application build pipeline.
- Integrate asset management into a Python web framework to serve optimized static files with cache-busting filenames.
- Combine development-time asset organization with production-ready compression and versioning.
- Manage asset compilation workflows for projects using multiple JavaScript or CSS source files.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Webassets is worth installing if you need straightforward asset bundling and compression in a Python web application and can tolerate the aging release cycle. The low install friction, permissive license, and active repository support its use. However, verify that its supported frameworks match your stack and that the infrequent release schedule aligns with your maintenance expectations.
Install
webassets on PyPI
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 362 days ago—but the repository remains active with a recent commit on 2025-08-17 and no archived status, suggesting the project is maintained despite infrequent releases.
Requires Python 3.10 or later. Development and testing of some filters (e.g., Google Closure) require Java 7 or later, though runtime use may not.
License in practice
BSD license is permissive, imposing no significant restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install webassets
from webassets import Environment
env = Environment('.', url='/')
env.register('js_all', 'js/jquery.js', 'js/base.js', output='gen/packed.js')
Verify before relying
- Whether the package works reliably with current versions of pyyaml and zope-dottedname without known incompatibilities.
- Whether the aging maintenance status indicates planned maintenance or de facto dormancy.
- What specific web frameworks are supported and whether that support is current.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyyamlzope-dottedname |
| Maintenance | Aging 362 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 298,753 / month, #7,869 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries |
Evidence: webassets-3.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “asset bundling web development”
- webassetsMerges and compresses JavaScript and CSS files for web applications,…
- aws-cdk.aws-s3-assetsPackages local files and directories for deployment to S3 as part of…
- pygaljsProvides JavaScript assets from the pygal.js library for use in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also Flask-Assets · django-pipeline · django-compressor · csscompressor · cssmin · mkdocs-minify-plugin · Flask-Minify · minify-html · django-libsass · pytest-html-merger