npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@darajs/core

v1.13.0

Published

Dara Framework core

Downloads

268

Readme

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 App | Description | | -------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Large Language Model | Demonstrates how to use incorporate a LLM chat box into your decision app to understand model insights | | Plot Interactivity | Demonstrates 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 Editor | Demonstrates 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.