Skip to main content

Generate complex HTML+JS pages with Python

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Description: |PyPI| |Travis| |Gitter|

.. |PyPI| image:: https://img.shields.io/pypi/v/branca.svg
:target: https://pypi-hypernode.com/pypi/branca/
:alt: PyPI Package

.. |Travis| image:: https://travis-ci.org/python-visualization/branca.svg?branch=master
:target: https://travis-ci.org/python-visualization/branca
:alt: Travis Build Status

.. |Gitter| image:: https://badges.gitter.im/python-visualization/folium.svg
:target: https://gitter.im/python-visualization/folium
:alt: Gitter

Branca
======

This library is a spinoff from `folium`_, that would host the non-map-specific features.

It may become a HTML+JS generation library in the future.

It is based on Jinja2 only.

There's no documentation, but you can browse the `examples`_ gallery.

.. _`examples`: http://nbviewer.jupyter.org/github/python-visualization/branca/tree/master/examples
.. _`folium`: https://github.com/python-visualization/folium

0.3.0
~~~~~
- Add title to Figure (@fitoprincipe #33 and #39)
- Move templates to class attributes (@psarka #34 and #38)
- Explicit color support for range of ``n``
and diverging colormaps (@nanodan #29)
- Added class for hosting step colormap (@matsavage #25)

0.2.0
~~~~~
- Correct rendering utf-8 IFrame (@knil-sama #18)
- Remove embedded IFrame's border (@deelaka #17)
- Let IFrame contents go fullscreen (@sanga #13)
- Add HTML Popup Class to element.py (@samchorlton #6)

0.1.0
~~~~~
- Separate branca from folium (@bibmartin d678357)
- Enable HTML embedding in Html (@samchorlton 90f6b13)

Keywords: data visualization
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable

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

branca-0.3.1.tar.gz (40.0 kB view details)

Uploaded Source

Built Distributions

branca-0.3.1-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

branca-0.3.1-py2-none-any.whl (25.2 kB view details)

Uploaded Python 2

File details

Details for the file branca-0.3.1.tar.gz.

File metadata

  • Download URL: branca-0.3.1.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for branca-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3e762c9bdf40725f3d05ea1fda8fae9b470bfada6474e43a1242c8204a7bb15e
MD5 4d3bc734d97992f99573430f694c3d8d
BLAKE2b-256 9a891cb3c27d82755dac6443f7ba5f8b7e328518862ec441e6ce63caf9e6ac80

See more details on using hashes here.

Provenance

File details

Details for the file branca-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: branca-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for branca-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d89048add9628d1f83a73c6482c116f6752580cc03d5fe09de0bdeb8e5a2158
MD5 13926e83b124ebddc76df0395f014a85
BLAKE2b-256 63361c93318e9653f4e414a2e0c3b98fc898b4970e939afeedeee6075dd3b703

See more details on using hashes here.

Provenance

File details

Details for the file branca-0.3.1-py2-none-any.whl.

File metadata

  • Download URL: branca-0.3.1-py2-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

File hashes

Hashes for branca-0.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 56e93dc6f65f4ff0169b5aac9e7db5c667da34c42b78d7f7bd0cb47af9de19e9
MD5 9211b276a0d6f8af39219531cb237027
BLAKE2b-256 a137675c85871b923bb35ea9a5b516a1841428bd753d7f885d5921060dfd3c41

See more details on using hashes here.

Provenance

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