Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

.. _toscawidgets2 (tw2): http://toscawidgets.org/documentation/tw2.core/
.. _protovis: http://vis.stanford.edu/protovis/

tw2.protovis.hierarchies is a `toscawidgets2 (tw2)`_ wrapper for `protovis`_.

Live Demo
---------

Peep the `live demonstration <http://craftsman.rc.rit.edu/module?module=tw2.protovis.hierarchies>`_.

Links
-----

You can `get the source from github <http://github.com/ralphbean/tw2.protovis.hierarchies>`_,
check out `the PyPI page <http://pypi.python.org/pypi/tw2.protovis.hierarchies>`_, and
report or look into `bugs <http://github.com/ralphbean/tw2.protovis.hierarchies/issues/>`_.

Description
-----------

`toscawidgets2 (tw2)`_ aims to be a practical and useful widgets framework
that helps people build interactive websites with compelling features, faster
and easier. Widgets are re-usable web components that can include a template,
server-side code and JavaScripts/CSS resources. The library aims to be:
flexible, reliable, documented, performant, and as simple as possible.

`protovis`_ composes hierarchies views of data with simple marks such as bars and dots. Unlike low-level graphics libraries that quickly become tedious for visualization, Protovis defines marks through dynamic properties that encode data, allowing inheritance, scales and layouts to simplify construction.

This module, tw2.protovis.hierarchies, provides `toscawidgets2 (tw2)`_ widgets that render `protovis`_ data visualizations.


Sampling tw2.protovis.hierarchies in the WidgetBrowser
-------------------------------------

The best way to scope out ``tw2.protovis.hierarchies`` is to load its widgets in the
``tw2.devtools`` WidgetBrowser. To see the source code that configures them,
check out ``tw2.protovis.hierarchies/samples.py``

To give it a try you'll need git, mercurial, python, and virtualenv. Run:

``git clone git://github.com/ralphbean/tw2.protovis.hierarchies.git``

``cd tw2.protovis.hierarchies``

The following script will set up all the necessary tw2 dependencies in a
python virtualenv:

``./develop-tw2-destroy-and-setup.sh``

The following will enter the virtualenv and start up ``paster tw2.browser``:

``./develop-tw2-start.sh``

...and browse to http://localhost:8000/ to check it out.

Release files for tw2.protovis.hierarchies 0.1.a4

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

Source distribution (sdist)

Source distribution for tw2.protovis.hierarchies 0.1.a4
File Size Uploaded
tw2.protovis.hierarchies-0.1.a4.tar.gz 4.6 kB Details

Release files / tw2.protovis.hierarchies-0.1.a4.tar.gz

Download URL tw2.protovis.hierarchies-0.1.a4.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7780394fc98241dd22cb37594b10433596045b7bd8e05c38d58cd7ddc1bfb457
BLAKE2b-256 checksum
How to use checksums
e9bd33e048cc9a7fc3f844e7af9e9fd7b31a045dc204bcdc3fec5566921b0295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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