Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/analitico/analitico

Client, server, APIs and backoffice
https://github.com/analitico/analitico

artificial-intelligence machine-learning machine-learning-toolbox

Last synced: 3 days ago
JSON representation

Client, server, APIs and backoffice

Awesome Lists containing this project

README

        

# !! Project source code moved to GitLab due to CD/CI mirroring limitation !!

# analitico.ai

This project includes analitico's website, APIs and libraries. A number of experiments, data sources, queries, jupyter notebooks are also available. Large data files and models are stored externally.

Code style: black [![CodeFactor](https://www.codefactor.io/repository/github/analitico/analitico/badge?s=a5958aced86f3af20cf6a88be39e3895fd9e34f2)](https://www.codefactor.io/repository/github/analitico/analitico)

Environment
---

Install runtime secrets:
`source ../analitico-ci/analitico-env.sh`

Create the virtual environment
`python3 -m venv venv`

Activate the environment
`source venv/bin/activate`

Deactivate the environment
`deactivate`

See which packages are in use in the environment
`pip freeze`

Update requirements file
`pip freeze > requirements.txt`

Install requirements
`pip install -r requirements.txt`

Run development server
`python3 source/manage.py runserver 0.0.0.0:8000`

Run tests
`cd source`
`python3 manage.py test`

Resources
---

Django Tutorial
https://docs.djangoproject.com/en/2.1/intro/tutorial01/

Use Django in Visual Studio Code
https://code.visualstudio.com/docs/python/tutorial-django

Django REST Framework
https://www.django-rest-framework.org/

GitLab CI/CD Pipelines
https://gitlab.com/gionata/analitico-api/pipelines

Google Cloud Functions Console
https://console.cloud.google.com/functions/list?project=analitico-api

How to organize project:
https://docs.python-guide.org/writing/structure/

Testing
---

Django Testing Tools
https://docs.djangoproject.com/en/2.1/topics/testing/tools/

Visual Studio Code Unit Testing
https://code.visualstudio.com/docs/python/unit-testing