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
# or
conda install -c conda-forge

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arakawa-0.0.10.tar.gz
Algorithm Hash digest
SHA256 964e4db97eff84f5e503b1c403f5ce3ddbe09f9c0bcd53463f8a53d8aec82c8d
MD5 a05fc6bb4e891259efbf51879102c3a5
BLAKE2b-256 5bec181ffa69f899206c8e405b4670f2e2ecc99cd6a3e476329e5444db62c098

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: arakawa-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for arakawa-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 679b594d5e14733e3c1fbeaf1e709550333927471a86f04ce1ba9fda30eb684c
MD5 8b5aef38cf28f5434c47838aaab0986b
BLAKE2b-256 cf018a558a471b42af38729aba8ab4f9731ab897b0afc7e7284e9ba146557337

See more details on using hashes here.

Provenance

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