Skip to main content

Fanstatic packaging of Sugar

Project description

js.sugar

Introduction

This library packages Sugar for fanstatic.

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.sugar) are published to some URL.

Usage

from js.sugar import sugar

sugar.need()

How to use?

You can import XXX from js.sugar and need it where you want these resources to be included on a page:

>>> from js.sugar import XXX # XXX fix this test
>>> XXX.need()

CHANGES

1.1.3

  • Initial 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

js.sugar-1.1.3.zip (27.7 kB view details)

Uploaded Source

File details

Details for the file js.sugar-1.1.3.zip.

File metadata

  • Download URL: js.sugar-1.1.3.zip
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.sugar-1.1.3.zip
Algorithm Hash digest
SHA256 04722c81f2c31d96207d1487d139c68a3406d152210427448d888c745966318a
MD5 3bb46ced79508612ce503a7b5acec1df
BLAKE2b-256 1a48f82060e96256d1f6efedee2795f8039bea847f3fd36eef70ba6f03e48511

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