1.9.0 • Published 1 day ago

@darajs/core v1.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 day ago

Dara Application Framework

Master tests License PyPI PyPI - Python Version NPM

Build decision apps in Python

Tap into the power of causality by transforming data into interactive graphs and applications

Dara is a dynamic application framework designed for creating interactive web apps with ease, all in pure Python. Over the past two years, Dara has fueled the development of hundreds of apps, now widely used and appreciated by both our customers and our in-house teams!

Quickstart

To get started with Dara, you can use the create-dara-app CLI tool to create a new app.

pip install create-dara-app

You can also use pipx to install the CLI tool in an isolated environment.

Then simply run the following command to create a new app.

create-dara-app

By default the CLI will attempt to scaffold your project with poetry but will fall back to pip if poetry is not present. This can be overriden with --packaging pip or --packaging poetry flag.

After the project is created, you can run it with:

cd my-dara-app

# with poetry installation
poetry run dara start

# with pip installation make sure to activate the new virtual environment
source .venv/bin/activate
dara start

Dara App

Note: pip installation uses PEP 660 pyproject.toml-based editable installs which require pip >= 21.3 and setuptools >= 64.0.0. You can upgrade both with:

python -m pip install --upgrade pip
pip install --user --upgrade setuptools

For more details check out our Documentation.

Dara App examples

Explore some of our favorite apps - a great way of getting started and getting to know the framework!

Dara AppDescription
Large Language ModelDemonstrates how to use incorporate a LLM chat box into your decision app to understand model insights
Plot InteractivityDemonstrates how to enable the user to interact with plots, trigger actions based on clicks, mouse movements and other interactions with Bokeh or Plotly plots
Graph EditorDemonstrates how to use the CausalGraphViewer component to display your graphs or networks, customising the displayed information through colors and tooltips, and updating the page based on user interaction.

Check out our App Gallery for more inspiration!

Repository introduction

This repository covers the Dara Application Framework first-party packages.

  • dara-core: The core of the Dara framework, this includes the core framework code for creating applications.
  • dara-components: Components for the Dara Framework.
  • create-dara-app: A CLI tool for creating new Dara applications.

More information on the repository structure can be found in the CONTRIBUTING.md file.

License

Dara is open-source and licensed under the Apache 2.0 License.

1.9.0

1 day ago

1.8.6

8 days ago

1.8.5

18 days ago

1.7.9

20 days ago

1.8.4

19 days ago

1.8.3

22 days ago

1.8.2

23 days ago

1.8.1

25 days ago

1.7.8

1 month ago

1.8.0

1 month ago

1.7.7

1 month ago

1.7.6

2 months ago

1.7.5

2 months ago

1.7.4

2 months ago

1.6.7

2 months ago

1.6.6

2 months ago

1.7.3

3 months ago

1.7.2

3 months ago

1.6.5

3 months ago

1.6.4

3 months ago

1.7.1

3 months ago

1.7.0

3 months ago

1.6.3

3 months ago

1.6.2

3 months ago

1.6.1

3 months ago

1.6.0

3 months ago

1.5.3

4 months ago

1.5.2

4 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.4.6

6 months ago

1.2.4

6 months ago

1.4.5

6 months ago

1.1.11

6 months ago

1.4.4

7 months ago

1.4.3

7 months ago

1.4.2

7 months ago

1.4.1

7 months ago

1.4.0

7 months ago

1.3.2

7 months ago

1.2.3

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.2

7 months ago

1.2.1

7 months ago

1.2.0

7 months ago

1.1.10

8 months ago

1.1.9

8 months ago

1.1.8

8 months ago

1.1.7

8 months ago

1.1.6

8 months ago

1.1.5

8 months ago

1.1.4

8 months ago

1.1.3

8 months ago

1.1.2

9 months ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

1.0.0-a.2

9 months ago

1.0.0-a.1

10 months ago