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