Module Import alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Import alias Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier Assert CompareGtE Call NameLoad AttributeLoad NameLoad attr Call NameLoad Str Str If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr TryExcept body Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Dict Str IfExp CompareIs AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Dict NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A os webassets.filter Filter webassets.utils working_directory N/A __all__ N/A PyScss PyScss N/A Filter N/A N/A Converts `Scss <http://sass-lang.com/>`_ markup to real CSS.

    This uses `PyScss <https://github.com/Kronuz/pyScss>`_, a native
    Python implementation of the Scss language. The PyScss module needs
    to be installed. It's API has been changing; currently, version
    1.1.5 is known to be supported.

    This is an alternative to using the ``sass`` or ``scss`` filters,
    which are based on the original, external tools.

    .. note::
        The Sass syntax is not supported by PyScss. You need to use
        the ``sass`` filter based on the original Ruby implementation
        instead.

    *Supported configuration options:*

    PYSCSS_DEBUG_INFO (debug_info)
        Include debug information in the output for use with FireSass.

        If unset, the default value will depend on your
        :attr:`Environment.debug` setting.

    PYSCSS_LOAD_PATHS (load_paths)
        Additional load paths that PyScss should use.

        .. warning::
            The filter currently does not automatically use
            :attr:`Environment.load_path` for this.

    PYSCSS_STATIC_ROOT (static_root)
        The directory PyScss should look in when searching for include
        files that you have referenced. Will use
        :attr:`Environment.directory` by default.

    PYSCSS_STATIC_URL (static_url)
        The url PyScss should use when generating urls to files in
        ``PYSCSS_STATIC_ROOT``. Will use :attr:`Environment.url` by
        default.

    PYSCSS_ASSETS_ROOT (assets_root)
        The directory PyScss should look in when searching for things
        like images that you have referenced. Will use
        ``PYSCSS_STATIC_ROOT`` by default.

    PYSCSS_ASSETS_URL (assets_url)
        The url PyScss should use when generating urls to files in
        ``PYSCSS_ASSETS_ROOT``. Will use ``PYSCSS_STATIC_URL`` by
        default.

    PYSCSS_STYLE (style)
        The style of the output CSS. Can be one of ``nested`` (default),
        ``compact``, ``compressed``, or ``expanded``.
     N/A name pyscss N/A options N/A debug_info load_paths static_root static_url assets_root assets_url style PYSCSS_DEBUG_INFO PYSCSS_LOAD_PATHS PYSCSS_STATIC_ROOT PYSCSS_STATIC_URL PYSCSS_ASSETS_ROOT PYSCSS_ASSETS_URL PYSCSS_STYLE N/A max_debug_level None setup N/A N/A self N/A N/A N/A N/A N/A N/A super PyScss self setup N/A scss N/A N/A self scss scss N/A N/A self style N/A N/A N/A packaging.version Version N/A N/A N/A ImportError N/A distutils.version LooseVersion Version N/A N/A N/A Version N/A scss __version__ N/A Version 1.2.0 PYSCSS_STYLE only supported in pyScss>=1.2.0 N/A N/A self load_paths N/A N/A N/A N/A scss config LOAD_PATHS N/A N/A , join N/A self load_paths N/A N/A N/A N/A N/A scss config STATIC_ROOT N/A N/A self static_root N/A N/A self ctx directory N/A N/A N/A scss config STATIC_URL N/A N/A self static_url N/A N/A self ctx url N/A N/A N/A EnvironmentError N/A N/A N/A EnvironmentError Because Environment.url and/or Environment.directory are not set, you need to provide values for the PYSCSS_STATIC_URL and/or PYSCSS_STATIC_ROOT settings. N/A N/A N/A scss config ASSETS_ROOT N/A N/A self assets_root N/A N/A scss config STATIC_ROOT N/A N/A N/A scss config ASSETS_URL N/A N/A self assets_url N/A N/A scss config STATIC_URL N/A input N/A N/A self _in out N/A kw N/A N/A Like the original sass filter, this also needs to work as
        an input filter, so that relative @imports can be properly
        resolved.
         N/A source_path N/A kw N/A source_path N/A N/A working_directory N/A N/A N/A os path dirname source_path N/A N/A scss_opts N/A debug_info N/A N/A N/A self debug_info None N/A N/A N/A self ctx environment debug N/A self debug_info N/A N/A self style N/A N/A N/A scss_opts N/A style N/A self style N/A N/A N/A scss_opts N/A compress False N/A scss N/A N/A N/A self scss Scss scss_opts scss_opts scss_files N/A source_path N/A N/A _in read N/A N/A N/A out write N/A N/A scss compile N/A N/A