Serious Python: Black-Belt Advice on Deployment,Scalability,Testing,and More
Authors: Julien Danjou
ISBN-10: 1593278780
ISBN-13: 9781593278786
Publication Date 出版日期: 2018-12-31
Print Length 页数: 240 pages
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!
CONTENTS IN DETAIL
ACKNOWLEDGAHENTS
INTRODUCTION
1STARTING YOUR PROJECT
2 MODULES,LIBRARTES,AND FRAMEWORKS
3 DOCUWMENTATION AND GOOD API PRACTICE
4 HANDLING TMESTAIPS AND TME ZONES
5 DISTRIBUTING YOUR SOFTWARE
6 UNIT TESTING
7 METHODS AND DECORATORS
8 FUNCTIONAL PROGRAOING
9 THE ABSTRACT SYNTAX TREE,HY,AND LISP-LIKE ATTRIBUTES
10 PERFOMANCES AND OPTCZATIONS
11 SCALING AND ARCHITECTURE
12 MANAGING RELATIONAL DATABASES
13 WRITE LESS,CODE MORE
INDEX
Serious Python Black-Belt Advice on Deployment,Scalability,Testing,and More
相关推荐
- Async Rust: Unleashing the Power of Fearless Concurrency
- Mastering Large Datasets with Python: Parallelize and Distribute Your Python Code
- TradeStation EasyLanguage for Algorithmic Trading: Discover real-world institutional applications of Equities, Futures, and Forex markets
- A Common-Sense Guide to Data Structures and Algorithms in Python, Volume 1: Level Up Your Core Programming Skills
- Data Science Essentials For Dummies
- Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases, 4th Edition