Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More

Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More

作者: Julien Danjou
出版社: No Starch Press
出版在: 2018-12-27
ISBN-13: 9781593278786
ISBN-10: 1593278780
裝訂格式: Paperback
總頁數: 240 頁





內容描述


An indispensable collection of practical tips and real-world advice for tackling common Python problems and taking your code to the next level. Features interviews with high-profile Python developers who share their tips, tricks, best practices, and real-world advice gleaned from years of experience.

Sharpen your Python skills as you dive deep into the Python programming language with Serious Python. You'll cover a range of advanced topics like multithreading and memorization, get advice from experts on things like designing APIs and dealing with databases, and learn Python internals to help you gain a deeper understanding of the language itself. Written for developers and experienced programmers, Serious Python brings together over 15 years of Python experience to teach you how to avoid common mistakes, write code more efficiently, and build better programs in less time.

As you make your way through the book's extensive tutorials, you'll learn how to start a project and tackle topics like versioning, layouts, coding style, and automated checks. You'll learn how to package your software for distribution, optimize performance, use the right data structures, define functions efficiently, pick the right libraries, build future-proof programs, and optimize your programs down to the bytecode. You'll also learn how to:

  • Make and use effective decorators and methods, including abstract, static, and class methods
  • Employ Python for functional programming using generators, pure functions, and functional functions
  • Extend flake8 to work with the abstract syntax tree (AST) to introduce more sophisticated automatic checks into your programs
  • Apply dynamic performance analysis to identify bottlenecks in your code
  • Work with relational databases and effectively manage and stream data with PostgreSQL

If you've been looking for a way to take your Python skills from good to great, Serious Python will help you get there. Learn from the experts and get seriously good at Python with Serious Python!


目錄大綱


Chapter 1: Starting Your Project
Chapter 2: Modules, Libraries, and Frameworks
Chapter 3: Documentation and Good API Practice
Chapter 4: Handling Timestamps and Time Zones
Chapter 5: Distributing Your Software
Chapter 6: Unit Testing
Chapter 7: Methods and Decorators
Chapter 8: Functional Programming
Chapter 9: The Abstract Syntax Tree, Hy, and Lisp-like Attributes
Chapter 10: Performances and Optimizations
Chapter 11: Scaling and Architecture
Chapter 12: Managing Relational Databases
Chapter 13: Write Less, Code More




相關書籍

實戰 MATLAB 之文件與數據接口技術

作者 江澤林 劉維

2018-12-27

智能自主無人機:先進任務與未來應用

作者 [法]雅斯米娜·貝索伊·塞班(Yasmina Bestaoui Sebbane)

2018-12-27

人人伽利略套書:AI人工智慧全面了解基本+工作篇(共二冊)

作者 日本Newton Press 賴貞秀 譯

2018-12-27