blob: bfc96448d17ac5893ae64eab732faea7efec3ee5 [file] [log] [blame]
Filip Pytlounfaab44c2015-10-06 16:28:32 +02001
Ales Komarek77274ec2017-09-07 09:24:30 +02002==============
3Python formula
4==============
Filip Pytlounfaab44c2015-10-06 16:28:32 +02005
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
Filip Pytlounfaab44c2015-10-06 16:28:32 +020010Available metadata
11==================
12
Ales Komarek77274ec2017-09-07 09:24:30 +020013service.environment.environment:
14 Basic Python environment
Filip Pytlounfaab44c2015-10-06 16:28:32 +020015
Ales Komarek77274ec2017-09-07 09:24:30 +020016service.environment.development:
17 Python development environment
Filip Pytlounfaab44c2015-10-06 16:28:32 +020018
Ales Komarek77274ec2017-09-07 09:24:30 +020019python.environment.django:
20 Python Django environment
Filip Pytlounfaab44c2015-10-06 16:28:32 +020021
22Sample pillars
23==============
24
25Simple Python environment
26
27.. code-block:: yaml
28
29 python:
30 environment:
31 enabled: true
32
33Development Python environment
34
35.. code-block:: yaml
36
37 python:
38 environment:
39 enabled: true
40 module:
41 development: true
42
43Python django environment
44
45.. code-block:: yaml
46
47 python:
48 environment:
49 enabled: true
50 module:
51 django: true
52
Richard Felkla80eb552017-09-15 10:16:17 +020053Using offline mirrors
54
55.. code-block:: yaml
56
57 python:
58 environment:
59 enabled: true
60 user:
61 - root:
62 name: root
63 pypi_user: user
64 pypi_password: password
65 pypi_mirror:
66 host: http://pypi.local
67 port: 8084
68 upstream_fallback: true
69 user: user
70 password: password
71
Filip Pytlounfaab44c2015-10-06 16:28:32 +020072Read more
73=========
74
75* https://www.python.org/
Filip Pytloun5dd9a162017-02-02 13:02:03 +010076
77Documentation and Bugs
78======================
79
80To learn how to install and update salt-formulas, consult the documentation
81available online at:
82
83 http://salt-formulas.readthedocs.io/
84
85In the unfortunate event that bugs are discovered, they should be reported to
86the appropriate issue tracker. Use Github issue tracker for specific salt
87formula:
88
89 https://github.com/salt-formulas/salt-formula-python/issues
90
91For feature requests, bug reports or blueprints affecting entire ecosystem,
92use Launchpad salt-formulas project:
93
94 https://launchpad.net/salt-formulas
95
96You can also join salt-formulas-users team and subscribe to mailing list:
97
98 https://launchpad.net/~salt-formulas-users
99
100Developers wishing to work on the salt-formulas projects should always base
101their work on master branch and submit pull request against specific formula.
102
103 https://github.com/salt-formulas/salt-formula-python
104
105Any questions or feedback is always welcome so feel free to join our IRC
106channel:
107
108 #salt-formulas @ irc.freenode.net