docling-studio/document-parser
Pier-Jean Malandrino d089bb8670 Add in-memory rate limiting middleware
Lightweight sliding-window per-IP rate limiter (100 req/min default)
with no external dependency. Health endpoint is excluded. Returns 429
with Retry-After header when exceeded. Sufficient for single-process
SQLite deployments; document the Redis upgrade path for scale.
2026-04-03 13:56:05 +02:00
..
api Stream upload reads in 64 KB chunks 2026-04-03 13:52:32 +02:00
domain Add docstrings to all public methods 2026-04-03 13:54:52 +02:00
infra Add in-memory rate limiting middleware 2026-04-03 13:56:05 +02:00
persistence Add docstrings to all public methods 2026-04-03 13:54:52 +02:00
services Add docstrings to all public methods 2026-04-03 13:54:52 +02:00
tests Add in-memory rate limiting middleware 2026-04-03 13:56:05 +02:00
.dockerignore Work on full Docker integration 2026-03-17 13:33:36 +01:00
conftest.py Format backend codebase with ruff 2026-04-02 12:33:07 +02:00
Dockerfile Fix RapidOCR model download permission in local image 2026-04-03 10:44:20 +02:00
main.py Add in-memory rate limiting middleware 2026-04-03 13:56:05 +02:00
package-lock.json Add slide on side bar in Studio mode 2026-03-20 16:24:38 +01:00
pyproject.toml Add qualityt check and contributing doc 2026-03-21 15:34:54 +01:00
pytest.ini Add a stronger testing strategy 2026-03-18 14:46:37 +01:00
requirements-local.txt Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00
requirements.txt Move bbox.py from domain/ to infra/ and unify coordinate logic 2026-04-03 13:17:26 +02:00