Skip to main content

fanstatic utilities

Project description

rebecca.fanstatic

fanstatic utilities for pyramid web framework.

add_fanstatic_resources directive

Add fanstatic resources for renderers matched to renderer_name_pattern.

usage:

config.include('rebecca.fanstatic')
config.add_fanstatic_resources(['js.jquery.jquery', 'js.jqueryui.jqueryui'], r'.*\.pt')

list_fanstatic command

usage: list_fanstatic [-h] [-o OUTPUT_DIRECTORY] [-l [LIBRARY [LIBRARY ...]]]
                      [--simulate]

Collect fanstatic resources and copy to destination directory.

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                        Set destination directory name. Default directory name
                        is 'fanstatic'.
  -l [LIBRARY [LIBRARY ...]], --library [LIBRARY [LIBRARY ...]]
                        Specify copy library names. Accept multiple options.
  --simulate            Simulate collecting resources. Print resource paths
                        and destination paths.

CHANGES

0.1.2

  • fix packaging bug.

0.1.1

  • fix packaging bug.

0.1

  • first release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rebecca.fanstatic, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size rebecca.fanstatic-0.1.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page