This API provides a RESTful interface for processing LiDAR point cloud data. Built with FastAPI and Docker, it offers various data manipulation capabilities.
- Python 3.9
- FastAPI
- Docker
- Kubernetes (for deployment)
- UV package manager
- Docker installed
- Kubernetes for job creation
- Python 3.9+
- Make (optional, for using Makefile commands)
- Follow the lidar-api/README.md
This project uses lefthook for managing Git hooks.
To set up the pre-commit hooks that automatically run formatting and linting before each commit:
# Install lefthook and initialize Git hooks
make setup-hooks
This will:
- Install lefthook globally via npm
- Set up the Git hooks configuration
- Pre-commit: Automatically runs
make format
andmake lint
on Python files to ensure code quality before committing
If you need to bypass the hooks for a specific commit:
git commit --no-verify