DEV Community

Amir M. Mir
Amir M. Mir

Posted on

Type4Py: Machine Learning-based Type Auto-completion for Python (VSCode Extension)

Since Python 3.5 (PEP-484), developers can add type annotations to their code. Python's optional static typing improves code comprehension, code completion, program analysis, and more. However, retrofitting type annotations can be a laborious and time-consuming task.

To accommodate the typing task, we would like to introduce the VSCode extension of Type4Py, which is machine learning-based type auto-completion for Python. It assists developers to gradually add type annotations to their codebases.

Alt Text

We would like to invite Python developers to test our Type4Py's VSCode extension. We very much appreciate your time and feedback.

Installation

The Type4Py's VSCode extension can be installed from the VSCode Marketplace.

Support

Please let us know your questions, issues, and bugs by reporting them here.

Discussion (8)

Collapse
aheisleycook profile image
privatecloudev

hmm how well does it compare t tabnine or kite

Collapse
amir_mir profile image
Amir M. Mir Author

Here is the comparsion video between Type4Py and Tabnine considering the type auto-completion task.
youtu.be/FSL3hvpd4cI

Collapse
amir_mir profile image
Amir M. Mir Author

Good question! I've prepared a comparison video between Type4Py and Tabnine. I'm gonna share it on YT and here very soon.

Collapse
aheisleycook profile image
privatecloudev

I will check I out

Thread Thread
aheisleycook profile image
privatecloudev

i used kite too the problem is sometimes these have a cap usage limit

Collapse
aheisleycook profile image
privatecloudev

I wasn't able to find in the market pae

Collapse
amir_mir profile image
Amir M. Mir Author

Here is the link on the market place:
marketplace.visualstudio.com/items...

Collapse
aheisleycook profile image
privatecloudev

yea still lookign a,t i am builkding testcase for my wokr