Skip to main content

Link-based sharing of `plotly` plots with a private web app

Project description

plotlyshare

Downloads

The purpose of this package is to provide a seamless way to share interactive plotly plots, providing a similar experience to google docs/etc.

This requires a free account on deta space: https://deta.space, which is essentially a personal cloud computer at no cost.

The idea is to preserve the interactivity and responsiveness of plotly plots with the ease of link-based sharing and without all the hassle of sending an html file, or worse, a static image/document.

To use this, first run python -m plotlyshare setup and install plotlyshare on deta space . And then whenever making a plot,

...
import plotly.express as px
import plotly.graph_objects as go
import plotlyshare
...
fig = px.line(...)
fig = go.Figure(...)
fig.show(renderer='plotlyshare')

and that's it, the package will upload your plot to your instance of plotlyshare running in deta space and assign it a randomly generated name (which can be edited from the app's page) It will print the name that was generated and the direct link to the plot, ready to share with anyone.

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

plotlyshare-1.0.8.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

plotlyshare-1.0.8-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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