PyCharm Now Supports Pipenv
Written by Kay Ewbank   
Monday, 06 August 2018

There's an update to PyCharm which includes support for Pipenv environments, and has better pytest support.


pycharmlogo

 

PyCharm is JetBrains' integrated development environment for Python. It provides a graphical debugger, code analyzer, an integrated unit tester, integration with version control systems, and supports web development with Django. Its community edition is free to use and it is the IDE of choice for Mike James, author of Programmer's Python.

This release has added support for pipenv so you can create projects with pipenv, create a pipfile, and have PyCharm update it for you when you install packages. PyCharm will now automatically create a pipenv when you open a project with a Pipfile.

The documentation is another area to have been improved. Quick documentation has been changed to make it easier to use and to look better. and the reStructuredText editor now comes with a preview window, making editing rst files easier.

pycharm quick documentation

The support for pytest has been improved in this version. Code completion and inspections are now support for pytest fixtures. Fixtures are available in both the community edition and the professional edition of PyCharm 2018.2, and BDD support has been added to PyCharm Professional Edition. 

Code insights have also been revamped, so more type hints are checked, along with whether you're correctly awaiting function calls in asynchronous code. If errors are found, quick fixes are suggested.

Recent updates have added the ability to define code cells in data files making it possible to choose which parts to execute, so avoiding the need to re-import data when the analysis details change. 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. Support for Python 3.7 has also been added.

 

 pycharmlogo

More Information

What's New In PyCharm

Related Articles

PyCharm 4 Released

PyCharm Edu Adds Adaptive Courses

PyCharm Educational Edition

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Hydraulic Atlas Bows Out, Welcome Electric Atlas
21/04/2024

Boston Dynamics dismayed us at the beginning of the week with a video that suggested was discontinuing Atlas, its humanoid robot. Fast forward a day and its successor was unveiled. Designed to be even [ ... ]



Excel Spreadsheet - A Joke?
01/04/2024

No this isn't an April Fool's although in places it seems like one. It's a true account of how Williams Racing has suffered through reliance on an overgrown and outdated Microsoft Excel spreadsheet, l [ ... ]


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

<ASIN:1871962587>

 

Last Updated ( Monday, 06 August 2018 )