blob: f6eb749b0b546d4ac05ee521756121b6faed077b [file] [log] [blame]
=====
Usage
=====
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.
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.
Available metadata
==================
* ``service.environment.environment``
Basic Python environment
* ``service.environment.development``
Python development environment
* ``python.environment.django``
Python Django environment
Sample pillars
==============
Simple Python environment:
.. code-block:: yaml
python:
environment:
enabled: true
Development Python environment:
.. code-block:: yaml
python:
environment:
enabled: true
module:
development: true
Python django environment:
.. code-block:: yaml
python:
environment:
enabled: true
module:
django: true
Using offline mirrors:
.. code-block:: yaml
python:
environment:
enabled: true
user:
root:
pypi_user: user
pypi_password: password
pypi_mirror:
protocol: http
host: pypi.local
port: 8084
upstream_fallback: true
user: user
password: password
Read more
=========
* https://www.python.org/