30 open-source projects similar to fluentpython/example-code-2e, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Example Code 2e alternative.
This project is a comprehensive programming course and educational curriculum designed to transition developers from basic scripting to advanced software development. It provides structured guides and technical exercises focusing on language internals, professional software architecture, and sophisticated programming techniques. The curriculum distinguishes itself through a deep focus on language internals, analyzing object behavior and memory efficiency to improve execution speed. It provides specialized instruction on metaprogramming using decorators and dynamic attributes, as well as async
This project is a comprehensive library of practical Python code examples and patterns. It provides a collection of scripts and snippets designed to demonstrate a wide range of programming tasks, from basic syntax to advanced implementation patterns. The repository focuses on several core domains, including the implementation of concurrency and multithreading examples, data analysis snippets for cleaning and manipulating tabular data, and various data visualization examples. It also covers automation scripts for file system management and a variety of general programming patterns. Additional
This repository serves as a technical reference and educational resource for implementing software design patterns within the Swift programming language. It provides a collection of common architectural patterns designed to help developers structure codebases for improved maintainability, scalability, and system organization. The project focuses on applying fundamental object-oriented and protocol-oriented principles to manage relationships between classes and objects. It demonstrates how to use language-level interfaces to define shared behaviors and how to organize components into cohesive
This project is an educational repository and programming guide for Python 3. It provides a collection of runnable code samples and implementation details designed to help users learn the core features, syntax, and logic of the language. The repository utilizes a case-study driven approach, using practical examples and guided implementation to demonstrate common patterns and standard library functions. The content is organized into a linear progression curriculum, grouping related language features into topic-based modules.
This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo
This project is a programming language reference library and developer knowledge base. It serves as a collection of verified code snippets and implementation patterns used to demonstrate specific programming language features and standard library functions. The repository functions as a software design pattern catalog and a code implementation blueprint. It provides a structured set of examples that illustrate architectural patterns and modular samples intended to maintain consistency across a codebase. The library covers the implementation of programming patterns, language feature adoption,
This repository serves as a comprehensive educational collection of industry-standard software design patterns and architectural principles implemented in Java. It functions as a structured reference for developers to study and apply proven strategies for building maintainable, object-oriented systems. The project acts as a knowledge base for software engineering, offering a curated set of programming heuristics and best practices. By providing ready-to-use implementations of standard design patterns, it enables developers to address common programming challenges and improve code modularity t
This repository is a Java language educational resource and coding standards reference. It provides a collection of runnable source code examples that illustrate industry standard design patterns, effective programming techniques, and API design principles. The codebase serves as a practical implementation of recommended solutions for common pitfalls in Java development. It uses standalone runnable classes and executable entry points to demonstrate software engineering patterns and maintainable architecture. The project is implemented using pure Java and standard library features, with logic
This project is a library and software architecture guide focused on the implementation of classic design patterns in JavaScript. It provides a collection of concrete coding examples that translate theoretical architectural patterns into working code to improve software maintainability and scalability. The repository focuses on structural and behavioral patterns used to solve common software engineering problems. It offers a set of templates and standards for organizing complex logic and managing frontend code organization. The content covers broad capability areas including professional Jav
This project serves as a technical reference and guide for implementing idiomatic software design patterns within the Go programming language. It provides a curated collection of architectural blueprints and coding strategies designed to help developers organize complex codebases into maintainable, modular components. The repository covers a broad spectrum of software engineering practices, including creational, structural, and behavioral design patterns. It emphasizes the use of language-specific idioms to manage object instantiation, decouple component interactions, and extend functionality
This project is a comprehensive Python coding guide and software engineering resource focused on professional development practices. It provides a detailed collection of idiomatic techniques, design patterns, and architectural strategies to improve code quality and maintainability. The guide emphasizes advanced design patterns such as dependency injection, data-driven design, and the application of SOLID principles for object-oriented design. It distinguishes itself by covering sophisticated structural strategies, including class-based decorators, the separation of interfaces from implementat
This project is an object-oriented architecture reference and software design patterns guide. It provides a collection of creational, structural, and behavioral patterns accompanied by practical code examples and architectural explanations to help manage complex control flows and decouple software components. The project functions as a technical documentation framework and UML visualization library. It uses Unified Modeling Language class and sequence diagrams to illustrate object relationships and runtime interactions, and it includes a system for converting architecture guides into HTML, PD
This project is a collection of practical scripts and reference guides that demonstrate advanced Python language features and idioms. It provides code implementations for mastering concepts such as concurrency, metaprogramming, and data structure design. The repository includes examples of the Python object model, covering custom attribute access, descriptor protocols, and special method overrides. It also features implementations of design patterns that utilize first-class functions and decorators to reduce object-oriented boilerplate. The codebase covers a broad range of capabilities, incl
This project is a comprehensive reference library and preparation guide for Python technical interviews. It combines theoretical guides on computer science fundamentals and language runtime internals with practical implementation examples of algorithms and data structures. The repository serves as a curated knowledge base that maps theoretical interview questions to concrete code snippets. It provides technical analysis of Python language internals, including memory management, garbage collection, and the global interpreter lock, alongside a library of creational and structural software desig
This project is a Python 3 programming cookbook and reference guide. It provides a collection of translated recipes and implementation patterns designed to solve common coding tasks and software architecture problems using Python 3 syntax. The resource serves as a library for Python design patterns and a guide for applying advanced language features and standard library functions to real-world problems. It focuses on practical examples of programming patterns and software engineering best practices to improve code maintainability and quality. The content is organized as a series of language
This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals. The resource focuses on moving from basic language syntax to advanced implementation, with a particular emphasis on object-oriented programming, the use of the Python standard library, and scripting automation for business workflows. The content covers a broad range of programming capabilities, including control flow
Ultimate Python is a code-first educational resource for mastering the Python programming language. It organizes learning into self-contained, runnable modules that progress from fundamental syntax through advanced features, all without any external dependencies or build tools. The project is structured as a flat file hierarchy where each module is named by topic and can be executed independently. This design enables self-paced, hands-on practice with core Python concepts including built-in data structures, object-oriented programming, and advanced topics such as decorators, threading, and as
This project is a comprehensive collection of Python programming education materials, including tutorials, exercises, and curated code samples. It serves as a learning curriculum and software engineering toolkit, utilizing Jupyter Notebooks to combine executable code with descriptive educational text. The repository provides practical implementation guides for building large language model applications, such as retrieval-augmented generation systems, stateful AI agents, and machine learning workflows. It distinguishes itself by offering a structured approach to agentic coding workflows, cover
This project is a comprehensive technical interview preparation resource and computer science interview guide. It serves as an educational reference for developers to study core software engineering fundamentals and common coding patterns required for employment screenings. The repository provides detailed guides and references covering data structures and algorithms, networking and security, operating systems, and web development. It specifically focuses on the implementation and complexity analysis of sorting, searching, and graph algorithms. The material encompasses a wide breadth of comp
This project is a Go language learning guide and implementation map designed to help developers transition from Node.js to Go. It provides a series of side-by-side code comparisons that contrast identical logic implemented in both languages to illustrate syntax and runtime differences. The repository serves as a tutorial for Go concurrency, specifically comparing the use of channels and goroutines against JavaScript promises. It also includes a performance benchmarking suite to measure and compare the execution speed of Go against Node.js for the same operations. The guide covers systems pro
wtfpython is a behavioral reference and catalog of language edge cases for the Python programming language. It serves as a guide to common development mistakes and ambiguous code structures that lead to unexpected results. The project identifies counter-intuitive code patterns and unexpected behaviors to help developers avoid pitfalls and logical errors. It utilizes a collection of curated examples to document language quirks and specific formatting conflicts, such as indentation errors. The reference includes verification of how specific code snippets behave across different versions of the
This project is a technical interview study guide and algorithm reference library. It provides a collection of Python implementations for algorithmic challenges and data structure problems common to software engineering coding assessments. The repository serves as a resource for coding interview solutions, featuring documented code samples for sorting, searching, and optimization algorithms. It includes an automated solution test suite to verify the correctness of these implementations across various edge cases. The project emphasizes the use of idiomatic Python patterns and standard library
This project is a Chinese translation of a technical reference and educational resource focused on the Python interpreter. It serves as a collection of case studies and examples designed to explain unintuitive execution patterns, obscure language behaviors, and the internal mechanics of the Python language specification. The resource translates complex technical explanations from English to Chinese to improve accessibility. It focuses on mapping specific code patterns to internal execution logic, linking observed results to language rules to resolve confusing behaviors. The content covers se
The CppCoreGuidelines is a comprehensive software engineering standard that provides a curated framework of coding conventions and design principles for C++. It serves as an authoritative guide for writing safe, efficient, and maintainable code by establishing high-level architectural patterns and organizational principles for large-scale projects. The guidelines emphasize the use of a strong, static type system to ensure memory safety and enforce consistent resource management patterns. The project distinguishes itself by promoting the zero-overhead abstraction principle, ensuring that high-
DesignPatternsPHP is a reference collection of sample code implementations for common software design patterns using PHP 8.x. It provides a set of examples for implementing creational, structural, and behavioral patterns to organize object-oriented design. The project includes reference implementations for creational patterns that decouple systems from object instantiation, structural patterns that define how classes organize into complex components, and behavioral patterns that manage algorithms and responsibilities between objects.
This project is a C++ design patterns library and programming reference. It provides a collection of structural, creational, and behavioral software architecture patterns implemented in C++ to serve as blueprints for organizing classes and objects. The library covers the implementation of standard patterns for object instantiation, communication, and structural organization. It demonstrates the application of industry-standard design patterns to address common software design problems through object-oriented architecture. The codebase includes implementations of creational patterns to standa
This project is a collection of software design patterns implemented in Go, serving as a technical reference and a set of practical programming examples. It maps theoretical architectural patterns to concrete code to demonstrate structural, creational, and behavioral coding techniques. The repository provides implementations for creational patterns focused on object instantiation and blueprint management, structural patterns for organizing object compositions, and behavioral patterns that manage object interactions and responsibilities. The content covers broad capability areas including in
This project is a curated catalogue of software architecture patterns and idioms implemented in Rust. It serves as a technical reference for building maintainable systems and a guide for writing idiomatic code. The resource documents common structural solutions and anti-patterns for Rust development. It provides a collection of best practices and language-specific conventions to help developers write clean and efficient code. The project covers systems design patterns, software architecture, and code optimization within a type-safe environment.
This project is a software design pattern implementation guide and architecture reference. It provides a practical collection of code examples demonstrating creational, structural, and behavioral patterns to improve software maintainability and quality. The library includes standardized implementations for object instantiation through creational patterns, templates for assembling objects into efficient hierarchies using structural patterns, and examples for managing object communication and responsibility distribution via behavioral patterns. The project maps these abstract design patterns t