PyCharm provides everything you need out of the box to code faster and smarter. Whether you're an experienced developer or just starting your journey with the language, the JetBrains IDE for Python helps you get your work done.
Features
Python Code Editing
Discover how PyCharm's coding assistance can enhance your development process. Get context-aware code completion, type hinting, quick documentation, and auto-imports - across your entire project. PyCharm handles the repetitive aspects of software development so you can focus on designing innovative solutions.
Language Support
PyCharm covers both full-stack web development and data science use cases, providing first-class support for not only Python, but also JavaScript, TypeScript, HTML, CSS, SQL, and more. From coding assistance to debugger and testing frameworks, all tools are tightly integrated to help you deliver faster with less effort.
Database & SQL
With productive database querying, schema browsing, and refactoring, you have all the necessary resources to work efficiently with your data. PyCharm offers built-in support for leading database formats, including PostgreSQL, Oracle, MongoDB, and Redis, so you can choose the best tool for the job.
Python Profiler
Deliver faster, more efficient software with PyCharm's profiling tools. Enjoy a comprehensive view of your code's behavior at runtime before examining hot spots in more detail. Avoid wasted efforts by focusing on the source of each bottleneck. Real-time results provide immediate feedback to fine-tune your optimizations, while PyCharm's profiling sessions enable you to compare the impact of different approaches.
Testing
Get instant, automated feedback as you type and watch your code quality soar. PyCharm's out-of-the-box support for popular test frameworks combines with intelligent code completion to make writing tests easier. Whether embracing test-driven development or wanting an IDE that adapts to your process, PyCharm helps you achieve higher quality code.
Refactoring
Benefit from project-wide refactorings that are both superfast and secure as PyCharm applies your changes safely and consistently, making your code easier to read and maintain. PyCharm enables you to do everything from renaming variables and updating functions to extracting constants or methods and converting modules to packages.
Debugging
Get to the source of bugs with PyCharm's flexible and intuitive Python debugger. However you work – be it locally, on a remote machine, in a virtual environment, or in a container – PyCharm delivers insights to fix issues quickly. Harness the power of PyCharm's visual debugger to understand how your logic plays out and track down the causes of exceptions. Every aspect of the debugging process is configurable so you can work as efficiently and effectively as possible.
The Python IDE for data science and web development
The complete IDE for professional Python development, PyCharm provides everything you need in a clean, intuitive, and configurable UI.
What's New
Inline AI prompting
Prompt AI directly in the editor
You can interact with AI Assistant right where you do most of your work – in the editor. Stuck with an error in your code? Need to add documentation or tests? Just start typing your request on a new line in the editor. PyCharm will automatically recognize your natural language request and generate a response. If the new line is indented, prefix your request with the $ or ? symbol.
PyCharm leaves a purple mark in the gutter next to lines changed by AI Assistant so you can easily see what has been updated.
If you don't like the initial suggestion, you can generate a new one by pressing Tab. You can also adjust the initial input by clicking on the purple block in the gutter or simply pressing Ctrl+\ for Windows or Cmd+\ for macOS.
This feature is available for Python, JavaScript, TypeScript, JSON, and YAML files.
Narrow the context for your inline prompt
Want to get assistance with a specific argument? You can narrow the context that AI Assistant uses for its response as much as you want. Just put the caret in the relevant context, type the $ or ? symbol, and start writing. PyCharm will recognize your prompt and take the current context into account for its suggestions.
Generate documentation
PyCharm now displays a Generate with AI Assistant inlay hint when it detects the docstring format. This feature helps you leverage AI to speed up the process of generating documentation.
Improved context management
In this update, we've made managing the context AI Assistant takes into account with its suggestions more transparent and intuitive. A revamped UI lets you view and manage every element included as context, providing full visibility and control. The open file and any selected code within it are now automatically added to the context, and you can easily add or remove files as needed, customizing the context to fit your workflow. Additionally, you can attach project-wide instructions to guide AI Assistant's responses throughout your codebase.
Option to choose a chat model provider
You can now select your preferred AI chat model, choosing from Google Gemini, OpenAI, or local models on your machine. This expanded selection allows you to customize the AI chat's responses to fit your specific workflow, offering a more adaptable and personalized experience.
Run code from the AI chat in the Python console
Iterate faster on the code suggested by AI Assistant by simply running code snippets from the AI chat in the Python console. Click the green Run button in the upper right-hand corner of the code snippet to check how the suggested piece of code works.