Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame^] | 2 | ============== |
| 3 | Python formula |
| 4 | ============== |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | |
| 6 | Python 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 | |
| 8 | Python 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 Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 10 | Available metadata |
| 11 | ================== |
| 12 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame^] | 13 | service.environment.environment: |
| 14 | Basic Python environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 15 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame^] | 16 | service.environment.development: |
| 17 | Python development environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 18 | |
Ales Komarek | 77274ec | 2017-09-07 09:24:30 +0200 | [diff] [blame^] | 19 | python.environment.django: |
| 20 | Python Django environment |
Filip Pytloun | faab44c | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 21 | |
| 22 | Sample pillars |
| 23 | ============== |
| 24 | |
| 25 | Simple Python environment |
| 26 | |
| 27 | .. code-block:: yaml |
| 28 | |
| 29 | python: |
| 30 | environment: |
| 31 | enabled: true |
| 32 | |
| 33 | Development Python environment |
| 34 | |
| 35 | .. code-block:: yaml |
| 36 | |
| 37 | python: |
| 38 | environment: |
| 39 | enabled: true |
| 40 | module: |
| 41 | development: true |
| 42 | |
| 43 | Python django environment |
| 44 | |
| 45 | .. code-block:: yaml |
| 46 | |
| 47 | python: |
| 48 | environment: |
| 49 | enabled: true |
| 50 | module: |
| 51 | django: true |
| 52 | |
| 53 | Read more |
| 54 | ========= |
| 55 | |
| 56 | * https://www.python.org/ |
Filip Pytloun | 5dd9a16 | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 57 | |
| 58 | Documentation and Bugs |
| 59 | ====================== |
| 60 | |
| 61 | To learn how to install and update salt-formulas, consult the documentation |
| 62 | available online at: |
| 63 | |
| 64 | http://salt-formulas.readthedocs.io/ |
| 65 | |
| 66 | In the unfortunate event that bugs are discovered, they should be reported to |
| 67 | the appropriate issue tracker. Use Github issue tracker for specific salt |
| 68 | formula: |
| 69 | |
| 70 | https://github.com/salt-formulas/salt-formula-python/issues |
| 71 | |
| 72 | For feature requests, bug reports or blueprints affecting entire ecosystem, |
| 73 | use Launchpad salt-formulas project: |
| 74 | |
| 75 | https://launchpad.net/salt-formulas |
| 76 | |
| 77 | You can also join salt-formulas-users team and subscribe to mailing list: |
| 78 | |
| 79 | https://launchpad.net/~salt-formulas-users |
| 80 | |
| 81 | Developers wishing to work on the salt-formulas projects should always base |
| 82 | their work on master branch and submit pull request against specific formula. |
| 83 | |
| 84 | https://github.com/salt-formulas/salt-formula-python |
| 85 | |
| 86 | Any questions or feedback is always welcome so feel free to join our IRC |
| 87 | channel: |
| 88 | |
| 89 | #salt-formulas @ irc.freenode.net |