{"id":13501339,"url":"https://github.com/fluentpython/example-code-2e","last_synced_at":"2025-05-14T17:07:56.057Z","repository":{"id":37412459,"uuid":"176997413","full_name":"fluentpython/example-code-2e","owner":"fluentpython","description":"Example code for Fluent Python, 2nd edition (O'Reilly 2022) ","archived":false,"fork":false,"pushed_at":"2024-06-16T15:41:11.000Z","size":13710,"stargazers_count":3515,"open_issues_count":23,"forks_count":1000,"subscribers_count":71,"default_branch":"master","last_synced_at":"2025-04-10T11:02:23.895Z","etag":null,"topics":["concurrency","iterators","metaprogramming","python","python3","special-methods"],"latest_commit_sha":null,"homepage":"https://amzn.to/3J48u2J","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluentpython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-21T17:55:07.000Z","updated_at":"2025-04-10T06:53:47.000Z","dependencies_parsed_at":"2024-01-16T10:36:12.636Z","dependency_job_id":"9abab432-d50a-44e1-a5f4-e01d8d0f2b97","html_url":"https://github.com/fluentpython/example-code-2e","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentpython%2Fexample-code-2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentpython%2Fexample-code-2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentpython%2Fexample-code-2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluentpython%2Fexample-code-2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluentpython","download_url":"https://codeload.github.com/fluentpython/example-code-2e/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190396,"owners_count":22029632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["concurrency","iterators","metaprogramming","python","python3","special-methods"],"created_at":"2024-07-31T22:01:33.889Z","updated_at":"2025-05-14T17:07:56.039Z","avatar_url":"https://github.com/fluentpython.png","language":"Python","readme":"# Fluent Python 2e example code\n\nExample code for the book **Fluent Python, Second Edition** by Luciano Ramalho (O'Reilly, 2022).\n\n\n## Table of Contents\n\nAll chapters are undergoing review and updates, including significant rewrites in the chapters about concurrency in **Part V**.\n\nNew chapters in **Fluent Python 2e** are marked with 🆕.\n\n\u003e 🚨 \u0026nbsp;This table of contents is subject to change at any time until the book goes to the printer.\u003cBR\u003e\nLatest change: Old **Part I—Prologue** merged into new **Part I—Data Structures**; parts renumbered accordingly; chapter numbers unchanged.\n\nPart / Chapter #|Title|Directory|1\u003csup\u003est\u003c/sup\u003e ed. Chapter\u0026nbsp;#\n---:|---|---|:---:\n**I – Data Structures**|\n1|The Python Data Model|[01-data-model](01-data-model)|1\n2|An Array of Sequences|[02-array-seq](02-array-seq)|2\n3|Dictionaries and Sets|[03-dict-set](03-dict-set)|3\n4|Unicode Text versus Bytes|[04-text-byte](04-text-byte)|4\n5|Data Class Builders|[05-data-classes](05-data-classes)|🆕\n6|Object References, Mutability, and Recycling|[06-obj-ref](06-obj-ref)|8\n**II – Functions as Objects**|\n7|Funcions as First-Class Objects|[07-1class-func](07-1class-func)|5\n8|Type Hints in Functions|[08-def-type-hints](08-def-type-hints)|🆕\n9|Decorators and Closures|[09-closure-deco](09-closure-deco)|7\n10|Design Patterns with First-Class Functions|[10-dp-1class-func](10-dp-1class-func)|6\n**III – Object-Oriented Idioms**|\n11|A Pythonic Object|[11-pythonic-obj](11-pythonic-obj)|9\n12|Special Methods for Sequences|[12-seq-hacking](12-seq-hacking)|10\n13|Interfaces, Protocols, and ABCs|[13-protocl-abc](13-protocol-abc)|11\n14|Inheritance: For Better or For Worse|[14-inheritance](14-inheritance)|12\n15|More About Type Hints|[15-more-types](15-more-types)|🆕\n16|Operator Overloading|[16-op-overloading](16-op-overloading)|13\n**IV – Control Flow**|\n17|Iterators, Generators, and Classic Coroutines|[17-it-generator](17-it-generator)|14\n18|with, match, and else Blocks|[18-with-match](18-with-match)|15\n19|Concurrency Models in Python|[19-concurrency](19-concurrency)|🆕\n20|Concurrent Executors|[20-executors](20-executors)|17\n21|Asynchronous Programming|[21-async](21-async)|18\n**V – Metaprogramming**|\n22|Dynamic Attributes and Properties|[22-dyn-attr-prop](22-dyn-attr-prop)|19\n23|Attribute Descriptors|[23-descriptor](23-descriptor)|20\n24|Class Metaprogramming|[24-class-metaprog](24-class-metaprog)|21\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluentpython%2Fexample-code-2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluentpython%2Fexample-code-2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluentpython%2Fexample-code-2e/lists"}