comparison Sphinx/source/plugins/python.rst @ 349:60080d792f25

rephrasing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Mar 2020 18:21:55 +0100
parents d8359cecdc89
children c238865e7538
comparison
equal deleted inserted replaced
348:d8359cecdc89 349:60080d792f25
5 ========================= 5 =========================
6 6
7 .. contents:: 7 .. contents::
8 8
9 Work-in-progress. 9 Work-in-progress.
10
11 Being a plugin, the Python API has access to more features than
12 :ref:`Lua scripts <lua>`.
10 13
11 The Python API is automatically generated from the `Orthanc plugin SDK 14 The Python API is automatically generated from the `Orthanc plugin SDK
12 in C 15 in C
13 <https://hg.orthanc-server.com/orthanc/file/Orthanc-1.5.7/Plugins/Include/orthanc/OrthancCPlugin.h>`__ 16 <https://hg.orthanc-server.com/orthanc/file/Orthanc-1.5.7/Plugins/Include/orthanc/OrthancCPlugin.h>`__
14 using the `Clang <https://en.wikipedia.org/wiki/Clang>`__ compiler 17 using the `Clang <https://en.wikipedia.org/wiki/Clang>`__ compiler
15 front-end. The coverage of the C SDK is about 75% (105 functions are 18 front-end. The coverage of the C SDK is about 75% (105 functions are
16 automatically wrapped in Python out of a total of 139 functions in C). 19 automatically wrapped in Python out of a total of 139 functions in C).
17
18 This provides much more flexibility than the Lua scripts.
19 20
20 21
21 Samples 22 Samples
22 ------- 23 -------
23 24