Author(s): Pierluigi Riti
Year: 2016
Cover
Copyright
About the Author
About the Reviewer
www.PacktPub.com
Table of Contents
Overview
Chapter 1: Python in 2016
Getting started with coding
Storing and manipulating data in Python
Lists
Tuples
Dictionary
Sets
For loops
Functions
Using object-oriented programming in Python
Class methods
Chapter 2: Cloud and Web Development
Web applications with Django
Your first project with Django
The Django server
Our first Django app
Designing the app
Models in Django
Configuring the application
Migration
Creating the first UI
Django templates
Using the AWS SDK
REST web services with Flask
Chapter 3: Data Visualization with Python
Installing Jupyter
Description of Jupyter Notebook
matpotlib
Creating our first notebook
Other kinds of cell
Chapter 4: Introduction to DevOps
The challenge of DevOps
Working with DevOps
What is Fabric?
Installing Fabric
The Fabric script
Using Fabric for DevOps
The Fabric API
The core API
Color output functions
Context managers
Decorators
Networks
Operations
Mixing it all together
SaltStack
Installing SaltStack
Configuring the client
Salt state
Chapter 5: Cheat Sheet
Python
Reserved words
Basic types
Ordered sequences
Immutable sequences
Key containers
Identifiers
Variables
List methods
String methods
Comments
Conditional statements
if
if…else
if…elif…else
Loop statements
for
while
Django
Starting a project
Creating a new application
Running the server
SaltStack
Key management
Checking connectivity
Showing all packages in the minion
Executing a command
Installing a package
Checking the network interface
Applying a state
Summary