blob: af1b44e5e89b20bf43096319bde3b9387ecdd56b [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:
Richard Felkl73896c22017-10-25 13:21:36 +020061 root:
Richard Felkla80eb552017-09-15 10:16:17 +020062 pypi_user: user
63 pypi_password: password
64 pypi_mirror:
65 host: http://pypi.local
66 port: 8084
67 upstream_fallback: true
68 user: user
69 password: password
70
Filip Pytlounfaab44c2015-10-06 16:28:32 +020071Read more
72=========
73
74* https://www.python.org/
Filip Pytloun5dd9a162017-02-02 13:02:03 +010075
76Documentation and Bugs
77======================
78
79To learn how to install and update salt-formulas, consult the documentation
80available online at:
81
82 http://salt-formulas.readthedocs.io/
83
84In the unfortunate event that bugs are discovered, they should be reported to
85the appropriate issue tracker. Use Github issue tracker for specific salt
86formula:
87
88 https://github.com/salt-formulas/salt-formula-python/issues
89
90For feature requests, bug reports or blueprints affecting entire ecosystem,
91use Launchpad salt-formulas project:
92
93 https://launchpad.net/salt-formulas
94
95You can also join salt-formulas-users team and subscribe to mailing list:
96
97 https://launchpad.net/~salt-formulas-users
98
99Developers wishing to work on the salt-formulas projects should always base
100their work on master branch and submit pull request against specific formula.
101
102 https://github.com/salt-formulas/salt-formula-python
103
104Any questions or feedback is always welcome so feel free to join our IRC
105channel:
106
107 #salt-formulas @ irc.freenode.net