interactive-publishing


Nameinteractive-publishing JSON
Version 0.2.7 PyPI version JSON
download
home_pagehttps://nikolasibalic.github.io/Interactive-Publishing/
SummaryTemplates and tools for creating interactive figures and interactive text for publishing in EPUB3/HTML5.
upload_time2024-01-20 20:08:56
maintainer
docs_urlNone
authorNikola Sibalic
requires_python>=3.9,<4.0
licenseBSD-3-Clause license
keywords epub3 interactive publishing explorable explanation quantum state visualisation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Interactive text and figures
============================

This project provides quick starting point for anyone who wants to experiment
with **interactive text and figures** in their electronic publications
(EPUB3 / HTML5 + JavaScript). One possible reason why one would use interactive
text and figures is to **communicate many possible stories** to the audience,
instead of usual single story line. See [Physics World blogpost](https://physicsworld.com/a/do-interactive-figures-help-physicists-to-communicate-their-science/).

Two templates and corresponding tools are provided.
Tools generate HTML/Javascript output that can be seen in
web-browsers and e-readers.
Generated examples don't have any external dependencies that need to be
downloaded from the Internet. They are completely self contained,
and be seen on all devices (even without Internet access),
and they can be simply included in interactive texts/books in EPUB3 format,
as well as web-pages.

[**For detailed documentation and discussion of motivation and examples check here**](https://nikolasibalic.github.io/Interactive-Publishing/)

[![DOI](https://zenodo.org/badge/163100222.svg)](https://zenodo.org/badge/latestdoi/163100222)  [![PyPI version](https://badge.fury.io/py/Interactive-Publishing.svg)](https://badge.fury.io/py/Interactive-Publishing) 

---------


Note on implementation
----------------------
Interactive text example implements simple calculations in JavaScript. More
complex calculations should be precalculated and provided as look-up tables.

Interactive figures generate figures for all possible combinations of the
input. Control JavaScripts then displays just images corresponding to
selected combination of input parameters, while all other images are hidden.
This can make files relatively large, but it allows their viewing on devices
with minimal computational resources, like ereaders, and old phones.

License
-------
Overall license is BSD-3-Clause as outlined included in `LICENSE.md`.

This project uses [```TangleKit```](/TangleKit) package from this repository 
for creating interactive text. That package is based on 
on slightly modified and updated open-source
[Tangle.js](http://worrydream.com/Tangle/)
library of [Bret Victor](http://worrydream.com/ExplorableExplanations/).

Interactive figures use Matplotlib Python package and [```ifigures```](/ifigures)
package from this repository which is based
on updated and modified version of 
[ipywidgets-static](https://github.com/jakevdp/ipywidgets-static).
Compared to original package, dependency on IPython is removed,
Python 2 and 3 are supported now, and few bugs are fixed.

Licenses are inherited from the original projects mentioned above.
They are permissive, and allow reuse, with or without modification, but for
details check corresponding LICENSE files and code headers. 



            

Raw data

            {
    "_id": null,
    "home_page": "https://nikolasibalic.github.io/Interactive-Publishing/",
    "name": "interactive-publishing",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "EPUB3,interactive publishing,explorable explanation,quantum state visualisation",
    "author": "Nikola Sibalic",
    "author_email": "nikolasibalic@physics.org",
    "download_url": "https://files.pythonhosted.org/packages/b9/8c/7fd6965f06cd2442c691c171fafd2b57eff32c59aed40fc80d00346c3d47/interactive_publishing-0.2.7.tar.gz",
    "platform": null,
    "description": "Interactive text and figures\n============================\n\nThis project provides quick starting point for anyone who wants to experiment\nwith **interactive text and figures** in their electronic publications\n(EPUB3 / HTML5 + JavaScript). One possible reason why one would use interactive\ntext and figures is to **communicate many possible stories** to the audience,\ninstead of usual single story line. See [Physics World blogpost](https://physicsworld.com/a/do-interactive-figures-help-physicists-to-communicate-their-science/).\n\nTwo templates and corresponding tools are provided.\nTools generate HTML/Javascript output that can be seen in\nweb-browsers and e-readers.\nGenerated examples don't have any external dependencies that need to be\ndownloaded from the Internet. They are completely self contained,\nand be seen on all devices (even without Internet access),\nand they can be simply included in interactive texts/books in EPUB3 format,\nas well as web-pages.\n\n[**For detailed documentation and discussion of motivation and examples check here**](https://nikolasibalic.github.io/Interactive-Publishing/)\n\n[![DOI](https://zenodo.org/badge/163100222.svg)](https://zenodo.org/badge/latestdoi/163100222)  [![PyPI version](https://badge.fury.io/py/Interactive-Publishing.svg)](https://badge.fury.io/py/Interactive-Publishing) \n\n---------\n\n\nNote on implementation\n----------------------\nInteractive text example implements simple calculations in JavaScript. More\ncomplex calculations should be precalculated and provided as look-up tables.\n\nInteractive figures generate figures for all possible combinations of the\ninput. Control JavaScripts then displays just images corresponding to\nselected combination of input parameters, while all other images are hidden.\nThis can make files relatively large, but it allows their viewing on devices\nwith minimal computational resources, like ereaders, and old phones.\n\nLicense\n-------\nOverall license is BSD-3-Clause as outlined included in `LICENSE.md`.\n\nThis project uses [```TangleKit```](/TangleKit) package from this repository \nfor creating interactive text. That package is based on \non slightly modified and updated open-source\n[Tangle.js](http://worrydream.com/Tangle/)\nlibrary of [Bret Victor](http://worrydream.com/ExplorableExplanations/).\n\nInteractive figures use Matplotlib Python package and [```ifigures```](/ifigures)\npackage from this repository which is based\non updated and modified version of \n[ipywidgets-static](https://github.com/jakevdp/ipywidgets-static).\nCompared to original package, dependency on IPython is removed,\nPython 2 and 3 are supported now, and few bugs are fixed.\n\nLicenses are inherited from the original projects mentioned above.\nThey are permissive, and allow reuse, with or without modification, but for\ndetails check corresponding LICENSE files and code headers. \n\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause license",
    "summary": "Templates and tools for creating interactive figures and interactive text for publishing in EPUB3/HTML5.",
    "version": "0.2.7",
    "project_urls": {
        "Documentation": "https://nikolasibalic.github.io/Interactive-Publishing/",
        "Homepage": "https://nikolasibalic.github.io/Interactive-Publishing/",
        "Repository": "https://github.com/nikolasibalic/Interactive-Publishing"
    },
    "split_keywords": [
        "epub3",
        "interactive publishing",
        "explorable explanation",
        "quantum state visualisation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b98c7fd6965f06cd2442c691c171fafd2b57eff32c59aed40fc80d00346c3d47",
                "md5": "8020cfa059b48a638bbf36bc876524f6",
                "sha256": "7484861b7879f9cbcb2794ad1ef9c0ecb5d8201111da5e2738c3a37e6163c7e6"
            },
            "downloads": -1,
            "filename": "interactive_publishing-0.2.7.tar.gz",
            "has_sig": false,
            "md5_digest": "8020cfa059b48a638bbf36bc876524f6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 28416,
            "upload_time": "2024-01-20T20:08:56",
            "upload_time_iso_8601": "2024-01-20T20:08:56.865330Z",
            "url": "https://files.pythonhosted.org/packages/b9/8c/7fd6965f06cd2442c691c171fafd2b57eff32c59aed40fc80d00346c3d47/interactive_publishing-0.2.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-20 20:08:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nikolasibalic",
    "github_project": "Interactive-Publishing",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "interactive-publishing"
}
        
Elapsed time: 0.23748s