# fluentpython/example-code-2e

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/fluentpython-example-code-2e).**

3,952 stars · 1,148 forks · Python · mit

## Links

- GitHub: https://github.com/fluentpython/example-code-2e
- Homepage: https://amzn.to/3J48u2J
- awesome-repositories: https://awesome-repositories.com/repository/fluentpython-example-code-2e.md

## Topics

`concurrency` `iterators` `metaprogramming` `python` `python3` `special-methods`

## Description

This repository is a collection of practical code samples and an idiomatic programming guide for the Python language. It serves as a reference for implementing advanced language features, data structures, and professional coding standards.

The project focuses on demonstrating object-oriented architectures and structural design patterns. It provides a set of source files that illustrate the use of advanced Python capabilities to create readable and efficient software designs.

The implementation covers asynchronous and concurrent execution patterns, as well as idiomatic software design and professional architectural layouts. These examples are organized into isolated modules and case studies.

The codebase is distributed as pure Python scripts and relies exclusively on the standard library.

## Tags

### Education & Learning Resources

- [Advanced Programming References](https://awesome-repositories.com/f/education-learning-resources/advanced-programming-references.md) — Serves as an advanced technical reference for mastering complex Python capabilities and professional coding standards.
- [Object-Oriented Design Case Studies](https://awesome-repositories.com/f/education-learning-resources/architectural-case-studies/object-oriented-design-case-studies.md) — Provides real-world scenarios demonstrating object-oriented design patterns through practical code examples.
- [Python Code Examples](https://awesome-repositories.com/f/education-learning-resources/code-centric-tutorials/python-code-examples.md) — Ships a collection of educational code examples demonstrating advanced programming patterns and idiomatic designs.
- [Python Programming Guides](https://awesome-repositories.com/f/education-learning-resources/python-programming-guides.md) — Offers a comprehensive guide to Python language features, syntax, and professional best practices.

### Data & Databases

- [Standard Library Curricula](https://awesome-repositories.com/f/data-databases/data-processing-pipelines/data-serialization/json-libraries/c/header-only-libraries/standard-library-curricula.md) — Provides a zero-dependency implementation using only the Python standard library to showcase idiomatic core usage.

### Programming Languages & Runtimes

- [Idiomatic Patterns](https://awesome-repositories.com/f/programming-languages-runtimes/python-language-features/idiomatic-patterns.md) — Demonstrates Python-specific coding patterns and conventions that improve code readability and efficiency.
- [Standard Library Exploration](https://awesome-repositories.com/f/programming-languages-runtimes/standard-library-exploration.md) — Showcases idiomatic usage of the Python core by relying exclusively on built-in modules.
- [Python Language Features](https://awesome-repositories.com/f/programming-languages-runtimes/python-language-features.md) — Illustrates advanced language features and functional capabilities specific to the Python programming language.
- [Python Implementations](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/runtime-environments/runtimes/asynchronous-execution-engines/asynchronous-programming/python-implementations.md) — Provides practical examples of asynchronous and concurrent execution patterns using the asyncio library.

### Software Engineering & Architecture

- [Design Pattern Implementations](https://awesome-repositories.com/f/software-engineering-architecture/design-pattern-implementations.md) — Provides reusable code examples that implement structural and behavioral software design patterns. ([source](https://cdn.jsdelivr.net/gh/fluentpython/example-code-2e@master/README.md))
- [Object-Oriented Design Patterns](https://awesome-repositories.com/f/software-engineering-architecture/object-oriented-design-patterns.md) — Applies professional object-oriented design patterns and structural layouts to create scalable Python code.
- [Software Design Patterns](https://awesome-repositories.com/f/software-engineering-architecture/software-design-patterns.md) — Implements reusable structural and behavioral design patterns to create maintainable software architecture.
- [Concurrency Patterns](https://awesome-repositories.com/f/software-engineering-architecture/concurrency-patterns.md) — Implements asynchronous programming and concurrent execution models using Python's standard library.
- [Design Patterns](https://awesome-repositories.com/f/software-engineering-architecture/design-patterns.md) — Provides reference implementations of object-oriented architectures and structural design patterns.
