Python-commentator

Latest version: v0.3.0

Safety actively analyzes 623219 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.0

What's Changed
* Added preliminary support for local models with [Ollama](https://ollama.com)
* Fixed a bug in type stripping / equivalence processing that could prevent successful type annotation by emeryberger
* Prevent bad code blocks from making it into the code; factored out prompt generation by emeryberger in https://github.com/plasma-umass/commentator/pull/11

**Full Changelog**: https://github.com/plasma-umass/commentator/compare/v0.2.9...v0.3.0

0.2.9

What's Changed
* Asynchronous operation for vastly higher throughput; parallelizes processing across and within files by emeryberger
* Improved validity checking by emeryberger in https://github.com/plasma-umass/commentator/pull/6
* Change to handle nested functions. by emeryberger in https://github.com/plasma-umass/commentator/pull/7
* LiteLLM and Bedrock support by emeryberger in https://github.com/plasma-umass/commentator/pull/9

**Full Changelog**: https://github.com/plasma-umass/commentator/compare/v0.0.3...v0.2.9

0.0.3

This early release uses ChatGPT to comment your code (currently limited to Python, more to come!). It processes code one function at a time to avoid exceeding ChatGPT's token limits.

**Full Changelog**: https://github.com/emeryberger/commentator/commits/v0.0.3

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.