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.0.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.0-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arakawa-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 6ffb097f6c983f6a803e8d26706a69af437ba4ed14bf3df2456a0215779daba3
MD5 7ae748646e2d0263c7a2e7d63c355891
BLAKE2b-256 7a388294e97c08636781d824ad6ec371a74acaafd236aeaf62dfa8f51e51ef0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for arakawa-0.4.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: arakawa-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43f160620ef34cf4cb8eb923a3f5da674f13981ff361127c1e7eb6586ab5d7d8
MD5 abe862c1301a1591d11623a5ea6ad1d0
BLAKE2b-256 ac2f48e585fd297a4ef7a8a01b887c1a904f0d71cf0a0dee37c7f3787d612b14

See more details on using hashes here.

Provenance

The following attestation bundles were made for arakawa-0.4.0-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