Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluentpython/example-code-2e
Example code for Fluent Python, 2nd edition (O'Reilly 2022)
https://github.com/fluentpython/example-code-2e
concurrency iterators metaprogramming python python3 special-methods
Last synced: 20 days ago
JSON representation
Example code for Fluent Python, 2nd edition (O'Reilly 2022)
- Host: GitHub
- URL: https://github.com/fluentpython/example-code-2e
- Owner: fluentpython
- License: mit
- Created: 2019-03-21T17:55:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T15:41:11.000Z (5 months ago)
- Last Synced: 2024-10-01T12:05:06.101Z (about 1 month ago)
- Topics: concurrency, iterators, metaprogramming, python, python3, special-methods
- Language: Python
- Homepage: https://amzn.to/3J48u2J
- Size: 13.1 MB
- Stars: 3,208
- Watchers: 67
- Forks: 911
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fluent Python 2e example code
Example code for the book **Fluent Python, Second Edition** by Luciano Ramalho (O'Reilly, 2022).
## Table of Contents
All chapters are undergoing review and updates, including significant rewrites in the chapters about concurrency in **Part V**.
New chapters in **Fluent Python 2e** are marked with ๐.
> ๐จ ย This table of contents is subject to change at any time until the book goes to the printer.
Latest change: Old **Part IโPrologue** merged into new **Part IโData Structures**; parts renumbered accordingly; chapter numbers unchanged.Part / Chapter #|Title|Directory|1st ed. Chapterย #
---:|---|---|:---:
**I โ Data Structures**|
1|The Python Data Model|[01-data-model](01-data-model)|1
2|An Array of Sequences|[02-array-seq](02-array-seq)|2
3|Dictionaries and Sets|[03-dict-set](03-dict-set)|3
4|Unicode Text versus Bytes|[04-text-byte](04-text-byte)|4
5|Data Class Builders|[05-data-classes](05-data-classes)|๐
6|Object References, Mutability, and Recycling|[06-obj-ref](06-obj-ref)|8
**II โ Functions as Objects**|
7|Funcions as First-Class Objects|[07-1class-func](07-1class-func)|5
8|Type Hints in Functions|[08-def-type-hints](08-def-type-hints)|๐
9|Decorators and Closures|[09-closure-deco](09-closure-deco)|7
10|Design Patterns with First-Class Functions|[10-dp-1class-func](10-dp-1class-func)|6
**III โ Object-Oriented Idioms**|
11|A Pythonic Object|[11-pythonic-obj](11-pythonic-obj)|9
12|Special Methods for Sequences|[12-seq-hacking](12-seq-hacking)|10
13|Interfaces, Protocols, and ABCs|[13-protocl-abc](13-protocol-abc)|11
14|Inheritance: For Better or For Worse|[14-inheritance](14-inheritance)|12
15|More About Type Hints|[15-more-types](15-more-types)|๐
16|Operator Overloading|[16-op-overloading](16-op-overloading)|13
**IV โ Control Flow**|
17|Iterators, Generators, and Classic Coroutines|[17-it-generator](17-it-generator)|14
18|with, match, and else Blocks|[18-with-match](18-with-match)|15
19|Concurrency Models in Python|[19-concurrency](19-concurrency)|๐
20|Concurrent Executors|[20-executors](20-executors)|17
21|Asynchronous Programming|[21-async](21-async)|18
**V โ Metaprogramming**|
22|Dynamic Attributes and Properties|[22-dyn-attr-prop](22-dyn-attr-prop)|19
23|Attribute Descriptors|[23-descriptor](23-descriptor)|20
24|Class Metaprogramming|[24-class-metaprog](24-class-metaprog)|21