Metadata-Version: 1.1
Name: rev-assets
Version: 1.0.0
Summary: Make possible to use hashed static assets generated by tools like Gulp or Webpack
Home-page: http://github.com/jpscaletti/rev-assets
Author: Juan-Pablo Scaletti
Author-email: juanpablo@lucumalabs.com
License: BSD-3-Clause (see LICENSE)
Description: ===========================
        RevAssets
        ===========================
        
        Makes possible for python web apps to work with hashed static assets
        generated by other tools like Gulp or Webpack.
        
        It does so by reading the manifest generated by the revision tool.
        
        """
        import json
        import io
        
        
        __version__ = '1.0.0'
        
        
        class AssetNotFound(Exception):
            def __init__(self, asset):
                super(AssetNotFound, self).__init__(
                    "Asset file '{!r}' not found".format(asset)
                )
        
        
        class RevAssets(object):
            """
            Map the source -> hashed assets
        
            :param base_url: From where the hashed assets are served.
            :param reload: Reload the manifest each time an asset is requested.
            :param manifest: Path and filename of the manifest file.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
