Cargando…

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

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 p...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autores principales: Reitz, Kenneth (Autor), Schlusser, Tanya (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly Media, [2016]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • 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.