fluent_python
Code examples from Fluent Python book by Luciano Ramalho
Project Management
- Tests (doctest):
python -m unittest doctests.py
- Tested on macOS + Python 3.6
Table of Content
- Part I: Prologue
- Chapter 1: The Python Data Model
- Part II: Data Structures
- Chapter 2: An Array of Sequences
- Chapter 3: Dictionaries and Sets
- Chapter 4: Text versus Bytes
- Part III: Functions as Objects
- Chapter 5: First-Class Functions
- Chapter 6: Design Patterns with First-Class Functions
- Chapter 7: Function Decorators and Closures
- Part IV: Object-Oriented Idioms
- Chapter 8: Object References, Mutability, and Recycling
- Chapter 9: A Pythonic Object
- Chapter 10: Sequence Hacking, Hashing, and Slicing
- Chapter 11: Interfaces: From Protocols to ABCs
- Chapter 12: Inheritance: For Good or For Worse
- Chapter 13: Operator Overloading: Doing it Right
- Part V: Control Flow
- Chapter 14: Iterables, Iterators, and Generators
- Chapter 15: Context Managers and else Blocks
- Chapter 16: Coroutines
- Chapter 17: Concurrency with Futures
- Chapter 18: Concurrency with asyncio
- Part VI: Metaprogramming
- Chapter 19: Dynamic Attributes and Properties
- Chapter 20: Attribute Descriptors
- Chapter 21: Class Metaprogramming