blob: a82b793fe099ca0093ef244717fa5900b87d68eb [file] [log] [blame]
Filip Pytlounfaab44c2015-10-06 16:28:32 +02001
2======
3Python
4======
5
6Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale.
7
8Python supports multiple programming paradigms, including object-oriented, imperative and functional programming or procedural styles. It features a dynamic type system and automatic memory management and has a large and comprehensive standard library.
9
10Available states
11================
12
13.. contents::
14 :local:
15
16``python``
17----------
18
19Install defined packages.
20
21``python.environment``
22----------------------
23
24Also install defined packages.
25
26Available metadata
27==================
28
29.. contents::
30 :local:
31
32``service.environment``
33-----------------------
34
35Basic Python environment
36
37``service.environment.development``
38-----------------------------------
39
40Development Python environment.
41
42``python.environment.django``
43-----------------------------
44
45Python Django environment.
46
47Sample pillars
48==============
49
50Simple Python environment
51
52.. code-block:: yaml
53
54 python:
55 environment:
56 enabled: true
57
58Development Python environment
59
60.. code-block:: yaml
61
62 python:
63 environment:
64 enabled: true
65 module:
66 development: true
67
68Python django environment
69
70.. code-block:: yaml
71
72 python:
73 environment:
74 enabled: true
75 module:
76 django: true
77
78Read more
79=========
80
81* https://www.python.org/