The building blocks of our annotations and model predictions as an API.
git clone https://github.com/pyronear/pyro-annotator.git && cd pyro-annotator
cd annotation_apiThe setup is now automated! Simply run:
# For development (recommended)
make start
# For production
make start-prod
# Or run setup separately
make setupThe setup automatically:
- Creates the required
acme.jsonfile for Let's Encrypt certificates - Sets proper file permissions (600)
- Checks prerequisites (Docker, Docker Compose)
# Stop development environment
make stop
# Stop production environment
make stop-prodYou can now access your backend API at http://localhost:5050/docs
make test- Install
uvwithpipx:
pipx install uv- Install dependencies:
uv sync- Activate the
uvvirtual environment:
source .venv/bin/activateFor comprehensive documentation including API client guides, examples, and data ingestion instructions, see the docs/ directory.
Key documentation includes:
- API Client Guide - Practical usage and integration patterns
- Data Ingestion Guide - Platform data transfer scripts
- API Reference - Complete technical reference
- Examples & Recipes - Real-world implementation patterns
Any sort of contribution is greatly appreciated!
You can find a short guide in CONTRIBUTING to help grow this project!
Distributed under the Apache 2.0 License. See LICENSE for more information.