PyCharm’s huge collection of tools available out of the box includes an integrated debugger and test runner; a Python profiler; a built-in terminal; integration with major VCS and built-in database tools; remote development capabilities with remote interpreters; an integrated ssh terminal; and integration with Docker and Vagrant.
With an inline debugger, all live debugging data are shown directly in the editor, with variable values integrated into the editor's look-and-feel. Variable values can be viewed in the source code, right next to their usages.
Use Step into My Code to stay focused on your code: the debugger will only step through your code bypassing any library sources.
PyCharm can debug applications that spawn multiple Python processes, such as Django applications that don't run in --no-reload mode, or applications using many other Web frameworks that use a similar approach to code auto-reloading.
Every script/test or debugger execution creates a special 'Run/Debug Configuration' that can be edited and used later. Run/Debug Configurations can be shared with project settings for use by the whole team.
You can run any Python file. Just right-click what you need to run and select 'Run <your script>'.
PyCharm allows easily configure the required Python environment for your project, be it local, remote interpreter or a virtualenv.
You can run interactive Python or Django consoles in PyCharm which offer many advantages over the standard ones: on-the-fly syntax check with inspections, automatic matching of braces, parentheses and quotes, and of course code completion. Both consoles work with local and remote interpreters.
This is what makes PyCharm a complete Python IDE. No need to leave the IDE as you develop. Local terminal is available for Windows, Linux and Mac OS.
PyCharm supports all major Python implementations including Python 2.x and 3.x, Jython, IronPython, PyPy and Cython, offering:
Perform unit testing with ease, as PyCharm integrates with popular Python testing frameworks: doctests, nose, and attest.
PyCharm lets you run your tests: a test file, a single test class, a method, or all tests in a folder. You can observe results in the graphical test runner with execution statistics and easy test-code navigation.
PyCharm integrates with Coverage.py, a standard tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, and then analyzes the source to identify code that could have been executed but was not. You get the results in a nice visual format for later analysis and easy code navigation.
Take full control of your code with the Python Profiler Integration, supporting yappi and cProfile. Discover captured snapshots and detailed statistics with the colored function call graph. Observe an aggregated report and jump from the execution statistics directly to the function in your Python code.
BDD is now possible in Python with Behave and Lettuce. Write human-readable stories that describe the behavior of your application. Enjoy support from PyCharm including installation and configuration helpers, run configuration and BDD frameworks’ Intellisense.
Thread Concurrency Visualization helps you take full control over your multi-threaded applications. You can run your python application in the Concurrency Diagram mode using special button to inspect the real time states of threads inside your running process on a diagram.
Unified support for Git, SVN, Mercurial, Perforce and other version control systems helps you manage local changes and apply complex branch operations. All the tedious tasks (adding, removing and deleting files) are performed automatically.
The following features are available no matter which VCS you use:
PyCharm tracks any changes made to your source files, protecting you from any accidental losses or modifications, even if made by other applications. At any time, you can inspect the history of either a particular file or directory, and roll back to any of its previous versions.
A built-in visual merge tool resolves all conflicts in a quick and intuitive manner. The changes made locally are highlighted as you type in the editor gutter, providing intuitive navigation and 2-click rollback for individual changes.
You can easily track changes and view differences between two files, or compare two versions of a file (local changes or changes between local files and their revisions in a remote repository) using the integrated graphical Diff Viewer.
Access Oracle, SQL Server, PostgreSQL, MySQL and other databases right from the IDE. PyCharm helps you edit SQL code, browse data, and alter schemas as well as table data, run queries, and even analyze schema with UML diagrams.
SQL code can be injected to other languages or edited in SQL Editor with syntax highlighting, smart code completion, on-the-fly code analysis, code formatting and navigation.
PyCharm provides smart code insight for the SQLAlchemy library, resulting in intelligent code suggestions and automatic completion. SQLAlchemy diagrams complement the support of this handy SQL toolkit by visualizing your data structure.
PyCharm Professional Edition incorporates the latest capabilities of DataGrip to help you work with databases. Learn more about DataGrip features
The Built-in SSH Console let you connect to any remote machine and perform various actions via SSH. In addition, SSH Remote Tools can be configured to run any remote tool right from the IDE with a single keystroke.
Using a remote Python interpreter instead of a local one lets you run, debug and profile your application on a production-like or testing environment, be it the real server or a virtualized one created with Vagrant or Docker.
Vagrant is a handy tool natively integrated in PyCharm designed to help you create reproducible development environments. It allows you to share a development virtual machine by sharing a simple script. Other developers can then launch an identical machine by running the Vagrant up command.
PyCharm integrates Docker, a popular open platform for distributed applications for developers and system administrators. Specify a Python interpreter from a Docker container and use it in your project for running, debugging and profiling your applications.
When your ToDo list is in an issue tracking system, you can configure PyCharm to work with the issues without switching from the IDE. Just specify your issue tracker server and:
PyCharm supports the following bug tracking systems: Atlassian JIRA, JetBrains YouTrack, Lighthouse, Pivotal Tracker, GitHub, Redmine, and Trac.