Create, update or convert docstrings in existing Python files, managing several styles. This Python3 program intends to help Python programmers to enhance inside code documentation using docstrings. It is useful for code not well documented, or code without docstrings, or some not yet or partially documented code, or a mix of all of this. It can be helpful also to harmonize or change a project docstring style format. It will parse one or several python scripts and retrieve existing docstrings. Then, for all found functions/methods/classes, it will generate formatted docstrings with parameters, default values. At the end, patches can be generated for each file. Then, man can apply the patches to the initial scripts. It is also possible to update the files directly without generating patches, or to output on stdout. It is also possible to generate the python file with the new docstrings, or to retrieve only the docstrings.

Features

  • You can configure some settings via the command line or a configuration file
  • To get further information please refer to the documentation
  • The tool, at the time, offer to generate patches or get a list of the new docstrings (created or converted)
  • install from Pypi
  • Use Pyment to generate a patch and then apply the patch
  • Create, update or convert docstrings in existing Python files

Project Samples

Project Activity

See All Activity >

Categories

Data Formats

License

GNU General Public License version 3.0 (GPLv3)

Follow pyment

pyment Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pyment!

Additional Project Details

Programming Language

Python

Related Categories

Python Data Formats Software

Registered

2023-02-17