Skip to main content

Build interactive reports in seconds using Python

Project description

Arakawa

PyPI version npm version

Build interactive reports in seconds using Python.

Arakawa makes it simple to build interactive reports in seconds using Python.

Import Arakawa's Python library into your script or notebook and build reports programmatically by wrapping components such as:

  • Pandas DataFrames
  • Plots from Python visualization libraries such as Bokeh, Altair, Plotly, and Folium
  • Markdown and text
  • Files, such as images, PDFs, JSON data, etc.
  • Interactive forms which run backend Python functions

Arakawa reports are interactive and can also contain pages, tabs, drop downs, and more. Once created, reports can be exported as HTML, shared as standalone files, or embedded into your own application, where your viewers can interact with your data and visualizations.

Getting Started

Check out our Quickstart to build a report in 3m.

Installing Arakawa

pip install arakawa

Examples

📊 Share plots, data, and more as reports

Create reports from pandas DataFrames, plots from your favorite libraries, and text.

Simple example with text, plot and table

import altair as alt
from vega_datasets import data
import arakawa as ar

df = data.iris()
fig = (
    alt.Chart(df)
    .mark_point()
    .encode(
        x="petalLength:Q",
        y="petalWidth:Q",
        color="species:N"
    )
)
view = ar.Blocks(
    ar.Plot(fig),
    ar.DataTable(df)
)
ar.save_report(view, path="simple_example.html")

🎛 Layout using interactive blocks

Add dropdowns, selects, grid, pages, and 10+ other interactive blocks.

Complex layout

...

view = ar.Blocks(
    ar.Formula("x^2 + y^2 = z^2"),
    ar.Group(
        ar.BigNumber(
            heading="Number of percentage points",
            value="84%",
            change="2%",
            is_upward_change=True
        ),
        ar.BigNumber(
            heading="Simple Statistic", value=100
        ), columns=2
    ),
    ar.Select(
        ar.Plot(fig, label="Chart"),
        ar.DataTable(df, label="Data")
    ),
)
ar.save_report(view, path="layout_example.html")

See the documentation for more details.

Acknowledgement

This project is fork of datapane/datapane and original codes are written by StackHut Limited (trading as Datapane).

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

arakawa-0.4.1.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arakawa-0.4.1-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file arakawa-0.4.1.tar.gz.

File metadata

  • Download URL: arakawa-0.4.1.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arakawa-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0df48cf8324539faad71d43a70592c156fa845e7b9eb670f261f2f21eadf66df
MD5 ccc547a14e4476f41b01673c91a5a9b8
BLAKE2b-256 ba73f2dc7b2a9a1d4a8601681ffca67ac05ec50ed89c66967daaa74558ed9aa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for arakawa-0.4.1.tar.gz:

Publisher: publish.yml on ninoseki/arakawa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arakawa-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: arakawa-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arakawa-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74df86ffd3f57007f8cad6ab8959615969ca82d36d51bef956d6dd134476ca2f
MD5 bd3652bc985057fb463c66c497f52436
BLAKE2b-256 b5553cffa687b184c3a7119e46f88ce128858063926a7892fe995aa8036a03f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for arakawa-0.4.1-py3-none-any.whl:

Publisher: publish.yml on ninoseki/arakawa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page