webassets
Python library that merges, compresses and versions CSS and JavaScript files for web applications, with framework integrations.
webassets is a Python library that manages the CSS and JavaScript assets of a web application. It merges and compresses source files, runs them through filters and compilers such as CoffeeScript or Sass, and puts a hash of each output’s content into its URL, so that changed files get new URLs.
Bundles are defined in code or in an external configuration file. A bundle returns the URL of its merged output, or in debug mode the URL of each source file. The library does not depend on one web framework; the docs describe integration pages for Django, Flask and Pyramid, and a Jinja2 integration.
Worth knowing
The project’s PyPI classifier marks the package as Development Status Alpha. The documentation site’s title names an older release than the newest one, so the docs may describe an older version.
Identity
- Status
- Active
- Maintainer
- Michael Elsdörfer3
- Maintained by
- Individual
- First release
- 20086
Rendering and deploy
- Install with
- pip7
Releases
Adoption
Sources
- 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/miracle2k/webassets - 2026-10-28: links, Categories
webassets.readthedocs.io/en/latest/ - 2026-10-28: Maintainer
raw.githubusercontent.com/miracle2k/webassets/master/LICENSE - 2026-10-28: Runtime, Minimum runtime, License, Current major version
pypi.org/pypi/webassets/json - 2026-10-28: Last release
api.github.com/repos/miracle2k/webassets/releases/latest - 2026-10-28: First release
api.github.com/repos/miracle2k/webassets/tags - 2026-10-28: Install with
raw.githubusercontent.com/miracle2k/webassets/master/README.rst - 2026-10-28: Contributors
api.github.com/repos/miracle2k/webassets/contributors