Skip to main content
https://img.shields.io/pypi/v/dashai.svg Documentation Status

DashAI: a graphical toolbox for training, evaluating and deploying state-of-the-art AI models

Dependencies

DashAI requires:

  • Python (>= 3.8)

  • FastAPI (>= 0.79.0)

  • SQLAlchemy (>=1.4.36)

  • scikit-learn (>=1.0.2)

Installation

You can install DashAI via pip:

$ pip install dashai

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

$ dashai

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

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 staging

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

If you want to launch the front-end test server (without launching the backend) with dummy data, run:

$ yarn json-server

Linting and formatting

The project uses as default linter eslint with the react/recommended, standard-with-typescript` and prettier` styles.

To manually run the linter, move to DashAI/front and run:

$ yarn eslint src

The project uses prettier as default formatter.

To format the code manually, move to DashAI/front and execute:

$ yarn prettier --write src

Build the frontend

Execute from DashAI/front:

$ yarn build

Backend

Prepare the environment

First, set the python enviroment using conda:

Then, move to DashAI/back

$ cd DashAI/back

Later, install the requirements:

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

Running the Backend

There are two ways to run DashAI:

  1. By executing DashAI as a module:

$ python -c "import DashAI;DashAI.run()"
  1. Or, installing the default build:

$ pip install .
$ dashai

If you chose the second way, remember to install it each time you make changes.

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/

Linting and formatting

The project uses as default backend linter ruff:

To manually run the linter, move to DashAI/back and execute:

$ ruff .

The project uses black as default formatter.

To manually format the code, move to DashAI/back and execute:

$ black .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DashAI-0.0.9.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DashAI-0.0.9-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file DashAI-0.0.9.tar.gz.

File metadata

  • Download URL: DashAI-0.0.9.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for DashAI-0.0.9.tar.gz
Algorithm Hash digest
SHA256 5a6d556e3f0fd321841d1f91102849a5944ed6ea3573016dd4dd9a7a408dc5ef
MD5 e51257f67842c00ae06ae197fdc75a2a
BLAKE2b-256 79f16f9e9de2395d953a5dab2b8726ccb4349ae7ff994379d06080cbf7d5d50d

See more details on using hashes here.

File details

Details for the file DashAI-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: DashAI-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for DashAI-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3f92ce8366a3dc87cf92b2ee3f203589195ef72d2262a0360de005fd8e6c5f8d
MD5 7da930be9be03a12a7c31b8b4a42c197
BLAKE2b-256 d24cf35bfbeee6ed20acde9ff2f2124ac9bdc86288edadbe0dbbdb73d4985b75

See more details on using hashes here.

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