Python Development Environment#
/// warning "Work in progress" This tutorial might be outdated. Please check Go tutorial for the latest updates until this version is updated. ///
Although every developer's environment is different and is subject to a personal preference, we will provide some recommendations for a Python toolchain setup suitable for the development of NDK applications.
The toolchain that can be used to develop Python-based NDK apps consists of the following components:
- Python programming language - Python interpreter, toolchain, and standard library. Python2 is not supported.
- Python NDK bindings - generated data access classes for gRPC based NDK service.
Here is an example project structure that you can use for the NDK agent development:
NDK language bindings#
With the provided Python bindings, the NDK can be installed with
Once installed, NDK services are imported in a Python project like that:
- The example is provided for
appid_service_pb2service but every service is imported the same way.