diff --git a/AGENTS.md b/AGENTS.md index 1687a0bd..90880afc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -9,7 +9,7 @@ ## Patterns and conventions -- `main()` must be parameterless and not raise exceptions when run. Examples: `ultimatepython/syntax/function.py`, `ultimatepython/classes/basic_class.py`. +- `main()` must be parameterless and not raise exceptions when run. Examples: `ultimatepython/fundamentals/function.py`, `ultimatepython/oop/basic_class.py`. - Module structure: docstring, helpers, `main()` demonstrating usage via asserts, `if __name__ == "__main__": main()`. - Avoid long-running or destructive operations. For filesystem interactions, keep them local to ephemeral files and clean up after running. - Use `ruff` and `isort` (configured in `pyproject.toml`) for consistency with existing modules. diff --git a/README.de.md b/README.de.md index ae0d4d87..3ce9764a 100644 --- a/README.de.md +++ b/README.de.md @@ -64,7 +64,7 @@ Sobald das Repository zugänglich ist, können Sie mit den eigenständigen Modulen lernen. Um den größtmöglichen Nutzen aus jedem Modul zu ziehen, lesen Sie den Modulcode und führen Sie ihn aus. Es gibt zwei Möglichkeiten, die Module auszuführen: -1. Führen Sie ein einzelnes Modul aus: `python ultimatepython/syntax/variable.py` +1. Führen Sie ein einzelnes Modul aus: `python ultimatepython/fundamentals/variable.py` 2. Führen Sie alle Module aus: `python runner.py` ## Inhaltsübersicht @@ -80,51 +80,56 @@ Es gibt zwei Möglichkeiten, die Module auszuführen: - Data model: [Data model](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - Standard library: [The Python Standard Library](https://docs.python.org/3/library/) ( 📚, 🤯 ) - Built-in functions: [Built-in Functions](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **Syntax** - - Variable: [Built-in literals](ultimatepython/syntax/variable.py) ( 🍰 ) - - Expression: [Numeric operations](ultimatepython/syntax/expression.py) ( 🍰 ) - - Bitwise: [Bitwise operators](ultimatepython/syntax/bitwise.py) ( 🍰 ), [One's/Two's Complement](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - Conditional: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - Loop: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - Function: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - Walrus operator: [Assignment expressions :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - Argument enforcement: [Positional-only / | Keyword-only *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **Daten-Strukturen** - - List: [List operations](ultimatepython/data_structures/list.py) ( 🍰 ) - - Tuple: [Tuple operations](ultimatepython/data_structures/tuple.py) - - Set: [Set operations](ultimatepython/data_structures/set.py) - - Dict: [Dictionary operations](ultimatepython/data_structures/dict.py) ( 🍰 ) - - Dict union: [Dictionary merge | and |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - Comprehension: [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - - String: [String operations](ultimatepython/data_structures/string.py) ( 🍰 ) - - Deque: [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - Iterator-Tools: [Iterator-Tools](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - Time complexity: [cPython operations](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **Klassen** - - Basic class: [Basic definition](ultimatepython/classes/basic_class.py) ( 🍰 ) - - Inheritance: [Inheritance](ultimatepython/classes/inheritance.py) ( 🍰 ) - - Abstract class: [Abstract definition](ultimatepython/classes/abstract_class.py) - - Exception class: [Exception definition](ultimatepython/classes/exception_class.py) - - Iterator class: [Iterator definition | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - Encapsulation: [Encapsulation definition](ultimatepython/classes/encapsulation.py) +2. **Grundlagen** + - Variable: [Built-in literals](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - Expression: [Numeric operations](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - String: [String operations](ultimatepython/fundamentals/string.py) ( 🍰 ) + - List: [List operations](ultimatepython/fundamentals/list.py) ( 🍰 ) + - Tuple: [Tuple operations](ultimatepython/fundamentals/tuple.py) + - Set: [Set operations](ultimatepython/fundamentals/set.py) + - Dict: [Dictionary operations](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - Conditional: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - Loop: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - Function: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - Comprehension: [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **Objektorientierte Programmierung** + - Basic class: [Basic definition](ultimatepython/oop/basic_class.py) ( 🍰 ) + - Inheritance: [Inheritance](ultimatepython/oop/inheritance.py) ( 🍰 ) + - Encapsulation: [Encapsulation definition](ultimatepython/oop/encapsulation.py) + - Abstract class: [Abstract definition](ultimatepython/oop/abstract_class.py) + - Exception class: [Exception definition](ultimatepython/oop/exception_class.py) + - Iterator class: [Iterator definition | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - Mixin: [Mixin definition](ultimatepython/oop/mixin.py) ( 🤯 ) + - Method resolution order: [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **Standardbibliothek** + - File Handling: [File Handling](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - Regular expression: [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - Data format: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - Datetime: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **Fortgeschrittene** - Decorator: [Decorator definition | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - File Handling: [File Handling](ultimatepython/advanced/file_handling.py) ( 🤯 ) - Context manager: [Context managers](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - Method resolution order: [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - Mixin: [Mixin definition](ultimatepython/advanced/mixin.py) ( 🤯 ) - Metaclass: [Metaclass definition](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - Thread: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - Asyncio: [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - Weak reference: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - Benchmark: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - Regular expression: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - Data format: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - Datetime: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - Walrus operator: [Assignment expressions :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - Argument enforcement: [Positional-only / | Keyword-only *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - Pattern Matching: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - Template strings: [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **Nebenläufigkeit** + - Thread: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - Asyncio: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - Subinterpreters: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **Softwaretechnik** + - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - Benchmark: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - Bitwise: [Bitwise operators](ultimatepython/engineering/bitwise.py) ( 🍰 ), [One's/Two's Complement](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - Deque: [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - Iterator-Tools: [Iterator-Tools](ultimatepython/engineering/itertools.py) ( 🤯 ) + - Dict union: [Dictionary merge | and |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - Time complexity: [cPython operations](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## Zusätzliche Ressourcen @@ -136,51 +141,43 @@ Es gibt zwei Möglichkeiten, die Module auszuführen: Lernen Sie weiter, indem Sie von anderen Quellen lesen. +#### Kern-Python & Muster + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### Data Science & Machine Learning + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### Projekte des Autors +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Projekte, die ich mit Python erstellt habe und die zeigen, was man nach dem Erlernen dieser Konzepte erstellen kann: +#### Kuratierte Listen & Projektideen -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### Interaktive Übungen Üben Sie weiter, damit Ihre Programmierkenntnisse nicht einrosten. -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### Interviewvorbereitung + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### Praktisches Lernen + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.es.md b/README.es.md index 24317e2a..44ab512e 100644 --- a/README.es.md +++ b/README.es.md @@ -62,7 +62,7 @@ Una vez que el repositorio sea accesible, estás listo para aprender de los mód Para aprender el máximo de cada módulo, lee el código del módulo y ejecútalo. Hay dos maneras de ejecutar los módulos: -1. Ejecuta un solo módulo: `python ultimatepython/syntax/variable.py` +1. Ejecuta un solo módulo: `python ultimatepython/fundamentals/variable.py` 2. Ejecuta todos los módulos: `python runner.py` ## Contenido @@ -78,51 +78,56 @@ Hay dos maneras de ejecutar los módulos: - Modelo de datos: [Modelo de datos](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - Librería estándar: [La librería estándar de Python](https://docs.python.org/3/library/) ( 📚, 🤯 ) - Funciones integradas: [Funciones integradas](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **Sintaxis** - - Variables: [Literales integrados](ultimatepython/syntax/variable.py) ( 🍰 ) - - Expresiones: [Operaciones numéricas](ultimatepython/syntax/expression.py) ( 🍰 ) - - Bit a bit: [Operadores bit a bit](ultimatepython/syntax/bitwise.py) ( 🍰 ), [Complemento a uno/dos](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - Condicionales: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - Iteraciones: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - Funciones: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - Operador morsa: [Expresiones de asignación :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - Aplicación de argumentos: [Solo posicional / | Solo palabra clave *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **Estructura de datos** - - Lista: [Operaciones con listas](ultimatepython/data_structures/list.py) ( 🍰 ) - - Tupla: [Operaciones con tuplas](ultimatepython/data_structures/tuple.py) - - Set: [Operaciones con sets](ultimatepython/data_structures/set.py) - - Diccionario: [Operaciones con dicts](ultimatepython/data_structures/dict.py) ( 🍰 ) - - Unión de diccionarios: [Fusión de diccionarios | y |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - Comprensión: [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - - Cadena: [Operaciones con strings](ultimatepython/data_structures/string.py) ( 🍰 ) - - Deque: [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - Herramientas de iteradores: [Herramientas de iteradores](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - Complejidad de tiempo: [Operaciones de cPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **Clases** - - Clase básica: [Definición de básica](ultimatepython/classes/basic_class.py) ( 🍰 ) - - Herencia: [Herencia](ultimatepython/classes/inheritance.py) ( 🍰 ) - - Clase abstracta: [Definición de abstracta](ultimatepython/classes/abstract_class.py) - - Clase de excepción: [Definición de excepción](ultimatepython/classes/exception_class.py) - - Clase iteradora: [Definición de iteradora | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - Encapsulación: [Definición de encapsulación](ultimatepython/classes/encapsulation.py) +2. **Fundamentos** + - Variables: [Literales integrados](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - Expresiones: [Operaciones numéricas](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - Cadena: [Operaciones con strings](ultimatepython/fundamentals/string.py) ( 🍰 ) + - Lista: [Operaciones con listas](ultimatepython/fundamentals/list.py) ( 🍰 ) + - Tupla: [Operaciones con tuplas](ultimatepython/fundamentals/tuple.py) + - Set: [Operaciones con sets](ultimatepython/fundamentals/set.py) + - Diccionario: [Operaciones con dicts](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - Condicionales: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - Iteraciones: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - Funciones: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - Comprensión: [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **Programación orientada a objetos** + - Clase básica: [Definición de básica](ultimatepython/oop/basic_class.py) ( 🍰 ) + - Herencia: [Herencia](ultimatepython/oop/inheritance.py) ( 🍰 ) + - Encapsulación: [Definición de encapsulación](ultimatepython/oop/encapsulation.py) + - Clase abstracta: [Definición de abstracta](ultimatepython/oop/abstract_class.py) + - Clase de excepción: [Definición de excepción](ultimatepython/oop/exception_class.py) + - Clase iteradora: [Definición de iteradora | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - Mixin: [Definición de Mixin](ultimatepython/oop/mixin.py) ( 🤯 ) + - Orden de resolución de método (MRO por sus siglas en inglés): [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **Librería estándar** + - Manejo de archivos: [Manejo de archivos](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - Expresiones regulares: [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - Formatos de datos: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - Fecha y hora: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **Avanzado** - Decorador: [Definición de decorador | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - Manejo de archivos: [Manejo de archivos](ultimatepython/advanced/file_handling.py) ( 🤯 ) - Gestor de contexto: [Gestores de contexto](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - Orden de resolución de método (MRO por sus siglas en inglés): [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - Mixin: [Definición de Mixin](ultimatepython/advanced/mixin.py) ( 🤯 ) - Metaclase: [Definición de metaclase](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - Hilos: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - Asyncio: [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - Referencias débiles: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - Referencia: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - Expresiones regulares: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - Formatos de datos: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - Fecha y hora: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - Operador morsa: [Expresiones de asignación :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - Aplicación de argumentos: [Solo posicional / | Solo palabra clave *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - Coincidencia de patrones: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - Template strings: [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **Concurrencia** + - Hilos: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - Asyncio: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - Subinterpretes: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **Ingeniería** + - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - Referencia: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - Bit a bit: [Operadores bit a bit](ultimatepython/engineering/bitwise.py) ( 🍰 ), [Complemento a uno/dos](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - Deque: [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - Herramientas de iteradores: [Herramientas de iteradores](ultimatepython/engineering/itertools.py) ( 🤯 ) + - Unión de diccionarios: [Fusión de diccionarios | y |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - Complejidad de tiempo: [Operaciones de cPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## Recursos adicionales @@ -134,51 +139,43 @@ Hay dos maneras de ejecutar los módulos: Sigue aprendiendo leyendo otros buenos recursos. +#### Python fundamental y patrones + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### Ciencia de datos y aprendizaje automático + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### Proyectos del autor +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Proyectos que he creado con Python que muestran lo que puedes crear después de aprender estos conceptos: +#### Listas curadas e ideas de proyectos -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### Práctica interactiva Continua practicando para que no se oxiden tus habilidades de programación. -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### Preparación para entrevistas + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### Aprendizaje práctico + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.fr.md b/README.fr.md index 1a6e4971..6bbba970 100644 --- a/README.fr.md +++ b/README.fr.md @@ -69,7 +69,7 @@ Pour tirer le meilleur parti de chaque module, lis le code et exécute-le. Deux méthodes sont possibles : 1. Exécuter un seul module : -  `python ultimatepython/syntax/variable.py` +  `python ultimatepython/fundamentals/variable.py` 2. Exécuter tous les modules :   `python runner.py` @@ -87,54 +87,56 @@ Deux méthodes sont possibles :     - Bibliothèque standard : [Bibliothèque standard Python](https://docs.python.org/3/library/) ( 📚, 🤯 )     - Fonctions intégrées : [Fonctions intégrées](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **Syntaxe** -    - Variable : [Littéraux intégrés](ultimatepython/syntax/variable.py) ( 🍰 ) -    - Expression : [Opérations numériques](ultimatepython/syntax/expression.py) ( 🍰 ) -    - Opérateurs binaires : [Opérateurs binaires](ultimatepython/syntax/bitwise.py) ( 🍰 ), [Complément à un et à deux](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) -    - Conditionnelle : [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) -    - Boucle : [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) -    - Fonction : [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - Opérateur morse : [Expressions d'affectation :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - Application d'arguments : [Positionnels uniquement / | Mots-clés uniquement *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) - -3. **Structures de données** -    - Liste : [Opérations sur les listes](ultimatepython/data_structures/list.py) ( 🍰 ) -    - Tuple : [Opérations sur les tuples](ultimatepython/data_structures/tuple.py) -    - Ensemble : [Opérations sur les ensembles](ultimatepython/data_structures/set.py) -    - Dictionnaire : [Opérations sur les dictionnaires](ultimatepython/data_structures/dict.py) ( 🍰 ) - - Union de dictionnaires : [Fusion de dictionnaires | et |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) -    - Compréhension : [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) -    - Chaîne : [Opérations sur les chaînes](ultimatepython/data_structures/string.py) ( 🍰 ) -    - Deque : [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) -    - Namedtuple : [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) -    - Defaultdict : [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) -    - Outils d'itérateurs : [Outils d'itérateurs](ultimatepython/data_structures/itertools.py) ( 🤯 ) -    - Complexité temporelle : [Opérations CPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) - -4. **Classes** -    - Classe basique : [Définition basique](ultimatepython/classes/basic_class.py) ( 🍰 ) -    - Héritage : [Héritage](ultimatepython/classes/inheritance.py) ( 🍰 ) -    - Classe abstraite : [Définition abstraite](ultimatepython/classes/abstract_class.py) -    - Classe d’exception : [Définition d’exception](ultimatepython/classes/exception_class.py) -    - Itérateur : [Définition d’itérateur | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) -    - Encapsulation : [Définition de l’encapsulation](ultimatepython/classes/encapsulation.py) - +2. **Fondations** + - Variable : [Littéraux intégrés](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - Expression : [Opérations numériques](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - Chaîne : [Opérations sur les chaînes](ultimatepython/fundamentals/string.py) ( 🍰 ) + - Liste : [Opérations sur les listes](ultimatepython/fundamentals/list.py) ( 🍰 ) + - Tuple : [Opérations sur les tuples](ultimatepython/fundamentals/tuple.py) + - Ensemble : [Opérations sur les ensembles](ultimatepython/fundamentals/set.py) + - Dictionnaire : [Opérations sur les dictionnaires](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - Conditionnelle : [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - Boucle : [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - Fonction : [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - Compréhension : [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **Programmation orientée objet** + - Classe basique : [Définition basique](ultimatepython/oop/basic_class.py) ( 🍰 ) + - Héritage : [Héritage](ultimatepython/oop/inheritance.py) ( 🍰 ) + - Encapsulation : [Définition de l’encapsulation](ultimatepython/oop/encapsulation.py) + - Classe abstraite : [Définition abstraite](ultimatepython/oop/abstract_class.py) + - Classe d’exception : [Définition d’exception](ultimatepython/oop/exception_class.py) + - Itérateur : [Définition d’itérateur | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - Mixin : [Définition de Mixin](ultimatepython/oop/mixin.py) ( 🤯 ) + - Ordre de résolution des méthodes : [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **Bibliothèque standard** + - Gestion de fichiers : [File Handling](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - Expressions régulières : [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - Format de données : [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - Date et heure : [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **Avancé** -    - Décorateur : [Définition de décorateur | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) -    - Gestion de fichiers : [File Handling](ultimatepython/advanced/file_handling.py) ( 🤯 ) -    - Gestionnaire de contexte : [Context managers](ultimatepython/advanced/context_manager.py) ( 🤯 ) -    - Ordre de résolution des méthodes : [mro](ultimatepython/advanced/mro.py) ( 🤯 ) -    - Mixin : [Définition de Mixin](ultimatepython/advanced/mixin.py) ( 🤯 ) -    - Métaclasse : [Définition de métaclasse](ultimatepython/advanced/meta_class.py) ( 🤯 ) -    - Thread : [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) -    - Asyncio : [async | await](ultimatepython/advanced/async.py) ( 🤯 ) -    - Référence faible : [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) -    - Benchmark : [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) -    - Mocking : [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) -    - Expressions régulières : [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) -    - Format de données : [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) -    - Date et heure : [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - Décorateur : [Définition de décorateur | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) + - Gestionnaire de contexte : [Context managers](ultimatepython/advanced/context_manager.py) ( 🤯 ) + - Métaclasse : [Définition de métaclasse](ultimatepython/advanced/meta_class.py) ( 🤯 ) + - Référence faible : [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) + - Opérateur morse : [Expressions d'affectation :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - Application d'arguments : [Positionnels uniquement / | Mots-clés uniquement *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - Correspondance de motifs : [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - Template strings : [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **Concurrence** + - Thread : [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - Asyncio : [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - Sous-interpréteurs : [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **Ingénierie** + - Mocking : [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - Benchmark : [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - Opérateurs binaires : [Opérateurs binaires](ultimatepython/engineering/bitwise.py) ( 🍰 ), [Complément à un et à deux](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - Deque : [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple : [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict : [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - Outils d'itérateurs : [Outils d'itérateurs](ultimatepython/engineering/itertools.py) ( 🤯 ) + - Union de dictionnaires : [Fusion de dictionnaires | et |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap : [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - Complexité temporelle : [Opérations CPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## Ressources supplémentaires @@ -146,51 +148,43 @@ Deux méthodes sont possibles : Continue d’apprendre grâce à ces ressources bien établies : +#### Python fondamental et modèles + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### Science des données et apprentissage automatique + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### Projets de l'auteur +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Projets que j'ai créés avec Python qui montrent ce que vous pouvez créer après avoir appris ces concepts : +#### Listes sélectionnées et idées de projets -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### Pratique interactive Continue à t’exercer pour ne pas perdre la main : -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### Préparation aux entretiens + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### Apprentissage pratique + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.hi.md b/README.hi.md index faedefdd..cf529417 100644 --- a/README.hi.md +++ b/README.hi.md @@ -44,7 +44,7 @@ print("Ultimate Python स्टडी गाइड") एक बार जब रिपोजिटरी उपलब्ध हो जाती है, तो आप स्वतंत्र मॉड्यूल से सीखने के लिए तैयार हैं। प्रत्येक मॉड्यूल का अधिकतम लाभ उठाने के लिए, मॉड्यूल का कोड पढ़ें और इसे चलाएं। मॉड्यूल चलाने के दो तरीके हैं: -1. एकल मॉड्यूल चलाएं: `python ultimatepython/syntax/variable.py` +1. एकल मॉड्यूल चलाएं: `python ultimatepython/fundamentals/variable.py` 2. सभी मॉड्यूल चलाएं: `python runner.py` ## विषय सूची @@ -61,52 +61,56 @@ print("Ultimate Python स्टडी गाइड") - डेटा मॉडल: [डेटा मॉडल](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - मानक पुस्तकालय: [पायथन मानक पुस्तकालय](https://docs.python.org/3/library/) ( 📚, 🤯 ) - अंतर्निहित कार्य: [अंतर्निहित कार्य](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **सिंटेक्स** - - वेरिएबल: [अंतर्निहित लिटरल](ultimatepython/syntax/variable.py) ( 🍰 ) - - अभिव्यक्ति: [संख्यात्मक ऑपरेशन्स](ultimatepython/syntax/expression.py) ( 🍰 ) - - बाइनरी: [बाइनरी ऑपरेटर](ultimatepython/syntax/bitwise.py) ( 🍰 ), [एक्स/टू का पूरक](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - कंडीशनल: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - लूप: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - फ़ंक्शन: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - वॉलरस ऑपरेटर: [असाइनमेंट एक्सप्रेशन :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - तर्क प्रवर्तन: [केवल स्थितीय / | केवल कीवर्ड *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **डेटा संरचनाएँ** - - लिसट: [लिसट ऑपरेशन्स](ultimatepython/data_structures/list.py) ( 🍰 ) - - ट्यूपल: [ट्यूपल ऑपरेशन्स](ultimatepython/data_structures/tuple.py) - - सेट: [सेट ऑपरेशन्स](ultimatepython/data_structures/set.py) - - डिक्ट: [डिक्शनरी ऑपरेशन्स](ultimatepython/data_structures/dict.py) ( 🍰 ) - - डिक्शनरी यूनियन: [डिक्शनरी मर्ज | और |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - संकलन: [लिसट | ट्यूपल | सेट | डिक्ट](ultimatepython/data_structures/comprehension.py) - - स्ट्रिंग: [स्ट्रिंग ऑपरेशन्स](ultimatepython/data_structures/string.py) ( 🍰 ) - - डेक: [डेक](ultimatepython/data_structures/deque.py) ( 🤯 ) - - नामित ट्यूपल: [नामित ट्यूपल](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - डिफ़ॉल्ट डिक्ट: [डिफ़ॉल्ट डिक्ट](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - इटरेटर टूल्स: [इटरेटर टूल्स](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - समय कोम्पलेक्सिटी: [cPython ऑपरेशन्स](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **क्लासेज़** - - बेसिक क्लास: [बेसिक परिभाषा](ultimatepython/classes/basic_class.py) ( 🍰 ) - - इन्हरिटैंस: [इन्हरिटैंस](ultimatepython/classes/inheritance.py) ( 🍰 ) - - एैबस्टराक्ट क्लास: [एैबस्टराक्ट परिभाषा](ultimatepython/classes/abstract_class.py) - - एक्सेपशन क्लास: [एक्सेपशन परिभाषा](ultimatepython/classes/exception_class.py) - - इटरेटर क्लास: [इटरेटर परिभाषा | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - ऐनकैपसुलेषन: [ऐनकैपसुलेषन परिभाषा](ultimatepython/classes/encapsulation.py) +2. **बुनियादी बातें** + - वेरिएबल: [अंतर्निहित लिटरल](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - अभिव्यक्ति: [संख्यात्मक ऑपरेशन्स](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - स्ट्रिंग: [स्ट्रिंग ऑपरेशन्स](ultimatepython/fundamentals/string.py) ( 🍰 ) + - लिसट: [लिसट ऑपरेशन्स](ultimatepython/fundamentals/list.py) ( 🍰 ) + - ट्यूपल: [ट्यूपल ऑपरेशन्स](ultimatepython/fundamentals/tuple.py) + - सेट: [सेट ऑपरेशन्स](ultimatepython/fundamentals/set.py) + - डिक्ट: [डिक्शनरी ऑपरेशन्स](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - कंडीशनल: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - लूप: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - फ़ंक्शन: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - संकलन: [लिसट | ट्यूपल | सेट | डिक्ट](ultimatepython/fundamentals/comprehension.py) +3. **ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग** + - बेसिक क्लास: [बेसिक परिभाषा](ultimatepython/oop/basic_class.py) ( 🍰 ) + - इन्हरिटैंस: [इन्हरिटैंस](ultimatepython/oop/inheritance.py) ( 🍰 ) + - एैबस्टराक्ट क्लास: [बेसिक परिभाषा](ultimatepython/oop/abstract_class.py) + - एक्सेपशन क्लास: [बेसिक परिभाषा](ultimatepython/oop/exception_class.py) + - इटरेटर क्लास: [इटरेटर परिभाषा | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - ऐनकैपसुलेषन: [ऐनकैपसुलेषन परिभाषा](ultimatepython/oop/encapsulation.py) + - मिक्सिन: [मिक्सिन परिभाषा](ultimatepython/oop/mixin.py) ( 🤯 ) + - मेथड रिज़ॉल्यूशन क्रम: [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **मानक पुस्तकालय** + - फ़ाइल प्रबंधन: [फ़ाइल प्रबंधन](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - नियमित अभिव्यक्ति: [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - डेटा फ़ॉर्मेट: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - दिनांक और समय: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **उन्नत** - डेकोरेटर: [डेकोरेटर परिभाषा | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - फ़ाइल प्रबंधन: [फ़ाइल प्रबंधन](ultimatepython/advanced/file_handling.py) ( 🤯 ) - संदर्भ प्रबंधक: [संदर्भ प्रबंधक](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - मेथड रिज़ॉल्यूशन क्रम: [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - मिक्सिन: [मिक्सिन परिभाषा](ultimatepython/advanced/mixin.py) ( 🤯 ) - मेटाक्लास: [मेटाक्लास परिभाषा](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - थ्रेड: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - एसिंको: [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - वीक रेफरेंस: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - बेंचमार्क: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - मॉकिंग: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - नियमित अभिव्यक्ति: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - डेटा फ़ॉर्मेट: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - दिनांक और समय: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - वॉलरस ऑपरेटर: [असाइनमेंट एक्सप्रेशन :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - तर्क प्रवर्तन: [केवल स्थितीय / | केवल कीवर्ड *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - पैटर्न मिलान: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) - + - Template strings: [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **समानांतरता** + - थ्रेड: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - एसिंको: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - सबइंटरप्रेटर: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **इंजीनियरिंग** + - मॉकिंग: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - बेंचमार्क: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - बाइनरी: [बाइनरी ऑपरेटर](ultimatepython/engineering/bitwise.py) ( 🍰 ), [एक्स/टू का पूरक](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - डेक: [डेक](ultimatepython/engineering/deque.py) ( 🤯 ) + - नामित ट्यूपल: [नामित ट्यूपल](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - डिफ़ॉल्ट डिक्ट: [डिफ़ॉल्ट डिक्ट](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - इटरेटर टूल्स: [इटरेटर टूल्स](ultimatepython/engineering/itertools.py) ( 🤯 ) + - डिक्शनरी यूनियन: [डिक्शनरी मर्ज | और |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - समय कोम्पलेक्सिटी: [cPython ऑपरेशन्स](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## अतिरिक्त संसाधन @@ -119,51 +123,43 @@ print("Ultimate Python स्टडी गाइड") अन्य उच्च मानक संसाधनों से पढ़कर सीखना जारी रखें। +#### कोर Python और पैटर्न + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### डेटा साइंस और मशीन लर्निंग + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### लेखक की परियोजनाएँ +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Python से बनाई गई परियोजनाएं जो दिखाती हैं कि इन अवधारणाओं को सीखने के बाद आप क्या बना सकते हैं: +#### क्यूरेटेड सूचियाँ और परियोजना विचार -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### इंटरैक्टिव प्रैक्टिस अभ्यास करते रहें ताकि आपकी कोडिंग कौशल खराब न हों। -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### इंटरव्यू की तैयारी + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### व्यवहारिक सीखना + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.ko.md b/README.ko.md index bc6f92dd..f22ba706 100644 --- a/README.ko.md +++ b/README.ko.md @@ -53,7 +53,7 @@ print("Ultimate Python 학습 가이드") 저장소에 접근할 수 있게 되면 단독 모듈에서 배울 준비가 된 것입니다. 각 모듈을 최대한 활용하려면 모듈 코드를 읽고 실행하십시오. 모듈을 실행하는 두 가지 방법이 있습니다: -1. 단일 모듈 실행 : `python ultimatepython/syntax/variable.py` +1. 단일 모듈 실행 : `python ultimatepython/fundamentals/variable.py` 2. 전체 모듈 실행 : `python runner.py` ## 목차 @@ -69,51 +69,56 @@ print("Ultimate Python 학습 가이드") - 데이터 모델 : [데이터 모델](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - 표준 라이브러리 : [Python 표준 라이브러리](https://docs.python.org/3/library/) ( 📚, 🤯 ) - 내장 함수 : [내장 함수](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **통사론** - - 변수 : [내장 리터럴](ultimatepython/syntax/variable.py) ( 🍰 ) - - 표현식 : [숫자 연산](ultimatepython/syntax/expression.py) ( 🍰 ) - - 비트 연산 : [비트 연산자](ultimatepython/syntax/bitwise.py) ( 🍰 ), [1의 보수/2의 보수](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - 조건문 : [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - 반복문 : [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - 함수 : [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - 바다코끼리 연산자 : [할당 표현식 :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - 인수 강제 : [위치 전용 / | 키워드 전용 *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **데이터 구조** - - 리스트 : [리스트 연산](ultimatepython/data_structures/list.py) ( 🍰 ) - - 튜플 : [튜플 연산](ultimatepython/data_structures/tuple.py) - - 세트 : [세트 연산](ultimatepython/data_structures/set.py) - - 딕셔너리 : [딕셔너리 연산](ultimatepython/data_structures/dict.py) ( 🍰 ) - - 딕셔너리 합병 : [딕셔너리 병합 | 및 |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - 컴프리헨션 : [리스트 | 튜플 | 세트 | 딕셔너리](ultimatepython/data_structures/comprehension.py) - - 문자열 : [문자열 연산](ultimatepython/data_structures/string.py) ( 🍰 ) - - 덱: [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - 이터레이터 도구: [이터레이터 도구](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - 시간 복잡도 : [cPython 연산](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **클래스** - - 기본 클래스 : [기본 정의](ultimatepython/classes/basic_class.py) ( 🍰 ) - - 계승: [계승](ultimatepython/classes/inheritance.py) ( 🍰 ) - - 추상 클래스 : [추상 정의](ultimatepython/classes/abstract_class.py) - - 예외 클래스 : [예외 정의](ultimatepython/classes/exception_class.py) - - 이터레이터 클래스 : [이터레이터 정의 | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - 캡슐화: [캡슐화 정의](ultimatepython/classes/encapsulation.py) +2. **기초** + - 변수: [내장 리터럴](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - 식: [수치 연산](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - 문자열: [문자열 연산](ultimatepython/fundamentals/string.py) ( 🍰 ) + - 리스트: [리스트 연산](ultimatepython/fundamentals/list.py) ( 🍰 ) + - 튜플: [튜플 연산](ultimatepython/fundamentals/tuple.py) + - 세트: [세트 연산](ultimatepython/fundamentals/set.py) + - 딕셔너리: [딕셔너리 연산](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - 조건문: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - 루프: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - 함수: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - 컴프리헨션: [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **객체 지향 프로그래밍** + - 기본 클래스: [기본 정의](ultimatepython/oop/basic_class.py) ( 🍰 ) + - 상속: [상속](ultimatepython/oop/inheritance.py) ( 🍰 ) + - 캡슐화: [캡슐화 정의](ultimatepython/oop/encapsulation.py) + - 추상 클래스: [추상 정의](ultimatepython/oop/abstract_class.py) + - 예외 클래스: [예외 정의](ultimatepython/oop/exception_class.py) + - 반복자 클래스: [반복자 정의 | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - 믹스인: [믹스인 정의](ultimatepython/oop/mixin.py) ( 🤯 ) + - 메서드 결정 순서: [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **표준 라이브러리** + - 파일 처리: [파일 처리](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - 정규 표현식: [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - 데이터 포맷: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - 날짜와 시간: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **고급** - - 데코레이터 : [데코레이터 정의 | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - 파일 처리: [파일 처리](ultimatepython/advanced/file_handling.py) ( 🤯 ) - - 컨텍스트 매니저 : [컨텍스트 매니저](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - 메서드 결정 순서 : [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - 믹스인 : [믹스인 정의](ultimatepython/advanced/mixin.py) ( 🤯 ) - - 메타클래스 : [메타클래스 정의](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - 스레드 : [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - Asyncio : [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - - 약한 참조 : [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - 벤치마크 : [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - 모킹 : [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - 정규식 : [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - 데이터 포맷 : [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - 날짜와 시간 : [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - 데코레이터: [데코레이터 정의 | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) + - 컨텍스트 관리자: [컨텍스트 관리자](ultimatepython/advanced/context_manager.py) ( 🤯 ) + - 메타클래스: [메타클래스 정의](ultimatepython/advanced/meta_class.py) ( 🤯 ) + - 약한 참조: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) + - 바다코끼리 연산자: [할당 표현식 :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - 인수 제약: [위치 전용 / | 키워드 전용 *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - 패턴 매칭: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - 템플릿 문자열: [템플릿 문자열 (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **동시성** + - 스레드: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - 비동기: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - 서브 인터프리터: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **엔지니어링** + - 모킹: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - 벤치마크: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - 비트 연산: [비트 연산자](ultimatepython/engineering/bitwise.py) ( 🍰 ), [1의 보수/2의 보수](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - 데크: [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - 네임드튜플: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - 디폴트딕트: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - 반복자 도구: [반복자 도구](ultimatepython/engineering/itertools.py) ( 🤯 ) + - 딕셔너리 결합: [딕셔너리 병합 | 와 |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - 힙: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - 시간 복잡도: [cPython 연산](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## 추가 자료 @@ -125,51 +130,43 @@ print("Ultimate Python 학습 가이드") 잘 알려진 다른 자료를 읽으면서 계속 배우세요. +#### 핵심 Python 및 패턴 + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### 데이터 과학 및 머신러닝 + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### 저자의 프로젝트 +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -이러한 개념을 익힌 후 무엇을 만들 수 있는지 보여주는 Python으로 제작한 프로젝트들입니다: +#### 큐레이션 목록 및 프로젝트 아이디어 -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### 대화형 연습 코딩 실력이 녹슬지 않기 위해 계속 연습하세요. -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### 면접 준비 + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### 실습 학습 + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.md b/README.md index 12fe9e35..9993ff4c 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Once the repository is accessible, you are ready to learn from the standalone modules. To get the most out of each module, read the module code and run it. There are two ways of running the modules: -1. Run a single module: `python ultimatepython/syntax/variable.py` +1. Run a single module: `python ultimatepython/fundamentals/variable.py` 2. Run all of the modules: `python runner.py` ## Table of contents @@ -81,51 +81,56 @@ There are two ways of running the modules: - Data model: [Data model](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - Standard library: [The Python Standard Library](https://docs.python.org/3/library/) ( 📚, 🤯 ) - Built-in functions: [Built-in Functions](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **Syntax** - - Variable: [Built-in literals](ultimatepython/syntax/variable.py) ( 🍰 ) - - Expression: [Numeric operations](ultimatepython/syntax/expression.py) ( 🍰 ) - - Bitwise: [Bitwise operators](ultimatepython/syntax/bitwise.py) ( 🍰 ), [One's/Two's Complement](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - Conditional: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - Loop: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - Function: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - Walrus operator: [Assignment expressions :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - Argument enforcement: [Positional-only / | Keyword-only *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **Data Structures** - - List: [List operations](ultimatepython/data_structures/list.py) ( 🍰 ) - - Tuple: [Tuple operations](ultimatepython/data_structures/tuple.py) - - Set: [Set operations](ultimatepython/data_structures/set.py) - - Dict: [Dictionary operations](ultimatepython/data_structures/dict.py) ( 🍰 ) - - Dict union: [Dictionary merge | and |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - Comprehension: [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - - String: [String operations](ultimatepython/data_structures/string.py) ( 🍰 ) - - Deque: [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - Itertools: [Iterator tools](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - Time complexity: [cPython operations](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **Classes** - - Basic class: [Basic definition](ultimatepython/classes/basic_class.py) ( 🍰 ) - - Inheritance: [Inheritance](ultimatepython/classes/inheritance.py) ( 🍰 ) - - Abstract class: [Abstract definition](ultimatepython/classes/abstract_class.py) - - Exception class: [Exception definition](ultimatepython/classes/exception_class.py) - - Iterator class: [Iterator definition | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - Encapsulation: [Encapsulation definition](ultimatepython/classes/encapsulation.py) +2. **Fundamentals** + - Variable: [Built-in literals](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - Expression: [Numeric operations](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - String: [String operations](ultimatepython/fundamentals/string.py) ( 🍰 ) + - List: [List operations](ultimatepython/fundamentals/list.py) ( 🍰 ) + - Tuple: [Tuple operations](ultimatepython/fundamentals/tuple.py) + - Set: [Set operations](ultimatepython/fundamentals/set.py) + - Dict: [Dictionary operations](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - Conditional: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - Loop: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - Function: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - Comprehension: [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **Object-Oriented Programming** + - Basic class: [Basic definition](ultimatepython/oop/basic_class.py) ( 🍰 ) + - Inheritance: [Inheritance](ultimatepython/oop/inheritance.py) ( 🍰 ) + - Encapsulation: [Encapsulation definition](ultimatepython/oop/encapsulation.py) + - Abstract class: [Abstract definition](ultimatepython/oop/abstract_class.py) + - Exception class: [Exception definition](ultimatepython/oop/exception_class.py) + - Iterator class: [Iterator definition | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - Mixin: [Mixin definition](ultimatepython/oop/mixin.py) ( 🤯 ) + - Method resolution order: [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **Standard Library** + - File Handling: [File Handling](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - Regular expression: [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - Data format: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - Datetime: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **Advanced** - Decorator: [Decorator definition | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - File Handling: [File Handling](ultimatepython/advanced/file_handling.py) ( 🤯 ) - Context manager: [Context managers](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - Method resolution order: [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - Mixin: [Mixin definition](ultimatepython/advanced/mixin.py) ( 🤯 ) - Metaclass: [Metaclass definition](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - Thread: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - Asyncio: [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - Weak reference: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - Benchmark: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - Regular expression: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - Data format: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - Datetime: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - Walrus operator: [Assignment expressions :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - Argument enforcement: [Positional-only / | Keyword-only *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - Pattern matching: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - Template strings: [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **Concurrency** + - Thread: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - Asyncio: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - Subinterpreters: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **Engineering** + - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - Benchmark: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - Bitwise: [Bitwise operators](ultimatepython/engineering/bitwise.py) ( 🍰 ), [One's/Two's Complement](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - Deque: [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - Itertools: [Iterator tools](ultimatepython/engineering/itertools.py) ( 🤯 ) + - Dict union: [Dictionary merge | and |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - Time complexity: [cPython operations](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## Additional resources @@ -137,51 +142,43 @@ There are two ways of running the modules: Keep learning by reading from other well-regarded resources. +#### Core Python & patterns + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### Data science & machine learning + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### Author projects +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Projects I've built with Python that showcase what you can create after learning these concepts: +#### Curated lists & project ideas -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### Interactive practice Keep practicing so that your coding skills don't get rusty. -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### Interview preparation + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### Hands-on learning + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.pt_br.md b/README.pt_br.md index c856f877..bc1a261f 100644 --- a/README.pt_br.md +++ b/README.pt_br.md @@ -51,7 +51,7 @@ Uma vez que o repositório esteja acessível você está pronto para aprender co Existem duas maneiras de rodar os módulos: -1. Execute um módulo único: `python ultimatepython/syntax/variable.py` +1. Execute um módulo único: `python ultimatepython/fundamentals/variable.py` 2. Execute todos os módulos: `python runner.py` ## Índice @@ -67,51 +67,56 @@ Existem duas maneiras de rodar os módulos: - Modelo de dados: [Modelo de dados](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - Biblioteca padrão: [A Biblioteca padrão do Python](https://docs.python.org/3/library/) ( 📚, 🤯 ) - Funções integradas: [Funções integradas](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **Sintaxe** - - Variável: [Literais integrados](ultimatepython/syntax/variable.py) ( 🍰 ) - - Expressão: [Operações numéricas](ultimatepython/syntax/expression.py) ( 🍰 ) - - Bitwise: [Operadores bitwise](ultimatepython/syntax/bitwise.py) ( 🍰 ), [Complemento de Um/Dois](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - Condicional: [if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - Loop/Laço: [for-loop | while-loop](ultimatepython/syntax/loop.py) ( 🍰 ) - - Função: [def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - Operador morsa: [Expressões de atribuição :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - Aplicação de argumentos: [Somente posicional / | Somente palavra-chave *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **Estrutura de dados** - - Lista: [Operações de lista](ultimatepython/data_structures/list.py) ( 🍰 ) - - Tupla: [Operações de tuplas](ultimatepython/data_structures/tuple.py) - - Conjunto: [Operações de conjuntos](ultimatepython/data_structures/set.py) - - Dicionário: [Operações de dicionários](ultimatepython/data_structures/dict.py) ( 🍰 ) - - União de dicionários: [Fusão de dicionários | e |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - Comprehension: [list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - - String: [Operações de String](ultimatepython/data_structures/string.py) ( 🍰 ) - - Deque: [deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - Ferramentas de iteradores: [Ferramentas de iteradores](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - Time complexity: [Operações de cPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **Classes** - - O básico de classes: [Definição de classe](ultimatepython/classes/basic_class.py) ( 🍰 ) - - Herança: [Herança](ultimatepython/classes/inheritance.py) ( 🍰 ) - - Classe abstrata: [Definição de classe abstrata](ultimatepython/classes/abstract_class.py) - - Classe de exceção: [Definição de Classe de exceção](ultimatepython/classes/exception_class.py) - - Classe Iterator: [Definição de classe Iterator | yield](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - Encapsulamento: [Definição de encapsulamento](ultimatepython/classes/encapsulation.py) +2. **Fundamentos** + - Variável: [Literais integrados](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - Expressão: [Operações numéricas](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - String: [Operações de String](ultimatepython/fundamentals/string.py) ( 🍰 ) + - Lista: [Operações de lista](ultimatepython/fundamentals/list.py) ( 🍰 ) + - Tupla: [Operações de tuplas](ultimatepython/fundamentals/tuple.py) + - Conjunto: [Operações de conjuntos](ultimatepython/fundamentals/set.py) + - Dicionário: [Operações de dicionários](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - Condicional: [if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - Loop/Laço: [for-loop | while-loop](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - Função: [def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - Comprehension: [list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **Programação orientada a objetos** + - O básico de classes: [Definição de classe](ultimatepython/oop/basic_class.py) ( 🍰 ) + - Herança: [Herança](ultimatepython/oop/inheritance.py) ( 🍰 ) + - Encapsulamento: [Definição de encapsulamento](ultimatepython/oop/encapsulation.py) + - Classe abstrata: [Definição de classe abstrata](ultimatepython/oop/abstract_class.py) + - Classe de exceção: [Definição de Classe de exceção](ultimatepython/oop/exception_class.py) + - Classe Iterator: [Definição de classe Iterator | yield](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - Mixin: [Definição de mixin](ultimatepython/oop/mixin.py) ( 🤯 ) + - Ordem de resolução do método: [mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **Biblioteca padrão** + - Manuseio de arquivos: [Manuseio de arquivos](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - Expressões regulares (regexp): [search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - Formato de dados: [json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - Datetime: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **Avançado** - Decorator: [Definição de decorator | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - Manuseio de arquivos: [Manuseio de arquivos](ultimatepython/advanced/file_handling.py) ( 🤯 ) - Gerenciador de contexto: [Gerenciador de contexto](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - Ordem de resolução do método: [mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - Mixin: [Definição de mixin](ultimatepython/advanced/mixin.py) ( 🤯 ) - Metaclass: [Definição de metaclass](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - Thread: [ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - Asyncio: [async | await](ultimatepython/advanced/async.py) ( 🤯 ) - Referência fraca: [weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - Benchmark: [cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - Expressões regulares (regexp): [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - Formato de dados: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - Datetime: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - Operador morsa: [Expressões de atribuição :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - Aplicação de argumentos: [Somente posicional / | Somente palavra-chave *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - Correspondência de padrões: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - Template strings: [Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **Concorrência** + - Thread: [ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - Asyncio: [async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - Subinterpretadores: [concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **Engenharia** + - Mocking: [MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - Benchmark: [cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - Bitwise: [Operadores bitwise](ultimatepython/engineering/bitwise.py) ( 🍰 ), [Complemento de Um/Dois](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - Deque: [deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - Ferramentas de iteradores: [Ferramentas de iteradores](ultimatepython/engineering/itertools.py) ( 🤯 ) + - União de dicionários: [Fusão de dicionários | e |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - Heap: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - Time complexity: [Operações de cPython](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## Recursos adicionais @@ -123,51 +128,43 @@ Existem duas maneiras de rodar os módulos: Continue aprendendo lendo outros recursos bem conceituados. +#### Python fundamental e padrões + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔 , 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔 , 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) -- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) -- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) -- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) - [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) + +#### Ciência de dados e aprendizado de máquina + +- [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) - [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) - [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) -- [Avik-Jain/100-Days-Of-ML-Code](https://github.com/Avik-Jain/100-Days-Of-ML-Code) ( 🧪 ) - -### Projetos do autor +- [academic/awesome-datascience](https://github.com/academic/awesome-datascience) +- [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -Projetos que construí com Python que mostram o que você pode criar após aprender esses conceitos: +#### Listas curadas e ideias de projetos -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### Prática interativa Continue praticando para que suas habilidades de codificação não enferrujem. -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### Preparação para entrevistas + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### Aprendizado prático + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/README.zh_tw.md b/README.zh_tw.md index afb3cb23..21bc1d8c 100644 --- a/README.zh_tw.md +++ b/README.zh_tw.md @@ -48,7 +48,7 @@ print("Ultimate Python 學習大綱") 有兩種運行模組的方式: -1. 運行單一模組:`python ultimatepython/syntax/variable.py` +1. 運行單一模組:`python ultimatepython/fundamentals/variable.py` 2. 運行所有模組:`python runner.py` ## 目錄 @@ -64,50 +64,55 @@ print("Ultimate Python 學習大綱") - 數據模型:[數據模型](https://docs.python.org/3/reference/datamodel.html) ( 📚, 🤯 ) - 標準庫:[Python標準庫](https://docs.python.org/3/library/) ( 📚, 🤯 ) - 內置函式:[內置函式](https://docs.python.org/3/library/functions.html) ( 📚 ) -2. **語法** - - 變數:[內置值](ultimatepython/syntax/variable.py) ( 🍰 ) - - 運算式:[數值運算](ultimatepython/syntax/expression.py) ( 🍰 ) - - 按位: [中的位元運算符](ultimatepython/syntax/bitwise.py) ( 🍰 ), [一個的補語/補碼](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) - - 條件運算式:[if | if-else | if-elif-else](ultimatepython/syntax/conditional.py) ( 🍰 ) - - 迴圈:[for迴圈 | while迴圈](ultimatepython/syntax/loop.py) ( 🍰 ) - - 定義函式:[def | lambda](ultimatepython/syntax/function.py) ( 🍰 ) - - 海象運算子:[賦值表達式 :=](ultimatepython/syntax/walrus_operator.py) ( 🤯 ) - - 參數強制:[僅位置 / | 僅關鍵字 *](ultimatepython/syntax/arg_enforcement.py) ( 🤯 ) -3. **資料結構** - - 列表:[列表操作](ultimatepython/data_structures/list.py) ( 🍰 ) - - 元組:[元組操作](ultimatepython/data_structures/tuple.py) - - 集合:[集合操作](ultimatepython/data_structures/set.py) - - 字典:[字典操作](ultimatepython/data_structures/dict.py) ( 🍰 ) - - 字典聯合:[字典合併 | 和 |=](ultimatepython/data_structures/dict_union.py) ( 🤯 ) - - 綜合:[list | tuple | set | dict](ultimatepython/data_structures/comprehension.py) - - 字串:[字串操作](ultimatepython/data_structures/string.py) ( 🍰 ) - - 雙端隊列:[deque](ultimatepython/data_structures/deque.py) ( 🤯 ) - - Namedtuple: [namedtuple](ultimatepython/data_structures/namedtuple.py) ( 🤯 ) - - Defaultdict: [defaultdict](ultimatepython/data_structures/defaultdict.py) ( 🤯 ) - - 迭代器工具:[迭代器工具](ultimatepython/data_structures/itertools.py) ( 🤯 ) - - 時間複雜度:[cPython操作](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) -4. **類別** - - 基本類別:[基本定義](ultimatepython/classes/basic_class.py) ( 🍰 ) - - 抽象類別:[抽象定義](ultimatepython/classes/abstract_class.py) - - 異常類別:[異常定義](ultimatepython/classes/exception_class.py) - - 迭代類別:[迭代器定義](ultimatepython/classes/iterator_class.py) ( 🤯 ) - - 封裝: [封裝定義](ultimatepython/classes/encapsulation.py) +2. **基礎知識** + - 變數:[內置值](ultimatepython/fundamentals/variable.py) ( 🍰 ) + - 運算式:[數值運算](ultimatepython/fundamentals/expression.py) ( 🍰 ) + - 字串:[字串操作](ultimatepython/fundamentals/string.py) ( 🍰 ) + - 列表:[列表操作](ultimatepython/fundamentals/list.py) ( 🍰 ) + - 元組:[元組操作](ultimatepython/fundamentals/tuple.py) + - 集合:[集合操作](ultimatepython/fundamentals/set.py) + - 字典:[字典操作](ultimatepython/fundamentals/dict.py) ( 🍰 ) + - 條件運算式:[if | if-else | if-elif-else](ultimatepython/fundamentals/conditional.py) ( 🍰 ) + - 迴圈:[for迴圈 | while迴圈](ultimatepython/fundamentals/loop.py) ( 🍰 ) + - 定義函式:[def | lambda](ultimatepython/fundamentals/function.py) ( 🍰 ) + - 綜合:[list | tuple | set | dict](ultimatepython/fundamentals/comprehension.py) +3. **物件導向程式設計** + - 基本類別:[基本定義](ultimatepython/oop/basic_class.py) ( 🍰 ) + - 抽象類別:[抽象定義](ultimatepython/oop/abstract_class.py) + - 異常類別:[異常定義](ultimatepython/oop/exception_class.py) + - 迭代類別:[迭代器定義](ultimatepython/oop/iterator_class.py) ( 🤯 ) + - 封裝: [封裝定義](ultimatepython/oop/encapsulation.py) + - Mixin:[Mixin定義](ultimatepython/oop/mixin.py) ( 🤯 ) + - 方法解析順序:[mro](ultimatepython/oop/mro.py) ( 🤯 ) +4. **標準函式庫** + - 文件處理: [File Handling](ultimatepython/stdlib/file_handling.py) ( 🤯 ) + - 正規表示式:[search | findall | match | fullmatch](ultimatepython/stdlib/regex.py) ( 🤯 ) + - 數據格式:[json | xml | csv](ultimatepython/stdlib/data_format.py) ( 🤯 ) + - 日期時間: [datetime | timezone](ultimatepython/stdlib/date_time.py) ( 🤯 ) 5. **進階技巧** - 裝飾器:[Decorator definition | wraps](ultimatepython/advanced/decorator.py) ( 🤯 ) - - 文件處理: [File Handling](ultimatepython/advanced/file_handling.py) ( 🤯 ) - 資源管理器:[Context managers](ultimatepython/advanced/context_manager.py) ( 🤯 ) - - 方法解析順序:[mro](ultimatepython/advanced/mro.py) ( 🤯 ) - - Mixin:[Mixin定義](ultimatepython/advanced/mixin.py) ( 🤯 ) - 元類:[Metaclass定義](ultimatepython/advanced/meta_class.py) ( 🤯 ) - - 執行緒:[ThreadPoolExecutor](ultimatepython/advanced/thread.py) ( 🤯 ) - - 異步:[async | await](ultimatepython/advanced/async.py) ( 🤯 ) - 弱引用:[weakref](ultimatepython/advanced/weak_ref.py) ( 🤯 ) - - 基準:[cProfile | pstats](ultimatepython/advanced/benchmark.py) ( 🤯 ) - - 模擬:[MagicMock | PropertyMock | patch](ultimatepython/advanced/mocking.py) ( 🤯 ) - - 正規表示式:[search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 ) - - 數據格式:[json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 ) - - 日期時間: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 ) + - 海象運算子:[賦值表達式 :=](ultimatepython/advanced/walrus_operator.py) ( 🤯 ) + - 參數強制:[僅位置 / | 僅關鍵字 *](ultimatepython/advanced/arg_enforcement.py) ( 🤯 ) - 模式匹配:[match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 ) + - 模板字串:[Template strings (PEP 750)](ultimatepython/advanced/template_strings.py) ( 🤯 ) +6. **併發** + - 執行緒:[ThreadPoolExecutor](ultimatepython/concurrency/thread.py) ( 🤯 ) + - 異步:[async | await](ultimatepython/concurrency/async.py) ( 🤯 ) + - 子解釋器:[concurrent.interpreters](ultimatepython/concurrency/subinterpreters.py) ( 🤯 ) +7. **工程實踐** + - 模擬:[MagicMock | PropertyMock | patch](ultimatepython/engineering/mocking.py) ( 🤯 ) + - 基準:[cProfile | pstats](ultimatepython/engineering/benchmark.py) ( 🤯 ) + - 按位: [中的位元運算符](ultimatepython/engineering/bitwise.py) ( 🍰 ), [一個的補語/補碼](https://www.geeksforgeeks.org/difference-between-1s-complement-representation-and-2s-complement-representation-technique/) ( 📚 ) + - 雙端隊列:[deque](ultimatepython/engineering/deque.py) ( 🤯 ) + - Namedtuple: [namedtuple](ultimatepython/engineering/namedtuple.py) ( 🤯 ) + - Defaultdict: [defaultdict](ultimatepython/engineering/defaultdict.py) ( 🤯 ) + - 迭代器工具:[迭代器工具](ultimatepython/engineering/itertools.py) ( 🤯 ) + - 字典聯合:[字典合併 | 和 |=](ultimatepython/engineering/dict_union.py) ( 🤯 ) + - 堆積: [heap queue](ultimatepython/engineering/heap.py) ( 🤯 ) + - 時間複雜度:[cPython操作](https://wiki.python.org/moin/TimeComplexity) ( 📚, 🤯 ) ## 額外資源 @@ -119,48 +124,43 @@ print("Ultimate Python 學習大綱") 通過閱讀其他備受尊重的資源來繼續學習。 +#### 核心 Python 與模式 + - [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python) ( 👔, 🧪 ) - [faif/python-patterns](https://github.com/faif/python-patterns) ( 👔, 🧪 ) - [geekcomputers/Python](https://github.com/geekcomputers/Python) ( 🧪 ) +- [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) + +#### 資料科學與機器學習 + - [trekhleb/homemade-machine-learning](https://github.com/trekhleb/homemade-machine-learning) ( 🧪 ) -- [karan/Projects](https://github.com/karan/Projects) ( 🧠 ) -- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) -- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [microsoft/ML-For-Beginners](https://github.com/microsoft/ML-For-Beginners) ( 🧪 ) +- [microsoft/Data-Science-For-Beginners](https://github.com/microsoft/Data-Science-For-Beginners) ( 🧪 ) - [academic/awesome-datascience](https://github.com/academic/awesome-datascience) - [josephmisiti/awesome-machine-learning](https://github.com/josephmisiti/awesome-machine-learning) -- [ZuzooVn/machine-learning-for-software-engineers](https://github.com/ZuzooVn/machine-learning-for-software-engineers) -- [30-seconds/30-seconds-of-python](https://github.com/30-seconds/30-seconds-of-python) ( 🧪 ) -- [ml-tooling/best-of-python](https://github.com/ml-tooling/best-of-python) -- [practical-tutorials/project-based-learning](https://github.com/practical-tutorials/project-based-learning#python) -- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) - -### 作者的專案 -我用 Python 構建的專案,展示學習這些概念後可以創造的內容: +#### 精選列表與專案構想 -- [huangsam/chowist](https://github.com/huangsam/chowist) ( 🧪 ) -- [huangsam/githooks](https://github.com/huangsam/githooks) ( 🧪 ) -- [huangsam/ragchain](https://github.com/huangsam/ragchain) ( 🧪 ) -- [huangsam/mailprune](https://github.com/huangsam/mailprune) ( 🧪 ) +- [MunGell/awesome-for-beginners](https://github.com/MunGell/awesome-for-beginners) ( 🧠 ) +- [vinta/awesome-python](https://github.com/vinta/awesome-python) +- [lukasmasuch/best-of-python](https://github.com/lukasmasuch/best-of-python) +- [freeCodeCamp/freeCodeCamp](https://github.com/freeCodeCamp/freeCodeCamp) ( 👔 ) ### 互動練習 繼續練習才能使您的編碼技能不會生疏。 -- [codechef.com](https://www.codechef.com/) ( 👔 ) -- [codeforces.com](https://codeforces.com/) -- [codementor.io](https://www.codementor.io) ( 🧠 ) -- [coderbyte.com](https://www.coderbyte.com/) ( 👔 ) -- [codewars.com](https://www.codewars.com/) -- [exercism.io](https://exercism.io/) -- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) -- [hackerearth.com](https://www.hackerearth.com/) -- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) -- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) -- [labex.io](https://labex.io/exercises/python)( 🧪 ) +#### 面試準備 + - [leetcode.com](https://leetcode.com/) ( 👔 ) +- [hackerrank.com](https://www.hackerrank.com/) ( 👔 ) +- [geeksforgeeks.org](https://www.geeksforgeeks.org/) ( 👔 ) + +#### 實作學習 + +- [exercism.io](https://exercism.io/) +- [codewars.com](https://www.codewars.com/) +- [labex.io](https://labex.io/exercises/python) ( 🧪 ) +- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 🧪 ) - [projecteuler.net](https://projecteuler.net/) -- [replit.com](https://replit.com/) -- [w3schools.com](https://www.w3schools.com/python/) ( 🧪 ) -- [teclado.com](https://teclado.com/30-days-of-python/#prerequisites) ( 👔 ) -- [fullstakpython.org](https://fullstackpython.org/) ( 🧪 ) +- [kaggle.com](https://www.kaggle.com/) ( 🧠 ) diff --git a/pyproject.toml b/pyproject.toml index c7024345..9ae6f279 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,3 @@ omit = [ "runner.py", "**/__init__.py" ] - -[[tool.mypy.overrides]] -module = "ultimatepython.syntax.template_strings" -ignore_errors = true diff --git a/ui/parse_lessons.py b/ui/parse_lessons.py index 9a60c313..02d99479 100644 --- a/ui/parse_lessons.py +++ b/ui/parse_lessons.py @@ -2,9 +2,16 @@ import json import os -CATEGORY_MAP = {"syntax": "Syntax", "data_structures": "Data Structures", "classes": "Classes", "advanced": "Advanced"} +CATEGORY_MAP = { + "fundamentals": "Fundamentals", + "oop": "OOP", + "stdlib": "Standard Library", + "advanced": "Advanced", + "concurrency": "Concurrency", + "engineering": "Engineering", +} -CATEGORY_ORDER = ["syntax", "data_structures", "classes", "advanced"] +CATEGORY_ORDER = ["fundamentals", "oop", "stdlib", "advanced", "concurrency", "engineering"] def humanize_name(name: str) -> str: @@ -54,56 +61,60 @@ def parse_file(filepath: str, relative_path: str) -> dict: LESSON_ORDER = { - "syntax": [ + "fundamentals": [ "variable", - "template_strings", "expression", - "bitwise", - "conditional", - "loop", - "function", - "walrus_operator", - "arg_enforcement", - ], - "data_structures": [ + "string", "list", "tuple", "set", "dict", - "dict_union", + "conditional", + "loop", + "function", "comprehension", - "string", - "deque", - "namedtuple", - "defaultdict", - "heap", - "itertools", ], - "classes": [ + "oop": [ "basic_class", "inheritance", + "encapsulation", "abstract_class", "exception_class", "iterator_class", - "encapsulation", + "mixin", + "mro", + ], + "stdlib": [ + "file_handling", + "regex", + "data_format", + "date_time", ], "advanced": [ "decorator", - "file_handling", "context_manager", - "mro", - "mixin", "meta_class", + "weak_ref", + "walrus_operator", + "arg_enforcement", + "pattern_matching", + "template_strings", + ], + "concurrency": [ "thread", - "subinterpreters", "async", - "weak_ref", - "benchmark", + "subinterpreters", + ], + "engineering": [ "mocking", - "regex", - "data_format", - "date_time", - "pattern_matching", + "benchmark", + "bitwise", + "deque", + "namedtuple", + "defaultdict", + "itertools", + "dict_union", + "heap", ], } diff --git a/ui/src/components/Sidebar.astro b/ui/src/components/Sidebar.astro index 63f6f176..ddfd80f4 100644 --- a/ui/src/components/Sidebar.astro +++ b/ui/src/components/Sidebar.astro @@ -28,7 +28,7 @@ const categoriesMap = lessons.reduce((acc, lesson) => { return acc; }, {} as Record); -const categoryOrder = ["syntax", "data_structures", "classes", "advanced"]; +const categoryOrder = ["fundamentals", "oop", "stdlib", "advanced", "concurrency", "engineering"]; ---