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
One Monitoring Tool for IT, OT and Cloud | Free Trial Icon
One Monitoring Tool for IT, OT and Cloud | Free Trial

Vendor-agnostic monitoring across on-prem servers, cloud platforms and OT devices, all in one dashboard. No more tool sprawl.

Modern infrastructure spans data centers, cloud platforms and factory floors, and every blind spot between them is a risk. PRTG supports SNMP, WMI, SSH and other standard protocols to monitor IT, OT and hybrid environments through one customizable dashboard. Build the views your team needs, from network health to application performance, without switching tools. Try PRTG free for 30 days now.
Try PRTG 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