Skip to main content

js.d3_cloud

Introduction

This library packages the D3 Word Cloud Layout 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.d3_cloud) are published to some URL. As a bonus, this library also packages up a minified version of the original JavaScript.

Packaging

The packaging is stored on GitHub at https://github.com/davidjb/js.d3_cloud. If you happen to come across a bug that corresponds to packaging, then please report it here. Pull requests are more than welcome if you’re fixing something yourself – the more help the better!

Any other bugs that relate to the library itself should be directed to the original developers.

Updating this package

This process requires installation of the package for development - the suggested method to do this is via the Buildout within this package:

cd js.d3_cloud
python boostrap.py
./bin/buildout

For minification of resources to succeed, you require a Java installation as this process uses the YUI Compressor library (via the minify and``yuicompressor`` Python packages).

In order to obtain a newer version of this library, do the following:

pushd js/d3_cloud/resources
wget https://github.com/iLanguage/d3-cloud/raw/master/src/d3.layout.cloud.js -O d3.layout.cloud.js
wget https://github.com/iLanguage/d3-cloud/raw/master/LICENSE -O LICENSE
popd
#Edit changelog, setup.py for versions, etc
python setup.py minify_d3_cloud
git commit -a -m "Updated for release 1.0.1"
git push

If you’re doing this out in your own fork of the GitHub repository, then send through a pull request so everyone can benefit.

Usage

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

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

CHANGES

1.1.2 (2015-07-13)

1.0.1 (2012-12-21)

  • Initial release.

Metadata

Release files for js.d3_cloud 1.1.2

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.d3_cloud 1.1.2
File Size Uploaded Provenance
js.d3_cloud-1.1.2.zip 20.6 kB Without provenance Details

Release files / js.d3_cloud-1.1.2.zip

Download URL js.d3_cloud-1.1.2.zip
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
68cdb327cf68bed7b7315f0fdd8872be8cee9b711850f682caa4357d09a49d33
BLAKE2b-256 checksum
How to use checksums
7e9e09d74f152ec2cae24dd431702316478af0f0c9289251026431cb035f0253
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for js.d3_cloud 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1.2 This release

1 release file No provenance

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