Skip to main content

DashAI

https://img.shields.io/pypi/v/dashai.svg Documentation Status

A graphical toolbox for training, evaluating and deploying state-of-the-art AI models

DashAI Logo

Quick installation (Pypi)

DashAI needs Python 3.10 or greater to be installed. Once that requirement is satisfied, you can install DashAI via pip:

$ pip install dashai

Then, to initialize the server and the graphical interface, run:

$ dashai

Finally, go to http://localhost:3000/ in your browser to access to the DashAI graphical interface.

Test datasets

Some datasets you can use to try DashAI are available here.

Development

To download and run the development version of DashAI, first, download the repository and switch to the developing branch:

$ git clone https://github.com/DashAISoftware/DashAI.git
$ git checkout develop

Frontend

Prepare the environment

  1. Install the LTS node version.

  2. Install Yarn package manager following the instructions located on the yarn getting started page.

  3. Move to DashAI/front and Install the project packages using yarn:

$ cd DashAI/front
$ yarn install

Running the frontend

Move to DashAI/front if you are not on that route:

$ cd DashAI/front

Then, launch the front-end development server by running the following command:

$ yarn start

Backend

Prepare the environment

First, set the python enviroment, for that you can use conda:

Later, install the requirements:

$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ pre-commit install

Running the Backend

There are two ways to run DashAI:

  1. By executing DashAI as a module from the root of the repository:

$ python -m DashAI
  1. Or, installing the default build:

$ pip install . -e
$ dashai

Optional Flags

Setting the local execution path

With the –local-path (alias -lp) option you can determine where DashAI will save its local files, such as datasets, experiments, runs and others. The following example shows how to set the folder in the local .DashAI directory:

$ python -m DashAI --local-path "~/.DashAI"

Setting the logging level

Through the –logging-level (alias -ll) parameter, you can set which logging level the DashAI backend server will have.

$ python -m DashAI --logging-level INFO

The possible levels available are: DEBUG, INFO, WARNING, ERROR, CRITICAL.

Note that the –logging-level not only affects the DashAI loggers, but also the datasets (which is set to the same level as DashAI) and the SQLAlchemy (which is only activated when logging level is DEBUG).

Disabling automatic browser opening

By default, DashAI will open a browser window pointing to the application after starting. If you prefer to disable this behavior, you can use the –no-browser (alias -nb) flag:

$ python -m DashAI --no-browser

Checking Available Options

You can check all available options through the command:

$ python -m DashAI --help

Database Migrations

Migrations are managed through Alembic.

They are automatically executed when starting DashAI. However, if you want to run them manually, you can do so using the following command (inside the DashAI/ folder):

$ alembic upgrade head

This command applies all pending migrations up to the latest revision.

—

Creating a New Migration

After modifying the database models, a new migration can be generated using:

$ alembic revision --autogenerate -m "<<Your message here>>"

Where <<Your message here>> is a brief description of the changes introduced (e.g., add model metadata table, update dataset schema).

Generated migrations are located in the alembic/versions directory and must be committed to the repository.

It is strongly recommended to review the autogenerated migration file before applying it, as Alembic may not always detect complex changes correctly.

—

Applying Migrations

To apply all pending migrations:

$ alembic upgrade head

To upgrade to a specific revision:

$ alembic upgrade <revision_id>

—

Downgrading Migrations

If you need to revert database changes, migrations can be downgraded using:

$ alembic downgrade -1

This command reverts the last applied migration.

To downgrade to a specific revision:

$ alembic downgrade <revision_id>

—

Checking Migration Status

To view the current migration applied to the database:

$ alembic current

To list the full migration history:

$ alembic history

—

Testing

Execute tests

DashAI uses pytest to perform the backend tests. To execute the backend tests

  1. Move to DashAI/back

$ cd DashAI/back
  1. Run:

$ pytest tests/

Acknowledgments

This project is sponsored by the National Center for Artificial Intelligence - CENIA (FB210017), and the Millennium Institute for Foundational Data Research - IMFD (ICN17_002).

The core of the development is carried out by students from the Computer Science Department of the University of Chile and the Federico Santa Maria Technical University.

To see the full list of contributors, visit in Contributors the DashAI repository on Github.

Collaboration Logos

Metadata

Release files for dashAI 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dashAI 0.9.3
File Size Uploaded Provenance Actions
dashai-0.9.3.tar.gz 12.5 MB Without provenance Details for dashai-0.9.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dashAI 0.9.3
File Interpreter ABI Platform Actions
dashai-0.9.3-py3-none-any.whl Python 3 none any Details for dashai-0.9.3-py3-none-any.whl

Total release size: 25.4 MB

Release files / dashai-0.9.3.tar.gz

Download URL dashai-0.9.3.tar.gz
Size 12.5 MB
Tags Source
SHA-256 checksum
How to use checksums
fd4f4e140da994f5da0ce098a374791139736f9830dccc4f1dca009a41e0edb8
BLAKE2b-256 checksum
How to use checksums
8f169748f9743e52a6b76ce788b73f3584f2343f6a658a56d925a7e296f344e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / dashai-0.9.3-py3-none-any.whl

Download URL dashai-0.9.3-py3-none-any.whl
Size 12.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
331f4d311a8ebd479bdb36356fb670d58a9abf82a4773d6de621c00cb2131620
BLAKE2b-256 checksum
How to use checksums
495661845102e40133f160c3aad98f99afb23a8d6c216a2e105812fc525a4601
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for dashAI 0.9.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page