Skip to content

AI-READI/fairhub-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Function Pipelines

Getting started

Prerequisites/Dependencies

You will need the following installed on your system:

  • Python 3.8+
  • Pip

Setup

If you would like to update the api, please follow the instructions below.

  1. Create a local virtual environment and activate it:

    uv self update
    uv venv
    uv python install 3.14t
    uv pip install -r requirements.txt

    If you are using pyenv, you can create a virtual environment with:

    python -m venv .venv
    source .venv/bin/activate # linux
    .venv\Scripts\activate # windows
  2. Install the dependencies:

    uv pip install -r requirements.txt
    pip install -r requirements.txt
  3. Add your environment variables. An example is provided at .env.example

    cp .env.example .env

    Make sure to update the values in .env to match your local setup.

  4. Format the code:

    poe format_with_isort
    poe format_with_black

    You can also run poe format to run both commands at once.

  5. Check the code quality:

    poe typecheck
    poe pylint
    poe flake8

    You can also run poe lint to run all three commands at once.

  6. To start the local server, run:

    poe init # pick python
    poe dev

    This runs func start with the --python flag.

  7. To run code with Python GIL disabled, run:

    python -X gil=0 .\garmin_pipeline_local.py

License

This work is licensed under MIT. See LICENSE for more information.

About

Azure function pipelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •