blob: cd736e3d4c4f8373e3d6e948c33e83c9fbc04ca6 [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/
Filip Pytloun5dd9a162017-02-02 13:02:03 +010082
83Documentation and Bugs
84======================
85
86To learn how to install and update salt-formulas, consult the documentation
87available online at:
88
89 http://salt-formulas.readthedocs.io/
90
91In the unfortunate event that bugs are discovered, they should be reported to
92the appropriate issue tracker. Use Github issue tracker for specific salt
93formula:
94
95 https://github.com/salt-formulas/salt-formula-python/issues
96
97For feature requests, bug reports or blueprints affecting entire ecosystem,
98use Launchpad salt-formulas project:
99
100 https://launchpad.net/salt-formulas
101
102You can also join salt-formulas-users team and subscribe to mailing list:
103
104 https://launchpad.net/~salt-formulas-users
105
106Developers wishing to work on the salt-formulas projects should always base
107their work on master branch and submit pull request against specific formula.
108
109 https://github.com/salt-formulas/salt-formula-python
110
111Any questions or feedback is always welcome so feel free to join our IRC
112channel:
113
114 #salt-formulas @ irc.freenode.net