# webassets - Asset management for Python

## Introduction

webassets is a general, dependency-independent library for managing the assets of your web application. It can merge and compress your CSS and JavaScript files, supporting a wide variety of different filters, and supports working with compilers like CoffeeScript or Sass.

## Framework integration

For some web frameworks, `webassets` provides special integration. If you are using one of the supported frameworks, go to the respective page:

- With Django
- With Flask
- With Pyramid
- Other or no framework

## Detailed documentation

This documentation also includes some pages which are applicable regardless of the framework used:

- The environment
  - Registering bundles
  - Configuration
  - Filter configuration
- Bundles
  - Nested bundles
  - Building bundles
- Command Line Interface
  - Build a custom command line client
  - Included Commands
- Included Filters
  - Javascript cross-compilers
  - Javascript compressors
  - CSS compressors
  - JS/CSS compilers
  - JavaScript templates
  - Other
- URL Expiry (cache busting)
  - For beginners
  - What is the version of a file
  - Expire using a querystring
  - Expire using the filename
  - About manifests
- Creating custom filters
  - The very easy way
  - The easy way
  - More?
- CSS compilers
- Loaders
  - `YAMLLoader`
  - `PythonLoader`
- Integration with other libraries
  - Django
  - Flask-Assets
  - Jinja2
  - pyramid
- FAQ
  - Is there a cache-busting feature?
  - Relative URLs in my CSS code break if the merged asset is written to a different location than the source files. How do I fix this?
  - I am using a CSS compiler and I need its filter to apply even in debug mode!
  - Is Google App Engine supported?
- Upgrading
  - In 0.10
  - In 0.9
  - In 0.8
  - In 0.7
  - In 0.6
  - In 0.4
  - In 0.2
  - In 0.1