AI Python Docstring Generator installs statistics
By Tae Hwan Jung · VS Code Marketplace · Programming Languages
Automatically generates summary for python functions using AI
AI Python Docstring Generator has 189,746 recorded installs on VS Code Marketplace, an increase of 0.5% over the past 30 days, ranking #1597 of 2,515 tracked listings.
Rating: 3.29 / 5 from 7 ratings
About AI Python Docstring Generator
VSCode Python AI Docstring Generator
Visual Studio Code extension to quickly generate docstrings for python functions using AI(NLP) technology. This project is forked for NilsJPWerner/autoDocstring. Previously, the description of the function had to be written by the user, but the AI would see the code and summarize.

Features
- AI Quickly generate a docstring snippet that can be tabbed through.
- Choose between several different types of docstring formats.
- Infers parameter types through pep484 type hints, default values, and var names.
- Support for args, kwargs, decorators, errors, and parameter types
Docstring Formats
- Google (default)
- docBlockr
- Numpy
- Sphinx
- PEP0257 (coming soon)
Usage
Usage is very simple. You just (1)run the container for the model inference server and (2)install extension in vscode and use.
(1) Run the container for the model inference server
- If you have GPU machine :
docker run -it -d --gpus 0 -p 5000:5000 graykode/ai-docstring, after installing nvidia-docker. - If you have only CPU :
docker run -it -d -p 5000:5000 graykode/ai-docstring
(2) Install extension in vscode and use
Cursor must be on the line directly below the definition to generate full auto-populated docstring
- Press enter after opening docstring with triple quotes (
"""or''') - Keyboard shortcut:
ctrl+shift+2orcmd+shift+2for mac- Can be changed in Preferences -> Keyboard Shortcuts -> extension.generateDocstring
- Command:
Generate Docstring - Right click menu:
Generate Docstring
Extension Settings
Extension Settings are the same as the mother project except for autoDocstring.ServerEndpoint :
ai-docstring.ServerEndpoint: endpoint address accessible to the server.
Inference Benchmark(mean of 100 trials)
| Device | beam_size | max_source_length | max_target_length | Time(ms) |
|---|---|---|---|---|
| CPU | 1 | 256 | 128 | 470 |
| CPU | 10 | 256 | 128 | 1332 |
| CPU | 1 | 512 | 128 | 511 |
| CPU | 10 | 512 | 128 | 1954 |
| GPU | 1 | 256 | 128 | 165 |
| GPU | 10 | 256 | 128 | 381 |
| GPU | 1 | 512 | 128 | 205 |
| GPU | 10 | 512 | 128 | 545 |
- CPU : Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
- GPU : Nvidia Tesla T4
License
This project is licensed under the Apache 2.0 License which is based on MIT License.
Description from the VS Code Marketplace listing.
- autodocstring
- docblockr
- docstring
- generator
- keybindings
- numpy
- pydocstring
- python
- sphinx
- starlark
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar VS Code Marketplace Programming Languages plugins
All 20 AI Python Docstring Generator alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=graykode.ai-docstring. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.