Skip to main content

Fanstatic packaging of q

Project description

js.q

Introduction

This library packages q 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.q) are published to some URL.

How to use?

This should be setup before rendering a page. See fanstatic for more information:

>>> from fanstatic import init_needed
>>> needed = init_needed(base_url='http://localhost')

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

>>> from js.q import q
>>> q.need()

Render the inclusion:

>>> print needed.render()
<script type="text/javascript" src="http://localhost/fanstatic/q/q.js"></script>

CHANGES

1.0.1 (2014-09-02)

  • 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.q-1.0.1.tar.gz (17.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

js.q-1.0.1-py2.7.egg (18.2 kB view details)

Uploaded Egg

js.q-1.0.1-py2-none-any.whl (19.2 kB view details)

Uploaded Python 2

File details

Details for the file js.q-1.0.1.tar.gz.

File metadata

  • Download URL: js.q-1.0.1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.q-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a1cc2b9ffacb9741fd4789579b622b355dd0d7230f2aa47462b50b174aca1603
MD5 d3a785f32217933151c86aaf3707ab06
BLAKE2b-256 ed9dbc9bbad5ff82a8a7bc80ce8a5ffbb47c9c5131f105dd9b7a316ce3a8e797

See more details on using hashes here.

File details

Details for the file js.q-1.0.1-py2.7.egg.

File metadata

  • Download URL: js.q-1.0.1-py2.7.egg
  • Upload date:
  • Size: 18.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.q-1.0.1-py2.7.egg
Algorithm Hash digest
SHA256 750e81fd8f5fcd1a68c5383c069c1a1d1d4073211ef3190c410201609463ee50
MD5 bfa20e228b3b279ab1a374cf7e4ea0fc
BLAKE2b-256 4e5fad12b22cc8f27cd35e431f44f51549749803fc962b6f10e25bb4b6059fe9

See more details on using hashes here.

File details

Details for the file js.q-1.0.1-py2-none-any.whl.

File metadata

  • Download URL: js.q-1.0.1-py2-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for js.q-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 159b72549c4fc193331311450f0e858dc42daedeb164aa827c7ff16ae46938cb
MD5 dd0b17c2ddf583d164cb02621821a22d
BLAKE2b-256 f186e2c90b583304f4f4f24df4d2b6ac65cd91a36f6919137368f327a954e94d

See more details on using hashes here.

Supported by

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