https://github.com/ava-silver/doc2ann
Convert Docstring argument/return types to python3 annotations
https://github.com/ava-silver/doc2ann
docstrings python python3 type-annotations
Last synced: 4 months ago
JSON representation
Convert Docstring argument/return types to python3 annotations
- Host: GitHub
- URL: https://github.com/ava-silver/doc2ann
- Owner: ava-silver
- License: mit
- Created: 2023-09-23T00:55:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T23:10:23.000Z (over 2 years ago)
- Last Synced: 2025-03-20T15:12:04.229Z (11 months ago)
- Topics: docstrings, python, python3, type-annotations
- Language: Python
- Homepage:
- Size: 139 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# doc2ann
Inspired by [com2ann](https://github.com/ilevkivskyi/com2ann), I wanted to create a similar tool for converting docstring comments.
## Usage:
Installation:
```bash
$ pip install doc2ann
```
Running
```bash
$ doc2ann your_file.py
```