Python - from None to AI
  • License
  • Install
  • Python Versions
  • Python History
  • Links
  • References

Basics

  • 1. About
  • 2. Introduction
  • 3. Syntax
  • 4. Numeric
  • 5. Logic
  • 6. Strings
  • 7. Iterables
  • 8. Mappings
  • 9. Nested
  • 10. Unpack
  • 11. Conditional
  • 12. While
  • 13. For
  • 14. Comprehensions
  • 15. Files
  • 16. Functions
  • 17. Exceptions
  • 18. Idiom
  • 19. OOP
  • 20. Modules
  • 21. Recap

Intermediate

  • 1. About
  • 2. String
  • 3. Types
  • 4. Syntax
  • 5. Star
  • 6. Urllib
  • 7. Regex
  • 8. Datetime
  • 9. Iterator
  • 10. Pathlib
  • 11. Logging
  • 12. Locale
  • 13. Pickle
  • 14. TOML
  • 15. CSV
  • 16. JSON
  • 17. Modules
  • 18. Decimal
  • 19. Random
  • 20. Typing
  • 21. Dataclass
  • 22. Enum
  • 23. Match
  • 24. Doctest
  • 25. Unittest

Advanced

  • 1. About
  • 2. Exception
  • 3. Syntax
  • 4. Typing
  • 5. Object Oriented Programming
  • 6. Inheritance
  • 7. Polymorphism
  • 8. Encapsulation
  • 9. Property
  • 10. Reflection
  • 11. Descriptor
  • 12. Metaprogramming
  • 13. Operator
  • 14. Serialization
  • 15. Functional Programming
  • 16. Decorators
  • 17. Generators
  • 18. Async Paradigm
  • 19. Async Programming

Concurrency

  • 1. About
  • 2. Multiprocessing
  • 3. Threading
  • 4. Async Paradigm
  • 5. Async AsyncIO

Performance

  • 1. About
    • 1.1. About Install
    • 1.2. About Agenda
    • 1.3. About Tutorial
  • 2. Introduction
    • 2.1. Introduction About
    • 2.2. Introduction Hardware
    • 2.3. Introduction Compiler
    • 2.4. Optimization Interpreter
    • 2.5. Introduction Disassembler
    • 2.6. Optimization Transpiler
    • 2.7. Optimization Optimizer
    • 2.8. Introduction Faster CPython
  • 3. Microbenchmarking
    • 3.1. Optimization Micro-benchmarking
    • 3.2. Optimization Timeit
    • 3.3. Optimization Context Managers
  • 4. Optimization
    • 4.1. Optimization About
    • 4.2. Optimization Definition
    • 4.3. Optimization Complexity
    • 4.4. Functional Purity
    • 4.5. Optimization Memoization
    • 4.6. Optimization Comparison
    • 4.7. Optimization Membership
    • 4.8. Optimization Iteration
    • 4.9. Optimization Exception
    • 4.10. Case Study: Str Concat
    • 4.11. Case Study: Str Join
    • 4.12. Case Study: Unique Keys
    • 4.13. Generator Inspect
    • 4.14. Case Study: Getitem
    • 4.15. Case Study: Comprehensions
    • 4.16. OOP Slots
    • 4.17. OOP Identity
    • 4.18. Optimization Lazy Imports
  • 5. CPU Profiling
    • 5.1. Profiling About
    • 5.2. Profiling CPU
    • 5.3. Profiling Sampling
    • 5.4. Profiling Tracing
    • 5.5. Tools PyCharm Profiler
    • 5.6. Tools Perf
    • 5.7. Profiling Recap
  • 6. Memory Profiling
    • 6.1. Profiling Mem
    • 6.2. Profiling Memray
  • 7. Transpilation
    • 7.1. Transpilation Cython
    • 7.2. Transpilation Mypyc
  • 8. Extensions
    • 8.1. Performance Collections
    • 8.2. Performance CTypes
    • 8.3. Performance CModules
    • 8.4. Extensions Rust

Testing

  • 1. About
  • 2. Introduction
  • 3. Random
  • 4. Syntax
  • 5. Doctest
  • 6. Unittest
  • 7. Recap

CI/CD

  • 1. About
  • 2. DevTools
  • 3. Distribute
  • 4. Lint
  • 5. Quality
  • 6. Security

DevOps

  • 1. About
  • 2. Quality
  • 3. Tests
  • 4. Debugging

Database

  • 1. About
  • 2. Theory
  • 3. ORM
  • 4. Normalization
  • 5. NoSQL
  • 6. SQL
  • 7. SQLite3
  • 8. SQLAlchemy
  • 9. Case Study

Design Patterns

  • 1. About
  • 2. Introduction
  • 3. UML
  • 4. Creational
  • 5. Behavioral
  • 6. Structural
  • 7. Functional

Numpy

  • 1. About
  • 2. Introduction
  • 3. Array
  • 4. Attributes
  • 5. Random
  • 6. Indexing
  • 7. Operations
  • 8. Methods
  • 9. Statistics
  • 10. Math
  • 11. Polynomial

Pandas

  • 1. About
  • 2. Introduction
  • 3. Read
  • 4. To
  • 5. Series
  • 6. DataFrame
  • 7. Date
  • 8. Recap
  • 9. Case Study

Matplotlib

  • 1. About
  • 2. Introduction
  • 3. Figure
  • 4. Style
  • 5. Chart
  • 6. Case Study

Stdlib

  • 1. Modules
  • 2. Collections
  • 3. Math
  • 4. XML
  • 5. Operating System
  • 6. String
  • 7. Builtin
  • 8. Type
  • 9. Loop
  • 10. TkInter

Network

  • 1. About
  • 2. Protocol
  • 3. Web
  • 4. Transport
  • 5. Case Study

webapp

  • 1. About
  • 2. HTTP
  • 3. REST
  • 4. Architecture
  • 5. Auth

Django

  • 1. About
  • 2. Introduction
  • 3. Setup
  • 4. Settings
  • 5. Models
  • 6. Data
  • 7. Admin
  • 8. ORM
  • 9. Views
  • 10. Templates
  • 11. Templatetags
  • 12. Forms
  • 13. Manage
  • 14. Middleware
  • 15. Locale
  • 16. Utils
  • 17. Auth
  • 18. API
  • 19. Ninja
  • 20. Tests
  • 21. Apps
  • 22. Deploy

FastAPI

  • 1. About
  • 2. Introduction
  • 3. FastAPI
  • 4. Pydantic
  • 5. Database
  • 6. Auth
  • 7. DevOps
  • 8. Case Study

Data Science

  • 1. About
  • 2. Jupyter
  • 3. Python
  • 4. Visualization
  • 5. Scipy
  • 6. Geopandas

Machine Learning

  • 1. About
  • 2. Introduction
  • 3. Sklearn
  • 4. Model Quality
  • 5. Decision Trees
  • 6. Regressions
  • 7. K-Nearest Neighbors
  • 8. Bayes
  • 9. Support Vector Machines
  • 10. Clustering
  • 11. Neural Networks
  • 12. References
  • 13. Articles

Artificial Intelligence

  • 1. About
  • 2. Introduction

OOP

  • 1. Paradigm
  • 2. Python

Dragon

  • 1. English
  • 2. Polish
  • 3. ADR
Python - from None to AI
  • 1. About

1. About

About

  • 1.1. About Install
  • 1.2. About Agenda
  • 1.3. About Tutorial

2. Introduction

Introduction

  • 2.1. Introduction About
  • 2.2. Introduction Hardware
  • 2.3. Introduction Compiler
  • 2.4. Optimization Interpreter
  • 2.5. Introduction Disassembler
  • 2.6. Optimization Transpiler
  • 2.7. Optimization Optimizer
  • 2.8. Introduction Faster CPython

3. Microbenchmarking

Microbenchmarking

  • 3.1. Optimization Micro-benchmarking
  • 3.2. Optimization Timeit
  • 3.3. Optimization Context Managers

4. Optimization

Optimization

  • 4.1. Optimization About
  • 4.2. Optimization Definition
  • 4.3. Optimization Complexity
  • 4.4. Functional Purity
  • 4.5. Optimization Memoization
  • 4.6. Optimization Comparison
  • 4.7. Optimization Membership
  • 4.8. Optimization Iteration
  • 4.9. Optimization Exception
  • 4.10. Case Study: Str Concat
  • 4.11. Case Study: Str Join
  • 4.12. Case Study: Unique Keys
  • 4.13. Generator Inspect
  • 4.14. Case Study: Getitem
  • 4.15. Case Study: Comprehensions
  • 4.16. OOP Slots
  • 4.17. OOP Identity
  • 4.18. Optimization Lazy Imports

5. CPU Profiling

CPU Profiling

  • 5.1. Profiling About
  • 5.2. Profiling CPU
  • 5.3. Profiling Sampling
  • 5.4. Profiling Tracing
  • 5.5. Tools PyCharm Profiler
  • 5.6. Tools Perf
  • 5.7. Profiling Recap

6. Memory Profiling

Memory Profiling

  • 6.1. Profiling Mem
  • 6.2. Profiling Memray

7. Transpilation

Transpilation

  • 7.1. Transpilation Cython
  • 7.2. Transpilation Mypyc

8. Extensions

Extensions

  • 8.1. Performance Collections
  • 8.2. Performance CTypes
  • 8.3. Performance CModules
  • 8.4. Extensions Rust
Previous Next

© Copyright 2026, Matt Harasymczuk <matt@python3.info>, last update: 2026-11-26.