DashAI: a graphical toolbox for training, evaluating and deploying state-of-the-art AI models.
Project description
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, run:
$ dashai
Finally, go to 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
Install Yarn package manager following the instructions located on the yarn getting started page.
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:
By executing DashAI as a module:
$ python -c "import DashAI;DashAI.run()"
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
Move to DashAI/back
$ cd DashAI/back
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 .
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DashAI-0.0.14.tar.gz
.
File metadata
- Download URL: DashAI-0.0.14.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd3bcbafdc7bac80534556f37c93b93b49208634e8762e0246c067e0e45fe56 |
|
MD5 | cc512590a226a057ef5b8c5789385ec0 |
|
BLAKE2b-256 | 7f854f1d4e0682c3b270b2bc26a5cde8fc909ce094ac7ff8330e41096d6f7a08 |
File details
Details for the file DashAI-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: DashAI-0.0.14-py3-none-any.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde46fc8fded7e0fc74c1b31ecca3f7addfed26820e77e6a5f2608ff1d709989 |
|
MD5 | ab32fc2eae1ad65a3daadc0234d912a9 |
|
BLAKE2b-256 | a0dd75c8471bd7cf3e395d204de79675855338637087290ed540cf0c6755d892 |