PyCharm 2018.1 RC

We’re getting close to the PyCharm 2018.1 release, and today we’re happy to present our release candidate. If you want to play with the new version before it’s out officially, you can get it from our website.

New in this Version

Easier configuration of SSH remote Python interpreters

RC - SSH

Do you want to run some code on your Raspberry Pi, analyze data on a powerful cluster, or debug your web application in an AWS-hosted staging environment? PyCharm’s SSH remote interpreter can help you. Connect to your box in a few easy steps, and PyCharm will configure both file transfer and interpreter settings for you.

Try it out now, and let us know how you like it!

Further improvements

  • A bug where scientific projects would open a Python console with the wrong interpreter has been fixed
  • Cython extensions are now available for Python 3.7
  • Some code insight improvements
  • Find all improvements in the release notes

Interested?

The release candidate is not an EAP version. Therefore, if you’d like to try out the Professional Edition, you will either need to have an active license, or you’ll receive a 30-day trial period. The Community Edition is free and open source software and can be used without restrictions (apart from the Apache License’s terms).

If you have any comments on our RC version (or any other version of PyCharm), please reach out to us! We’re @pycharm on Twitter, and you can of course always create a ticket on YouTrack, our issue tracker.

Posted in Uncategorized | Leave a comment

PyCharm 2018.1 EAP 9

This week’s EAP version is now available: get it now from our website.

New in PyCharm

Flask Run Configuration

Flask Run Configuration

If you’ve been using a recent version of Flask, you may have already used the flask run commands to start your development server. PyCharm now comes with a special run configuration type to make use of Flask’s new functionality. Try it now!

Further Improvements

  • In the previous EAP, in some cases, the sudo password was asked upon creation of a new virtualenv. This bug has been resolved.
  • Various improvements to the ‘Add type hint’ intentions. To have PyCharm suggest a type hint, just put your cursor on a variable, press Alt+Enter, and choose one of the options.
  • The scroll behavior in the built-in terminal (Alt+F12) has been improved.
  • Read more about new features in the release notes

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 2 Comments

Webinar: “Python Data Science with pandas” with Matt Harrison

Data science is the fastest-growing segment of the Python community and Python is the
de-facto language in data science. Well-known speaker and author Matt Harrison joins us to discuss pandas, the hot-topic Python library for data science, and how to use it in a sample application.

  • Tuesday, March 20
  • 5:00PM-6:00PM CET (12PM Eastern Daylight, 9AM Pacific Daylight)
  • Register here

r-3

Matt will provide a walkthrough through some of the features of pandas: data ingestion, cleaning, and adding columns. As a demo application to show Python and data science, Matt will analyze bitcoin price data, making a simple model to show whether the price of bitcoin would rise or fall.

Speaking to You

Matt (MetaSnake, @__mharrison__) has been using Python since 2000 in the areas of search, configuration management, storage, retail, and travel. He provides Python and Data Science training to corporations big and small. In addition, he has been teaching Python at PyCon, OSCON, Strata, and other venues.

Posted in Webinar | Leave a comment

PyCharm 2018.1 EAP 8

This week’s EAP version is now available: get it now from our website.

New in PyCharm

Find tables using the “Find Class” window (Pro only)

EAP 8 - Find Tables

As some of you might know, PyCharm Professional Edition bundles all features from DataGrip, JetBrains’ SQL IDE. We’re making working with databases a little bit easier in PyCharm 2018.1 by including tables in connected databases in the class lookup. If you’ve configured your database, just use Ctrl+N (or Cmd+O on macOS) to open the ‘Find Class’ window, and type the name of your table there.

If you haven’t configured your DB yet, you can learn how to connect PyCharm Professional Edition to a database with our documentation.

Further Improvements

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 3 Comments

PyCharm 2016.3 and later updated for GitHub compatibility

Recently, GitHub has improved its security by moving to more secure cryptographic algorithms. We’ve updated all PyCharm versions from 2016.3 and later to be compatible with GitHub’s new algorithms.

The new versions:

  • PyCharm 2017.3.4
  • PyCharm 2017.2.5
  • PyCharm 2017.1.6
  • PyCharm 2016.3.4

Please update PyCharm to ensure you can continue to use GitHub using PyCharm’s integration. You can download the latest version of PyCharm from our website. If you have a perpetual license to an older version, you can get those from the previous versions page.

Posted in Release Announcements | Tagged | 1 Comment

PyCharm 2018.1 EAP 7

This week’s EAP version is now available: get it now from our website.

New in This Version

JavaScript package.json Version Inspection

EAP 7 - JS Package JSON version check

PyCharm has had an inspection to verify that the installed version of a pip package matches your specified version for a long time already. This functionality is now also coming to JavaScript. PyCharm Professional Edition bundles all features of WebStorm, JetBrains’ JavaScript IDE. JavaScript support is not available in PyCharm Community Edition.

Further Improvements

  • Various Python code inspection improvements: a false positive when calling super(**kwargs) has been fixed, imports from python files with a similarly named directory now work correctly, and more
  • The startup message of the Python interpreter is now folded when using the ‘Show command line afterwards’ option of run configurations
  • And more: read the release notes for details

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | Leave a comment

Webinar Recording: “Productive pytest With PyCharm”

February 22nd we had Brian Okken on for a webinar titled “Productive pytest With PyCharm”. Brian is the author of the recent book Python Testing with pytest and host of the Test and Code podcast. The recording is now available:

This webinar was a follow-on to the introductory Visual Testing with PyCharm October 2017 webinar with Kenneth Love. As such, Brian did a deeper dive into the intermediate features of pytest:

  • Good style for asserts
  • Refactoring verbose tests into fixtures and conftest.py files
  • Refactoring fixtures
  • Using parameterize to repeat similar tests
  • Other uses of markers
  • Coverage

Brian’s webinar material (including notes) are available in a GitHub repo.

The recording is 1 hour and 29 minutes (we had lots of questions). If you have any questions about the material, post them here and we’ll either try to answer or ask Brian to pitch in. Thanks to Brian and thanks to everyone that participated…quite a number of good questions and even helpful answers from the audience (Cody, David.)

-PyCharm Team-
The Drive to Develop

Posted in Video, Webinar | Tagged | 2 Comments

PyCharm 2018.1 EAP 6

This week’s EAP version is now available: get it now from our website.

New in PyCharm 2018.1 EAP 6

Git add patch

Many people have requested it, and we’ve now added it to all JetBrains IDEs. You can now partially add files to your commit. Just use the checkboxes next to the diff to either add part of a file, or to exclude that part from the commit:

EAP 6 - Git add p

Further Improvements

  • PyCharm will no longer warn you that packages included in the extra_requires section of setup.py aren’t included in your project requirements
  • Various further improvements to remove false warnings in code inspections.

You can read about further improvements in the release notes.

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 2 Comments

PyCharm 2018.1 EAP 5

The second Early Access Program (EAP) version of PyCharm 2018.1 is now available. Get it now from our website.

New in PyCharm 2018.1 EAP 5

Code Cell Marker: No More PEP8 Warning

If you haven’t tried it yet, we released code cells in last week’s EAP. This week we’ve polished away a small bug, and now we no longer report the cell marker as a PEP8 violation:

Code Cells

Coverage Reports for Tests Run in Docker Compose

If you have a Docker Compose interpreter configured for your project, you can now get a coverage report for your unit tests. Just choose ‘Run with Coverage’ for your unit test run configuration. You need to have coverage.py installed in the container’s Python interpreter for this to work.

It is now also possible to profile Python code running in Docker-Compose containers.

Further Improvements

  • It is no longer possible to put breakpoints in stub files. Stub files are generated for code completion, and therefore it is not possible to break at any point in these generated files. In previous releases it was possible to put a non-functioning breakpoint in these files.
  • Various further improvements to remove false warnings in code inspections.

You can read about further improvements in the release notes.

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore not all new features are already available. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | Leave a comment

PyCharm 2018.1 EAP 4

You can now download the fourth Early Access Program (EAP) version of PyCharm 2018.1 from our website.

New in PyCharm 2018.1 EAP 4

Run Cells in .py Files

PyCharm 2018.1 brings an exciting feature for Python developers doing data analysis and scientific development. You can break your .py files down into code cells which can be executed separately in the integrated Python console.

Important Note: Code cells are supported only in the PyCharm Professional Edition with the Scientific Mode enabled. Don’t forget to enable Scientific Mode in View | Scientific Mode before trying this feature out.

A “code cell” is a block of lines to be executed all at once in the integrated Python console. You can define cells simply by adding inline comments #%% to your regular Python files. PyCharm detects these comments and shows you a special run icon in the left gutter. Clicking this icon triggers the execution of a cell:

Selection_015

Improved Conda Environment Support

Creating and managing new Conda environments has just got easier with PyCharm as we added an option to specify a Conda executable when setting up a new environment for your project. PyCharm remembers a Conda executable specified with this option and uses it for the future creation of Conda environments:

Selection_016

Improved docker-compose Support

Note: docker and docker-compose integration is only available in PyCharm Professional Edition

With this EAP build we released some important fixes and improvements for docker-compose support: now PyCharm follows symlinks to docker-compose configuration files and supports configuration files v.3.2 and v.3.3. Running and debugging with docker-compose now works much faster than before, and last, but not least, the output from the Run/Debug console as well as the integrated manage.py (Django) console looks slicker and conforms to the output of the original docker-compose command:

Selection_020

 

Python 3.7: __class_getitem__ class method

Although the release of Python 3.7 may still seem pretty far away, we’ve been working hard to make sure PyCharm will be ready when it comes. In this EAP we’ve added support for the PEP 560 __class_getitem__ class method.

Type Annotations for Local Variables

We’ve been making steady improvements to the core of our product: Python code analysis. In this version, we have added a new intention action: “Add type hint for variable” which automatically adds type annotations to local variables based on PyCharm’s type inference mechanism.

You can read about further improvements in the release notes.

Interested?

Download this EAP from our website. Alternatively, you can use the JetBrains Toolbox App to stay up to date throughout the entire EAP.

If you’re on Ubuntu 16.04 or later, you can use snap to get PyCharm EAP, and stay up to date. You can find the installation instructions on our website.

PyCharm 2018.1 is in development during the EAP phase, therefore all the new features are not all available yet. More features will be added in the coming weeks. As PyCharm 2018.1 is pre-release software, it is not as stable as the release versions. Furthermore, we may decide to change and/or drop certain features as the EAP progresses.

All EAP versions will ship with a built-in EAP license, which means that these versions are free to use for 30 days after the day that they are built. As EAPs are released weekly, you’ll be able to use PyCharm Professional Edition EAP for free for the duration of the EAP program, as long as you upgrade at least once every 30 days.

Posted in Early Access Preview | Tagged | 4 Comments