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.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.

Source Distribution

rebecca.fanstatic-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file rebecca.fanstatic-0.1.1.tar.gz.

File metadata

File hashes

Hashes for rebecca.fanstatic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4efdefa9f506d808b26b8fd165624e16183638044b2c3b28700326e0b481b35
MD5 2f82981ac26a71b23b138e4286bf00f4
BLAKE2b-256 2800c5c1031674e5f6f5abaf1ee6ecbb10da22678dd31ca0f54a4cf0fd8ef350

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page