📜 ⬆️ ⬇️

Python Tools 2.1 for Visual Studio released

The final version of Python Tools 2.1 for Visual Studio (PTVS) is available for download! PTVS works with Visual Studio 2010, 2012 and 2013. In addition to the new features listed below, PTVS 2.1 also adds support for free versions of Visual Studio Express for Web and Express for Windows Desktop . Of course, all full versions of Visual Studio, from Professional and above, are still supported.

Python Web Development in Visual Studio


Web development is the main theme of this release. Now in PTVS you can conveniently create sites on Django, Bottle and Flask, both from scratch and using start-up project templates. All sites created this way can be published in a single click on the Azure website.



It also supports Azure Cloud Service projects with work and web roles. In addition, there is a universal template for web projects, which allows using other popular frameworks with minimal configuration - for example, Pyramid.
')
We are still paying the most attention to Django, for which there is a template editor with syntax highlighting and auto-completion for tags and expressions in them, as well as debugging. Compared to previous versions, the editor is fully integrated with HTML, CSS and JS support in Visual Studio, so now they also have full backlight and auto-completion in Django templates.





We also added debugging support for Azure websites with integration into Server Explorer, similar to .NET sites.



A video is presented to your attention in which the process of creating a new site on Flask from scratch in PTVS and importing an existing project into Pyramid, followed by publishing to Azure websites is described in steps:



List of changes regarding 2.0


( source )

For new features there is also an overview video:


Open source


The project still extends with all source codes on CodePlex under the license Apache 2.0, and yes - we accept pull requests! In addition, the project source code serves as an example for creating extensions for Visual Studio.

PTVS team joins Azure Machine Learning Group


Previously, PTVS was developed along with support for other languages ​​in the large Visual Studio family. With the release of this release, the development team moves with the product to the Azure Machine Learning group. About ML support in Azure have already been written on Habré before, and now our team joins the project to add full Python support to it along with R.

Thus, if the topic of previous releases of PTVS was development in Python in general, and web applications in particular, now we will pay considerable attention to the niche in which the explosive growth in popularity of Python - data science, technical computing, and work with large volumes is now observed. data in general. This means, in particular, deep integration with IPython Notebook, extended support for numpy, scipy, pandas and scikit-learn (editing and Intellisense, debugging with data visualization in various ways, etc.). Particular attention in the near future will be given to scenarios related to machine learning.

As part of this transition, along with the release of PTVS 2.1, we also published the ML Pack for PTVS. It includes several project templates for various machine learning scenarios using scikit-learn, with detailed comments on their use and customization for real-world tasks.



In addition, ML Pack includes a new wizard for automatically generating code for using web services created in Azure ML in your Python web applications.

Source: https://habr.com/ru/post/240581/


All Articles