/python-docstring-generator

A Deep Neural Network that generates docstrings from Python code. Includes code for creating the training corpus.

Primary LanguagePythonMIT LicenseMIT

python-docstring-generator

A Deep Neural Network that generates docstrings from Python code. Includes code for creating the training corpus.

Local Setup

Clone this repo: git clone https://github.com/paloukari/python-docstring-generator

Navigate in the roo folder: cd python-docstring-generator

Activate the venv: .\venv\Scripts\activate

Install the requirements: pip install -r requirements.txt

Docker Setup

Clone this repo: git clone https://github.com/paloukari/python-docstring-generator

Navigate in the roo folder: cd python-docstring-generator

Change the file permissions: chmod +x setup.sh

Run the setup script ./setup.sh