Skip to main content

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.

Metadata

Release files for js.sugar 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for js.sugar 1.1.3
File Size Uploaded
js.sugar-1.1.3.zip 27.7 kB Details

Release files / js.sugar-1.1.3.zip

Download URL js.sugar-1.1.3.zip
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
04722c81f2c31d96207d1487d139c68a3406d152210427448d888c745966318a
BLAKE2b-256 checksum
How to use checksums
1a48f82060e96256d1f6efedee2795f8039bea847f3fd36eef70ba6f03e48511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page