𝔖 Scriptorium
✦   LIBER   ✦

📁

The hitchhiker's guide to Python: best practices for development

✍ Scribed by Reitz, Kenneth;Schlusser, Tanya


Publisher
O'Reilly Media, Inc.
Year
2016
Tongue
English
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Copyright; Table of Contents; Preface; Conventions Used in This Book; Safari® Books Online; How to Contact Us; Acknowledgments; Part I. Getting Started; Chapter 1. Picking an Interpreter; The State of Python 2 Versus Python 3; Recommendations; So ... 3?; Implementations; CPython; Stackless; PyPy; Jython; IronPython; PythonNet; Skulpt; MicroPython; Chapter 2. Properly Installing Python; Installing Python on Mac OS X; Setuptools and pip; virtualenv; Installing Python on Linux; Setuptools and pip; Development Tools; virtualenv; Installing Python on Windows; Setuptools and pip; virtualenv.;The Hitchhiker's Guide to Python takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. With popularity comes diversity--and possibly dilution. This guide, collaboratively written by over a hundred members of the Python community, describes best practices currently used by package and application developers. Unlike other books for this audience, The Hitchhiker's Guide is light on reusable code and heavier on design philosophy, directing the reader to excellent sources that already exist.

✦ Table of Contents


Copyright
Table of Contents
Preface
Conventions Used in This Book
Safari® Books Online
How to Contact Us
Acknowledgments
Part I. Getting Started
Chapter 1. Picking an Interpreter
The State of Python 2 Versus Python 3
Recommendations
So ... 3?
Implementations
CPython
Stackless
PyPy
Jython
IronPython
PythonNet
Skulpt
MicroPython
Chapter 2. Properly Installing Python
Installing Python on Mac OS X
Setuptools and pip
virtualenv
Installing Python on Linux
Setuptools and pip
Development Tools
virtualenv
Installing Python on Windows
Setuptools and pip
virtualenv. Commercial Python RedistributionsChapter 3. Your Development Environment
Text Editors
Sublime Text
Vim
Emacs
TextMate
Atom
Code
IDEs
PyCharm/IntelliJ IDEA
Aptana Studio 3/Eclipse + LiClipse + PyDev
WingIDE
Spyder
NINJA-IDE
Komodo IDE
Eric (the Eric Python IDE)
Visual Studio
Enhanced Interactive Tools
IDLE
IPython
bpython
Isolation Tools
Virtual Environments
pyenv
Autoenv
virtualenvwrapper
Buildout
Conda
Docker
Part II. Getting Down to Business
Chapter 4. Writing Great Code
Code Style
PEP 8
PEP 20 (a.k.a. The Zen of Python)
General Advice
Conventions
Idioms. Common GotchasStructuring Your Project
Modules
Packages
Object-Oriented Programming
Decorators
Dynamic Typing
Mutable and Immutable Types
Vendorizing Dependencies
Testing Your Code
Testing Basics
Examples
Other Popular Tools
Documentation
Project Documentation
Project Publication
Docstring Versus Block Comments
Logging
Logging in a Library
Logging in an Application
Choosing a License
Upstream Licenses
Options
Licensing Resources
Chapter 5. Reading Great Code
Common Features
HowDoI
Reading a Single-File Script
Structure Examples from HowDoI. Style Examples from HowDoIDiamond
Reading a Larger Application
Structure Examples from Diamond
Style Examples from Diamond
Tablib
Reading a Small Library
Structure Examples from Tablib
Style Examples from Tablib
Requests
Reading a Larger Library
Structure Examples from Requests
Style Examples from Requests
Werkzeug
Reading Code in a Toolkit
Style Examples from Werkzeug
Structure Examples from Werkzeug
Flask
Reading Code in a Framework
Style Examples from Flask
Structure Examples from Flask
Chapter 6. Shipping Great Code
Useful Vocabulary and Concepts
Packaging Your Code. CondaPyPI
Freezing Your Code
PyInstaller
cx_Freeze
py2app
py2exe
bbFreeze
Packaging for Linux-Built Distributions
Executable ZIP Files
Part III. Scenario Guide
Chapter 7. User Interaction
Jupyter Notebooks
Command-Line Applications
GUI Applications
Widget Libraries
Game Development
Web Applications
Web Frameworks/Microframeworks
Web Template Engines
Web Deployment
Chapter 8. Code Management and Improvement
Continuous Integration
System Administration
Server Automation
System and Task Monitoring
Speed
Interfacing with C/C++/FORTRAN Libraries.

✦ Subjects


COMPUTERS--Programming Languages--General;Microcomputers--Programming;Python (Computer program language);Electronic books;Microcomputers -- Programming;COMPUTERS -- Programming Languages -- General


📜 SIMILAR VOLUMES


The Hitchhiker's Guide to Python: Best P
✍ Kenneth Reitz; Tanya Schlusser 📂 Library 🏛 O'Reilly Media 🌐 English

Ready to complete your trek from journeyman to true Pythonista? This practical book provides an insider's guide to the Python community's best practices and favorite tools. Mid-level Python programmers interested in contributing to open source, or starting a company based around Python use, will go

The Hitchhiker’s Guide to Python: Best P
✍ Kenneth Reitz, Tanya Schlusser 📂 Library 📅 2016 🏛 O’Reilly Media 🌐 English

The Hitchhiker's Guide to Python takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. With popula

The Hitchhiker’s Guide to Python: Best P
✍ Kenneth Reitz, Tanya Schlusser 📂 Library 📅 2016 🏛 O’Reilly Media 🌐 English

The Hitchhiker's Guide to Python takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. With popula

The Hitchhiker’s Guide to Python Best P
✍ Kenneth Reitz, Tanya Schlusser 📂 Library 📅 2016 🏛 O'Reilly Media 🌐 English

The Hitchhikers Guide to Python takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. With popular

The Hitchhiker's Guide to Python
✍ Kenneth Reitz 📂 Library 📅 2016 🏛 O'Reilly Media 🌐 English

<p><i>The Hitchhiker's Guide to Python</i> takes the journeyman Pythonista to true expertise. More than any other language, Python was created with the philosophy of simplicity and parsimony. Now 25 years old, Python has become the primary or secondary language (after SQL) for many business users. W

The Pythonic Way: An Architect’s Guide t
✍ Sonal Raj 📂 Library 📅 2021 🏛 BPB Publications 🌐 English

<p><b>Learn to build and manage better software with clean, intuitive, scalable, maintainable, and high-performance Python code.</b></p><p></p><p></p><p></p><p><b>Key Features</b></p><p>● Comparative analysis of regular and Pythonic coding constructs.</p><p>● Illustrates application design paradigms