Files
openide/python/services/README.txt
Ilya.Kazakevich 882c455d4d Python: Introduce "Python Services."
See `README.txt`.
The "Python Services" is a new API for PyCharm execution subsystem.

The idea is to build the following mental model:
1. If you need an API -- there should be a service.
2. Each service has a showcase in "tests" root so you can see how it works in real life.
3. Code against interfaces.
4. Only link against those modules/services you really need.
5. No UI, no leaky abstractions in services.

This change introduces two services:
1. `SystemPythonService` to work with CPythons installed on OS.

GitOrigin-RevId: b07df246d1510a02c060fa7a929cf134879c7677
2025-01-11 16:43:37 +00:00

7 lines
241 B
Plaintext

PyCharm services is a set of APIs to interact with the PyCharm execution subsystem.
Each service is implemented as an interface and a function with the same name to get an instance of it.
Services usually have showcases in "tests" roots.