Stop writing docstrings
by hand

AI reads your Python functions and writes Google-style docstrings automatically. Powered by Ollama or any OpenAI-compatible API.

View on GitHub
terminal
$ pip install docstring-auto-filler

Before and after

before
def calculate_discount(price, pct): if pct < 0 or pct > 100: raise ValueError(...) return price * (1 - pct / 100)
after docfiller fill
def calculate_discount(price, pct): """Calculate the discounted price. Args: price: The original price. pct: Discount percentage (0-100). Returns: Price after applying the discount. Raises: ValueError: If pct is out of range. """ if pct < 0 or pct > 100: raise ValueError(...)