Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,14 @@ Es gibt zwei Möglichkeiten, die Module auszuführen:
- 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) ( 🤯 )
Expand Down Expand Up @@ -121,6 +124,7 @@ Es gibt zwei Möglichkeiten, die Module auszuführen:
- 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) ( 🤯 )
- Pattern Matching: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## Zusätzliche Ressourcen

Expand Down
4 changes: 4 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,14 @@ Hay dos maneras de ejecutar los módulos:
- 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) ( 🤯 )
Expand Down Expand Up @@ -119,6 +122,7 @@ Hay dos maneras de ejecutar los módulos:
- 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) ( 🤯 )
- Coincidencia de patrones: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## Recursos adicionales

Expand Down
32 changes: 18 additions & 14 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ grâce à ce langage. 🎓

Voici les principaux objectifs de ce guide :

🏆 **Servir de ressource** pour les débutants en Python qui préfèrent apprendre de manière pratique. 
🏆 **Servir de ressource** pour les débutants en Python qui préfèrent apprendre de manière pratique.
Ce dépôt contient une collection de modules indépendants pouvant être exécutés dans un IDE
comme [PyCharm](https://www.jetbrains.com/pycharm/) ou dans le navigateur via
[Replit](https://replit.com/languages/python3). Même un simple terminal suffit
pour exécuter les exemples. La plupart des lignes contiennent des commentaires détaillés
qui guident le lecteur pas à pas. 
qui guident le lecteur pas à pas.
Les utilisateurs sont encouragés à modifier le code source à leur guise tant que les
routines `main` ne sont pas supprimées et que les programmes
[s’exécutent correctement](runner.py) après chaque modification.

🏆 **Servir de guide pur** pour ceux qui souhaitent revoir les concepts fondamentaux de Python. 
🏆 **Servir de guide pur** pour ceux qui souhaitent revoir les concepts fondamentaux de Python.
Seules les [bibliothèques intégrées](https://docs.python.org/3/library/) sont utilisées afin de
présenter les concepts sans dépendre de notions spécifiques à un domaine. Ainsi, les
bibliothèques open-source populaires comme `sqlalchemy`, `requests` ou `pandas`
ne sont pas installées. 
ne sont pas installées.
Cependant, lire le code source de ces frameworks est fortement recommandé
si ton objectif est de devenir un véritable
[Pythonista](https://www.urbandictionary.com/define.php?term=pythonista).
Expand All @@ -61,24 +61,24 @@ si ton objectif est de devenir un véritable
[![Run on Replit](https://replit.com/badge/github/huangsam/ultimate-python)](https://replit.com/github/huangsam/ultimate-python)

Clique sur le badge ci-dessus pour lancer un environnement fonctionnel dans ton navigateur
sans avoir besoin d’installer Git ou Python localement. 
sans avoir besoin d’installer Git ou Python localement.
Si ces outils sont déjà installés, tu peux cloner directement le dépôt.

Une fois le dépôt accessible, tu es prêt à apprendre à partir des modules indépendants. 
Une fois le dépôt accessible, tu es prêt à apprendre à partir des modules indépendants.
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 : 
1. Exécuter un seul module :
  `python ultimatepython/syntax/variable.py`
2. Exécuter tous les modules : 
2. Exécuter tous les modules :
  `python runner.py`

## Table des matières

📚 = Ressource externe 
🍰 = Sujet débutant 
🤯 = Sujet avancé 
📚 = Ressource externe
🍰 = Sujet débutant
🤯 = Sujet avancé

1. **À propos de Python**
    - Vue d’ensemble : [Qu’est-ce que Python](https://github.com/trekhleb/learn-python/blob/master/src/getting_started/what_is_python.md) ( 📚, 🍰 )
Expand All @@ -95,12 +95,15 @@ Deux méthodes sont possibles :
    - 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) ( 🤯 )
Expand Down Expand Up @@ -131,12 +134,13 @@ Deux méthodes sont possibles :
    - 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) ( 🤯 )
- Correspondance de motifs : [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## Ressources supplémentaires

👔 = Ressource d’entretien 
🧪 = Exemples de code 
🧠 = Idées de projets 
👔 = Ressource d’entretien
🧪 = Exemples de code
🧠 = Idées de projets

### Dépôts GitHub

Expand Down
4 changes: 4 additions & 0 deletions README.hi.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,14 @@ print("Ultimate Python स्टडी गाइड")
- कंडीशनल: [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) ( 🤯 )
Expand Down Expand Up @@ -102,6 +105,7 @@ print("Ultimate Python स्टडी गाइड")
- नियमित अभिव्यक्ति: [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 )
- डेटा फ़ॉर्मेट: [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 )
- दिनांक और समय: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 )
- पैटर्न मिलान: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )


## अतिरिक्त संसाधन
Expand Down
4 changes: 4 additions & 0 deletions README.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,14 @@ print("Ultimate Python 학습 가이드")
- 조건문 : [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) ( 🤯 )
Expand Down Expand Up @@ -110,6 +113,7 @@ print("Ultimate Python 학습 가이드")
- 정규식 : [search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 )
- 데이터 포맷 : [json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 )
- 날짜와 시간 : [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 )
- 패턴 매칭: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## 추가 자료

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ There are two ways of running the modules:
- 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) ( 🤯 )
Expand Down Expand Up @@ -122,6 +125,7 @@ There are two ways of running the modules:
- 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) ( 🤯 )
- Pattern matching: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## Additional resources

Expand Down
4 changes: 4 additions & 0 deletions README.pt_br.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ Existem duas maneiras de rodar os módulos:
- 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) ( 🤯 )
Expand Down Expand Up @@ -108,6 +111,7 @@ Existem duas maneiras de rodar os módulos:
- 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) ( 🤯 )
- Correspondência de padrões: [match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## Recursos adicionais

Expand Down
4 changes: 4 additions & 0 deletions README.zh_tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,14 @@ print("Ultimate Python 學習大綱")
- 條件運算式:[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) ( 🤯 )
Expand Down Expand Up @@ -104,6 +107,7 @@ print("Ultimate Python 學習大綱")
- 正規表示式:[search | findall | match | fullmatch](ultimatepython/advanced/regex.py) ( 🤯 )
- 數據格式:[json | xml | csv](ultimatepython/advanced/data_format.py) ( 🤯 )
- 日期時間: [datetime | timezone](ultimatepython/advanced/date_time.py) ( 🤯 )
- 模式匹配:[match | case](ultimatepython/advanced/pattern_matching.py) ( 🤯 )

## 額外資源

Expand Down
5 changes: 4 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# https://docs.codecov.com/docs/commit-status
coverage:
status:
project:
default:
target: 90%
patch:
default:
target: 100%
target: 90%
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[project]
name = "ultimate-python"
version = "1.0.0"
requires-python = ">= 3.11"

[tool.ruff]
line-length = 160

Expand Down
Loading
Loading