awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
xianhu avatar

xianhu/LearnPython

0
View on GitHub↗
8,484 星标·4,061 分支·Jupyter Notebook·2 次浏览github.com/xianhu/LearnPython↗

LearnPython

LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code.

The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on relational database management through object-relational mapping and the construction of TCP socket servers and clients.

Broadly, the repository covers capabilities in numerical computing with multidimensional arrays, natural language processing, and the implementation of concurrency patterns such as producer-consumer queues. It also includes examples of web framework components, including URL routing and request lifecycle management.

The project is delivered as a series of Jupyter Notebooks.

Features

  • Programming Language Concepts - Demonstrates Python language features and programming patterns through a comprehensive collection of practical code examples.
  • Python Learning Resources - Serves as a comprehensive educational resource for learning the Python programming language through practical examples.
  • Raw SQL Execution - Implements direct execution of SQL queries with parameter binding for database operations.
  • Object-to-Row Mapping - Links application objects to database table rows to simplify CRUD operations via ORM.
  • HTTP Content Retrievers - Fetches web content via HTTP requests and processes responses as plain text or raw bytes.
  • Data Visualization - Provides code for generating bar, line, scatter, and pie charts to represent datasets graphically.
  • Database Transaction Management - Demonstrates managing database transactions to ensure atomicity through commits and rollbacks.
  • Object-Relational Mapping - Implements object-relational mapping to link application classes to database schemas for high-level querying.
  • Object-Relational Mapping Models - Defines data models as classes to map application structures to relational database columns and types.
  • Relational Databases - Implements relational database management using both raw SQL queries and object-relational mapping techniques.
  • Concurrent Task Execution - Shows how to run multiple functions in parallel using threads and processes to improve performance.
  • Python Programming Tutorials - Provides instructional content and practical code examples to demonstrate Python language features and patterns.
  • Numerical Data Plotting - Generates 2D and 3D charts, including line curves and subplots, using numerical datasets.
  • TCP Socket Clients - Implements TCP socket clients to establish connections and exchange text messages with remote servers.
  • TCP Socket Programming - Implements TCP socket servers that listen for incoming network connections and send responses.
  • Coroutine-Based Asynchronous I/O - Implements asynchronous I/O using coroutines to manage high concurrency without blocking threads.
  • Context Managers - Implements resource lifecycle management using context managers to ensure files and connections close correctly.
  • Functional Programming Patterns - Demonstrates the use of list comprehensions and lambda functions for complex one-line data transformations.
  • Function Decorators - Provides examples of using function decorators to dynamically extend behavior like logging and type checking.
  • Asynchronous Event Loops - Demonstrates the use of asyncio event loops and coroutines for non-blocking network I/O management.
  • Asynchronous Network Programming - Provides comprehensive examples of building non-blocking network clients and servers using event loops.
  • HTTP Request Clients - Implements HTTP client requests using standard methods to interact with remote web resources.
  • Web Scraping and Automation - Demonstrates extracting data from static and dynamic web pages and automating browser interactions.
  • Web Page Retrievers - Provides utilities for programmatically fetching HTML content from websites for data extraction.
  • Asynchronous Fetching - Executes multiple concurrent HTTP requests using non-blocking I/O to fetch web pages asynchronously.
  • Time and Date - Provides examples for parsing, formatting, and manipulating dates and times across different timezones.
  • Python Visualization - Includes code samples for statistical plotting and scientific visualization using Python.
  • Web Content Scraping - Implements techniques for scraping content from dynamic pages that rely on JavaScript rendering.
  • ORM Implementation Examples - Provides examples of mapping application objects to database schemas using object-relational mapping.
  • Animated Visualizations - Generates dynamic 2D and 3D data plots that evolve over time via interactive loops.
  • Database Record Querying - Provides examples of retrieving, filtering, and modifying database records using an object-relational mapper.
  • Data Operations - Demonstrates how to manage database records using high-level object queries and session management.
  • Web Scraping Courses - Includes practical educational materials on fetching web content, managing HTTP headers, and automating login flows.
  • TCP/IP Socket Programming Guides - Offers educational guides on implementing TCP socket servers, clients, and SMTP email communication.
  • SMTP Sending - Connects to mail servers using SSL to send text or HTML messages with attachments via SMTP.
  • Asynchronous Streams - Implements asynchronous generators to produce and process non-blocking data streams.
  • Class Creation Customization - Shows how to intercept and customize class creation using custom metaclasses and type constructors.
  • Dynamic Class Creation - Shows how to generate new classes at runtime using type constructors for flexible object structures.
  • Function Decorators - Implements function wrapping to add logging, type checking, and caching without altering original source code.
  • Multidimensional Arrays - Implements examples for creating and managing multi-dimensional grids and matrices for numerical computing.
  • Python Implementations - Provides practical implementations of event loops and coroutines for non-blocking network requests.
  • String and Numeric Formatting - Demonstrates language-level formatting for strings and numbers to create readable output.
  • String Pattern Replacements - Demonstrates how to swap text patterns with replacement strings using Python's string manipulation capabilities.
  • String Splitting - Shows how to divide strings into lists of segments using regular expression delimiters.
  • Type Annotations - Demonstrates the use of type annotations to specify expected data types for better code clarity.
  • Array Combinations - Shows how to combine arrays through concatenation and stacking to manage data layouts.
  • Array Slicing - Provides practical examples of extracting array subsets using coordinate-based indexing and slicing.
  • Shape Transformations - Includes examples for reshaping sequences into matrices and transposing axes.
  • Matrix Operations - Implements matrix arithmetic, dot products, and trigonometric functions for numerical analysis.
  • Statistical Metric Calculators - Calculates summary metrics such as means, medians, minimums, and maximums for numerical datasets.
  • Automated Login Frameworks - Automates social media login flows and session management for web scraping purposes.
  • Behavior Customization - Implements special methods to define how objects are compared or represented as strings using standard operators.
  • Producer-Consumer Workflow Managers - Implements producer-consumer patterns using synchronized queues to distribute tasks between concurrent workers.
  • Regular Expression-Based Parsing - Uses regular expressions to identify and extract structured data patterns from text strings.
  • Resource Lifecycle Management - Uses context managers to ensure resources like files are correctly opened and closed during exceptions.
  • Synchronized Queues - Provides implementations of synchronized queues to share data between concurrent threads and processes.
  • Metaclass Definitions - Implements custom metaclasses to intercept class creation and modify structure before instantiation.
  • Dynamic Template Rendering - Implements dynamic HTML generation by injecting variables into templates with control structures.

Star 历史

xianhu/learnpython 的 Star 历史图表xianhu/learnpython 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

LearnPython 的开源替代方案

相似的开源项目,按与 LearnPython 的功能重合度排序。
  • crazyguitar/pysheeetcrazyguitar 的头像

    crazyguitar/pysheeet

    8,150在 GitHub 上查看↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    在 GitHub 上查看↗8,150
  • prodesire/python-guide-cnProdesire 的头像

    Prodesire/Python-Guide-CN

    4,432在 GitHub 上查看↗

    Python-Guide-CN is a Chinese translation of a comprehensive guide to idiomatic Python programming and software development. It serves as a curated programming tutorial and ecosystem reference, providing a structured path for learning Python syntax, standard libraries, and professional coding patterns. The project distinguishes itself by offering detailed instructions for setting up development environments across Windows, macOS, and Linux. It specifically focuses on the selection of interpreters and the management of virtual environments to ensure a consistent workspace. The guide covers a b

    Batchfile
    在 GitHub 上查看↗4,432
  • vincit/objection.jsVincit 的头像

    Vincit/objection.js

    7,343在 GitHub 上查看↗

    Objection.js is an object-relational mapper for Node.js that maps SQL database tables to classes and rows to model instances. It functions as a high-level abstraction layer built on top of the Knex.js query builder to provide structured model definitions and relational data mapping. The project distinguishes itself through its ability to manage complex object graphs, allowing for the persistence and eager-loading of deeply nested related data in single operations. It incorporates a data integrity layer that uses JSON schema validation to verify model instances before they are persisted to the

    JavaScript
    在 GitHub 上查看↗7,343
  • trekhleb/learn-pythontrekhleb 的头像

    trekhleb/learn-python

    18,058在 GitHub 上查看↗

    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

    Pythonlearninglearning-by-doinglearning-python
    在 GitHub 上查看↗18,058
查看 LearnPython 的所有 30 个替代方案→

常见问题解答

xianhu/learnpython 是做什么的?

LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code.

xianhu/learnpython 的主要功能有哪些?

xianhu/learnpython 的主要功能包括:Programming Language Concepts, Python Learning Resources, Raw SQL Execution, Object-to-Row Mapping, HTTP Content Retrievers, Data Visualization, Database Transaction Management, Object-Relational Mapping。

xianhu/learnpython 有哪些开源替代品?

xianhu/learnpython 的开源替代品包括: crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… prodesire/python-guide-cn — Python-Guide-CN is a Chinese translation of a comprehensive guide to idiomatic Python programming and software… vincit/objection.js — Objection.js is an object-relational mapper for Node.js that maps SQL database tables to classes and rows to model… trekhleb/learn-python — This project is an educational resource designed for learning the Python programming language. It serves as a tutorial… krishnaik06/complete-python-bootcamp — This is a comprehensive Python programming course and technical curriculum designed to take users from foundational… morvanzhou/tutorials — This repository is a comprehensive collection of instructional guides and practical examples for Python development,…