“What’s New in PyCharm 2016.3” Webinar Recording Available Now!

Our webinar “What’s New in PyCharm 2016.3” that we organized on Wednesday November 30th is now available on YouTube:

In this webinar Paul Everitt, PyCharm Developer Advocate, shows you around the new features in PyCharm 2016.3 (and shows some other great features that were introduced in 2016).

He discusses improvements to Django (at 1:33), web development support (at 6:07), database support (at 14:45), and more. PyCharm Professional bundles all the new functionality of the latest versions of WebStorm and DataGrip.

After introducing some of these features, he shows how to create a 2D game in Python using the Python Arcade library (from 17:26 onwards). In the process he shows how to unit test the game, profile the game, and how to debug the game faster.

If you’d like to follow along and play with the code, you can get it from Paul’s GitHub repository.

Keep up with the latest PyCharm news on this blog, and follow us on Twitter (@PyCharm)

The Drive to Develop

-PyCharm Team

Posted in Webinar | Leave a comment

PyCharm 2016.3 Released

We are happy to announce the availability of PyCharm 2016.3. Get it now from our website.

We have worked hard on bringing you a better IDE, PyCharm 2016.3 comes with these features:

  • Better Django support
  • Improved Python console
  • Full support for Python 3.6
  • Enhanced version control integration
  • A better variable explorer
  • Upgrades to coverage and profiling tools
  • And much more, see the what’s new page

Next Wednesday (November 30th) at 3pm GMT (4pm European, 10am Eastern) we’re organizing a webinar where Paul Everitt, our developer advocate, introduces PyCharm’s new features, sign up here!

If you got your PyCharm license before November 2015, we have a special offer for you! Don’t miss out on these new features: switch to a subscription and get 40% off your monthly payments until your subscription expires. This offer is valid until the end of the year. Switch now in the JetBrains store.

We want to make sure that PyCharm will remain the best Python IDE, if you know a feature we could add to make it better for you, please let us know on our issue tracker!

-PyCharm Team

Posted in Release Announcements | 17 Comments

PyCharm 2016.3 Release Candidate 2

We are happy to announce the availability of PyCharm 2016.3 RC 2. We are approaching the release of 2016’s third major PyCharm update, and it’s available for preview now. Download it now from the preview page.

Since the previous public preview we’ve fixed several bugs: details in the release notes.

If you haven’t seen our public preview yet, check out the preview page to learn about the features included in the new version. Some highlights:

  • Better Django support
  • Improved Python console
  • Enhanced version control integration
  • And much more

If you still have a perpetual license for an earlier version of PyCharm, we have a special offer for you! Don’t miss out on these new features: switch to a subscription and get 40% off forever. This offer is valid until the end of the year. Switch now in the JetBrains store.

Although we do our best to make sure that release candidates work well, if you experience any issues please report them on our issue tracker. Of course new feature requests are welcome there as well!

-PyCharm Team

Posted in Uncategorized | Leave a comment

PyCharm 5 and 2016.1: PyPI Compatibility Hotfix

The Python Package Index (PyPI) has recently upgraded its caching infrastructure, which broke our integration with their service. We contacted them to restore this functionality temporarily, and now we’ve prepared a hotfix to make sure earlier PyCharm versions will continue to work into the future.

If you are using PyCharm 5 or PyCharm 2016.1 please update today (Help | Check for Updates) to make sure you won’t be affected when PyPI deactivates their now deprecated API.

Full installers for previous versions of PyCharm can be downloaded from the previous versions confluence page.

-PyCharm Team

Posted in Release Announcements | Leave a comment

PyCharm 2016.3 Release Candidate

We are happy to announce the availability of PyCharm 2016.3 Release Candidate. We are approaching the release of 2016’s third major PyCharm update, and it’s available for preview now. Download it now from the preview page.

Since the previous public preview we’ve fixed several bugs: details in the release notes.

If you haven’t seen our public preview yet, check out the preview page to learn about the features included in the new version. Some highlights:

  • Better Django support
  • Improved Python console
  • Enhanced version control integration
  • And much more

If you still have a perpetual license for an earlier version of PyCharm, we have a special offer for you! Don’t miss out on these new features: switch to a subscription and get 40% off forever. This offer is valid until the end of the year. Switch now in the JetBrains store.

Although we do our best to make sure that release candidates work well, if you experience any issues please report them on our issue tracker. Of course new feature requests are welcome there as well!

-PyCharm Team

Posted in Early Access Preview | 2 Comments

Webinar: What’s New in PyCharm 2016.3, November 30th

Join us Wednesday, November 30, 2016, at 16:00 – 17:00 CET (check other time zones) for the free webinar What’s New in PyCharm 2016.3 with Paul Everitt.

pycharm_webinar_what_s_new_in_pycharm_2016_3

PyCharm 2016.3 is the third update in the 2016 series of releases. During this webinar, Paul Everitt gives a quick overview of the new features and improvements, including:

  • Django: Create Django projects with remote interpreters, Django forms in class-based views
  • Python: Full 3.6 support, improved variable explorer, Python console copy-paste made easier, numpy array and pandas dataframe viewer straight from the debugger, terminal with virtualenv pre-activated, Per-line vmprof profiling
  • Web: ES6 Refactorings
  • VCS: Undo commit
  • Database: Edit many database cells at once
  • Platform: Fira font ligatures

Register for the webinar and then join us as we demonstrate many of the new features and take questions live.

To follow updates on this release, please visit the 2016.3 landing page.

About Paul Everitt

Paul Everitt is the PyCharm Developer Advocate at JetBrains. Before that, Paul was a co-founder of Agendaless Consulting and a co-founder of Zope Corporation, taking the first open source application server through $14M of funding. Paul has bootstrapped both the PSF and the Python Software Foundation. Prior to that, Paul was an officer in the US Navy, starting in Python and launching www.navy.mil in 1993.

Posted in Webinar | 9 Comments

Help us make a great PyCon US tutorial proposal

tl;dr Fresh new tutorial techniques and testimonials solicited

PyCon US 2017 is around the corner if you stretch your neck and have good eyesight. More specifically, the deadline for tutorial proposals is right on our doorstep. We’ve been hatching a good idea for a tutorial, putting a lot of work into finding some clever new approaches and would like some ideas from our PyCharmers.

And selfishly, we’d like some testimonials we can submit if you attended our EuroPython or PyCon India tutorials.

Our tutorial idea is “Debugging for the Masses…Visually”. Our thesis: lots of people aren’t using the debugger, or aren’t using it fully. We’d like to help them get over the hump with some new twists, starting with a visual approach to debugging, using the free and open source PyCharm Community Edition.

We have some unique ideas planned:

  • The tutorial builds a 2d game in Python, introducing debugging concepts along the way
  • A twist on the presentation style
  • Animated visuals to explain hard-to-grasp concepts
  • And more…

Here’s an open call to PyCharmers…step back from the normal tutorial and think big. What are some fresh new ideas for a tutorial on making people productive with debugging?

And if you’ve gone to one of my tutorials (PyCharm, Pyramid, Plone, Python) over the years, please drop a note in the comments if you liked it. It’s a helpful part of a strong proposal submission, and we’re really working hard to deliver something special.

Posted in Uncategorized | 2 Comments

PyCharm 2016.3 Public Preview 3

This week’s public preview version is out now! If you want to try out the 2016.3 features now, get it from the preview page. As a preview version, it comes with a free 30-day preview license.

Since last week, we’ve:

  • Improved Jupyter Notebook (previously known as IPython Notebooks) support: split and merge cells, customized command line arguments, and support for IPython profiles. We’ve also fixed a lot of bugs.
  • Added support for node.js Yarn tasks.
  • And fixed a lot of bugs

You can see all the new features since 2016.2 and try out the new version on the preview page. For more details on what’s new, check out the release notes.

If you want to receive the new preview version every week, set your update channel (Help > Check for Updates, and then click the ‘updates’ link) to “Early Access Program” or “Beta Releases or Public Preview”.

If you find any bugs in PyCharm, or would like to request a feature, please let us know on the issue tracker!

-PyCharm Team

Posted in Early Access Preview | 10 Comments

PyCharm 2016.3 Public Preview 2

Last week, we published PyCharm 2016.3’s first public preview. Today, we continue our weekly preview release schedule with PyCharm 2016.3 Public Preview 2.

Get it now from the PyCharm preview page. If you want to keep up-to-date with the weekly updates, you can set your update channel to “Early Access Program” (Help > Check for Updates)

This release has all the new features that will be released in PyCharm 2016.3, and as a preview version includes a free 30-day preview license.

Improvements from the first public preview include fixes to the Python console, debugger, inspections, and the Docker integration. See the release notes for details.

We encourage you to try out the new public preview, and we’re looking forward to your feedback. Please report any bugs and feature request on our issue tracker.

PyCharm team

Posted in Early Access Preview | 1 Comment

PyCharm 2016.3 Public Preview

Great news: Today we’ve released PyCharm 2016.3 Public Preview, marking the feature freeze for the next major release planned for this fall.

Everyone is very welcome to download and try its new features, bug fixes and other important improvements. As usual, we’re eager to hear your feedback on it in comments to this post or in our public issue tracker.

pycharm_splash2016_3_pp

The release of PyCharm 2016.3 Public Preview indicates that PyCharm 2016.3 has entered the Beta phase. It’s now feature complete and we won’t be adding any new features, but focusing on polishing the existing functionality.

Let’s take a closer look at what’s coming in PyCharm 2016.3:

Python 3.6 support

PyCharm 2016.3 will come with the following support for the latest Python 3.6:

PEP 526: Syntax for variable annotations: PyCharm now recognizes the new syntax and uses this meta information about types for type inference. Ultimately this positively affects code completion, inspections and error checking. Additionally we’ve added a special code intention (invoked with Alt+Enter) to automatically convert comment-based type hints to variable annotations syntax.

PEP 498: Formatted string literals: Basic support for f-strings recognizes their syntax and provides code completion inside them for replacement fields surrounded by curly braces. A special code intention (invoked with Alt+Enter on a code statement) automatically converts %-formatted strings and str.format() into formatted string literals:

f-strings-cropped

PEP 515: Underscores in numeric literals: This PEP extends Python’s syntax and number-from-string constructors so that underscores can be used as visual separators for digit grouping purposes in integral, floating-point and complex number literals.

PEP 525 and PEP 530: These 2 standards introduce asynchronous generators and comprehensions. PyCharm provides code inspections for them and uses them for type inference.

Additional support for new PEPs now includes code injections for annotations inside function type comments. That means PyCharm recognizes the syntax and provides highlighting for type hints specified in comments, checks them for errors, provides quick-fixes and monitors that all hints used are properly imported from the typing module. That makes it easier and safer to use type annotations in your code.

Django support

Dango support has been enhanced in many ways:

  • Django projects Run/Debug on a remote machine: With PyCharm 2016.3 you can create a new project setting it up for running and debugging on a remote machine without need of having any local interpreter on your development machine. All you need is to specify a remote interpreter on the Django project creation stage.djangovagrant
  • We’ve implemented code completion for Django forms in class-based views. PyCharm now understands the forms context in class-based views and shows forms-specific autocompletion and suggestions in the same way it’s done for function-based views.
  • Pycharm 2016.3 supports the new syntax for TEMPLATES first introduced in Django 1.8:
    • New projects are now created using the latest format
    • Template dirs and template app dirs are loaded in the way it works in Django 1.8 (from TEMPLATES)
    • Code completion is provided for all template dict keys, options and context_processors

Better handling of multi-line commands in Python console

console

Thanks to our active user Yuli Fiterman for his generous help and valuable code contributions, together we’ve fixed a bunch of bugs related to multi-line commands in Python console. IPython console got some improvements as well.

Enhanced Variable Explorer

The brand-new Simplified Variables View option is enabled by default and hides all dunder variables, instances of function, classobj and module under a separate group named “Special Variables” in the Variables Explorer. Additionally, if an IPython-powered interpreter is used in the debug mode, all the utility IPython variables are moved to this group as well:

variables

For variables with long values such as numpy arrays or pandas dataframes, you can notice the special new “View as…” hyperlink in the variables explorer. Click it to view a value in a separate popup viewer:

viewasarray

Docker Compose Integration

docker

On the Docker Compose integration side we’ve made a couple of neat improvements:

  • Now it’s possible to specify multiple Compose files when defining a Docker Compose-based python interpreter for your project to extend an entire Compose file. Previously you could only specify a directory or a specific Compose file in Docker Compose interpreter configuration. Now, in PyCharm 2016.3 you can specify a particular Compose file and extend it with additional overriding configurations.

Note: Using multiple Compose files enables you to customize a Compose application for different environments or different workflows.

  • Some Compose files can contain variables that are substituted with corresponding environment variables on docker-compose execution. PyCharm 2016.3 provides a convenient way to specify the environment variables right in the Docker Compose interpreter configuration dialog as shown on the screenshot above.

Venv Activation in Terminal

venv

The virtual environment associated with the current project you’re working on is now activated by default when opening PyCharm’s embedded terminal. Auto venv activation is supported for bash, zsh, fish or Windows CMD. You can specify or alter the shell of your preference in Settings (Preferences) | Tools | Terminal.

Branch coverage support

coverage

With PyCharm 2016.3 we bring you improved code coverage tool integration. We’ve added a new “Branch coverage” option, which is disabled by default, but can be easily enabled in Settings (Preferences) | Build, Execution, Deployment | Coverage | Python coverage. When this option is enabled, PyCharm adds additional information to pure line coverage reports, marking the coverage of lines with conditional statements as incomplete in case one or more branches haven’t been executed.

Line profiling with vmprof

lineprofiler

We’ve implemented integration with VMprof in PyCharm 2016.2. With this new release we take another step forward towards productive profiling, with support for the “profile lines” option available for VMprof. This option is enabled by default when you run your project in the profiling mode. Once statistics is gathered, apart from just seeing the standard profiler report, call graph and call tree, you can also see the line profiling results right in the editor in the left gutter. Lines consuming more processor time are marked in red. To use this functionality, you just need to install the vmprof package on your interpreter with the package manager.

Version Control Improvements

  • Undo commit and delete/restore tracked branch actions
  • Sign-off commits and file scope highlighting
  • Enhanced Log for Git & Mercurial
  • Auto resolve for versioning conflicts
  • Managing Git remotes
  • and more

Platform and UI changes

  • Improved find in path dialog
  • New flat file icons
  • Font improvements including the new default San Francisco font for Mac OS

Web-related improvements in PyCharm 2016.3 Public Preview include:

  • Smarter Rename for TypeScript
  • Angular CLI
  • Grouped files in Project view
  • Destructuring assignments for ECMAScript 6
  • Integration with Flow
  • Using Docker with Node.js apps
  • Enhanced coding assistance for Angular 2
  • New React projects with Create React App
  • TypeScript support improvements

PyCharm incorporates most of the new functionality of the upcoming WebStorm 2016.3. Feel free to learn more about what’s coming from WebStorm 2016.3.

Database tool improvements

In PyCharm 2016.3 Public Preview you can find various Database tool enhancements, which come from DataGrip, the JetBrains database IDE. PyCharm incorporates all the new features of DataGrip:

  • Database Driver management
  • Edit several fields at once in the Table Editor
  • Bulk submit changes
  • Renaming views
  • XML extractor
  • and more

To download the preview build (available in both PyCharm editions) for your platform, go to our EAP page. As always, your feedback is very appreciated in our issue tracker!

Your PyCharm Team
The Drive to Develop

Posted in Early Access Preview | 14 Comments