The makers of a new programmer’s assistant for Python developers are tapping machine learning technology to build new kinds of programming tools. Kite, billed by its creators as “the AI copilot for Python programmers,” is a code-completion system designed to go beyond the conventional auto-suggest algorithms found in IDEs.
Kite integration is available for most every major code editor—Atom, PyCharm/IntelliJ, Sublime Text, Microsoft Visual Studio Code, and Vim. Right now, Kite supports only Python, but the Kite development team plans to support other languages as well.
[ The essentials from InfoWorld: Get started with Anaconda, the Python distribution for data science. • What’s new in the Anaconda distribution for Python. • 5 essential Python tools for data science—now improved. | Keep up with hot topics in programming with InfoWorld’s App Dev Report newsletter. ]
Kite’s code completion is powered by a machine learning model created by scanning publicly available Python code on GitHub. The model isn’t trained on the text of the code, but on abstract syntax trees derived from the code. This provides the models with some sense of the code’s intent and context, delivering auto-suggestion and auto-completion of common code patterns based on how you and other developers have written code in the past.
To read this article in full, please click here