Full Stack Python Matthew Makai

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Full Stack Python: April 2019 Edition

Table of Contents
1. Introduction........................................ 8
1.1 Learning Programming............................ 8
The Python Language............................ 12
Why Use Python?................................ 16
Python 2 or 3?................................. 19
Enterprise Python.............................. 23
1.2 Python Community............................... 27
Companies Using Python......................... 31
Best Python Resources.......................... 34
Must-watch Python Videos....................... 39
Podcasts....................................... 42
2. Development Environments........................... 48
2.1 Text Editors and IDEs.......................... 51
Vim............................................ 55
Emacs.......................................... 61
Sublime Text................................... 65
PyCharm........................................ 69
Jupyter Notebook............................... 70
2.2 Shells......................................... 74
Bourne-again shell (Bash)...................... 75
Zsh............................................ 77
PowerShell..................................... 78
2.3 Terminal multiplexers.......................... 79
tmux........................................... 81
Screen......................................... 82
2.4 Environment configuration...................... 83
Application dependencies....................... 84
virtual environments (virtualenvs)............. 90
Localhost tunnels.............................. 91
2.5 Source Control................................. 91
Git............................................ 97
Mercurial..................................... 103
3. Data.............................................. 105
3.1 Relational databases.......................... 108

2
Full Stack Python: April 2019 Edition

PostgreSQL.................................... 114
MySQL......................................... 120
SQLite........................................ 124
3.2 Object-relational mappers..................... 128
SQLAlchemy.................................... 135
Peewee........................................ 140
Django ORM.................................... 143
Pony ORM...................................... 146
3.3 NoSQL......................................... 147
Redis......................................... 152
MongoDB....................................... 155
Apache Cassandra.............................. 158
Neo4j......................................... 162
3.4 Data analysis................................. 163
pandas........................................ 166
SciPy & NumPy................................. 168
3.5 Data visualization............................ 171
Bokeh......................................... 173
d3.js......................................... 176
Matplotlib.................................... 178
3.6 Markup Languages.............................. 179
Markdown...................................... 180
reStructuredText.............................. 182
4. Web Development................................... 184
4.1 Web Frameworks................................ 187
Django........................................ 191
Flask......................................... 199
Bottle........................................ 206
Pyramid....................................... 209
Falcon........................................ 214
Morepath...................................... 215
Sanic......................................... 217
Other web frameworks.......................... 219
4.2 Template Engines.............................. 221
Jinja2........................................ 225
Mako.......................................... 227

3
Full Stack Python: April 2019 Edition

Django Templates.............................. 228


4.3 Web design.................................... 229
HTML.......................................... 232
CSS........................................... 233
Responsive Design............................. 239
Minification.................................. 240
4.4 CSS Frameworks................................ 241
Bootstrap..................................... 242
Foundation.................................... 243
4.5 JavaScript.................................... 243
React......................................... 246
Vue.js........................................ 248
Angular....................................... 250
4.6 Task queues................................... 250
Celery........................................ 255
Redis Queue (RQ).............................. 259
Dramatiq...................................... 261
4.7 Static site generators........................ 261
Pelican....................................... 267
Lektor........................................ 269
MkDocs........................................ 271
4.8 Testing....................................... 272
Unit testing.................................. 276
Integration testing........................... 279
Debugging..................................... 280
Code Metrics.................................. 282
4.9 Networking.................................... 285
HTTPS......................................... 286
WebSockets.................................... 287
WebRTC........................................ 294
4.10 Web APIs..................................... 296
Microservices................................ 299
Webhooks..................................... 302
Bots......................................... 302
4.11 API creation................................. 305
API Frameworks............................... 310

4
Full Stack Python: April 2019 Edition

Django REST Framework........................ 310


4.12 API integration.............................. 312
Twilio....................................... 314
Stripe....................................... 316
Slack........................................ 317
Okta......................................... 319
4.13 Web application security..................... 320
SQL injection................................ 324
Cross Site Request Forgery................... 325
5. Web App Deployment................................ 327
5.1 Hosting....................................... 331
Servers....................................... 332
Static content................................ 335
Content Delivery Networks..................... 337
5.2 Virtual Private Servers (VPS)................. 338
Linode........................................ 339
DigitalOcean.................................. 339
Lightsail..................................... 340
5.3 Platform-as-a-Service......................... 340
Heroku........................................ 345
PythonAnywhere................................ 346
AWS Codestar.................................. 346
5.4 Operating systems............................. 346
Ubuntu Linux.................................. 351
macOS......................................... 353
FreeBSD
Windows....................................... 353
5.5 Web servers................................... 354
Apache HTTP Server............................ 358
Nginx......................................... 359
Caddy......................................... 363
5.6 WSGI servers.................................. 364
Green Unicorn................................. 369
uWSGI......................................... 372
mod_wsgi
5.7 Continuous integration........................ 372

5
Full Stack Python: April 2019 Edition

Jenkins....................................... 377
GoCD
5.8 Configuration management...................... 379
Ansible....................................... 381
Salt
5.9 Containers.................................... 383
Docker........................................ 385
Kubernetes.................................... 389
5.10 Serverless Architectures..................... 391
AWS Lambda................................... 396
Azure Functions.............................. 399
Google Cloud Functions....................... 400
6. DevOps............................................ 403
6.1 Monitoring.................................... 405
Prometheus.................................... 409
Rollbar....................................... 410
Sentry
Scout
6.2 Web App Performance........................... 410
Logging....................................... 413
Caching....................................... 412
Web Analytics................................. 417
7. Meta
About the author.................................. 422
What "full stack" means........................... 422

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy