Skip to content

Commit 303e9b5

Browse files
author
Olivier Philippon
committed
Bump minimum Python version to 3.6.3 (from 3.6.1)
The `OrderedDict[CacheKey, CacheValue]` code we use in the LRUCache class doesn't work with Python versions `3.6.1` and `3.6.2`, unfortunately
1 parent ae1ee4e commit 303e9b5

16 files changed

+38
-38
lines changed

README.de-ch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Lueg was [anderi öber Rich säged](https://www.willmcgugan.com/blog/pages/post/
3333

3434
## Kompatibilität
3535

36-
Rich funktioniert mit Linux, OSX ond Windows. True color / emoji funktioniert mit em neue Windows Törminäl, s klassische Törminäl isch of 16 Farbe limitiärt. Rich brucht Python 3.6.1 oder neuer.
36+
Rich funktioniert mit Linux, OSX ond Windows. True color / emoji funktioniert mit em neue Windows Törminäl, s klassische Törminäl isch of 16 Farbe limitiärt. Rich brucht Python 3.6.3 oder neuer.
3737

3838
Rich funktioniert mit [Jupyter notebooks](https://jupyter.org/) ohni irgendwelchä zuäsätzloche konfiguration.
3939

@@ -76,7 +76,7 @@ Rich cha i de Python REPL installiert werde so dass irgend e Datestruktuur hübs
7676

7777
## Console bruchä
7878

79-
Für meh kontrolle öber de Törminäl inhalt, importiär und instanziär e [Console](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console) Objekt.
79+
Für meh kontrolle öber de Törminäl inhalt, importiär und instanziär e [Console](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console) Objekt.
8080

8181
```python
8282
from rich.console import Console

README.de.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Schau hier, was [andere über Rich sagen](https://www.willmcgugan.com/blog/pages
3333

3434
## Kompatibilität
3535

36-
Rich läuft unter Linux, OSX und Windows. True Color / Emoji funktionieren mit dem neuen Windows-Terminal. Das klassische Terminal ist auf 16 Farben beschränkt. Rich benötigt Python 3.6.1 oder höher.
36+
Rich läuft unter Linux, OSX und Windows. True Color / Emoji funktionieren mit dem neuen Windows-Terminal. Das klassische Terminal ist auf 16 Farben beschränkt. Rich benötigt Python 3.6.3 oder höher.
3737

3838
Rich funktioniert ohne zusätzliche Konfiguration mit [Jupyter Notebooks](https://jupyter.org/).
3939

README.es.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Vea lo que [la gente dice sobre Rich](https://www.willmcgugan.com/blog/pages/pos
3333

3434
## Compatibilidad
3535

36-
Rich funciona con Linux, OSX y Windows. True color / emoji funciona con la nueva Terminal de Windows, la terminal clásica está limitada a 8 colores. Rich requiere Python 3.6.1 o posterior.
36+
Rich funciona con Linux, OSX y Windows. True color / emoji funciona con la nueva Terminal de Windows, la terminal clásica está limitada a 8 colores. Rich requiere Python 3.6.3 o posterior.
3737

3838
Rich funciona con [Jupyter notebooks](https://jupyter.org/) sin necesidad de configuración adicional.
3939

README.fr.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Voyez ce que [les gens disent de Rich](https://www.willmcgugan.com/blog/pages/po
3333

3434
## Compatibilité
3535

36-
Rich fonctionne avec Linux, OSX et Windows. True color / emoji fonctionne avec le nouveau Terminal Windows, le terminal classique est limité à 16 couleurs. Rich nécessite Python 3.6.1 ou plus.
36+
Rich fonctionne avec Linux, OSX et Windows. True color / emoji fonctionne avec le nouveau Terminal Windows, le terminal classique est limité à 16 couleurs. Rich nécessite Python 3.6.3 ou plus.
3737

3838
Rich fonctionne avec les notebooks Jupyter sans configuration supplémentaire.
3939

@@ -126,7 +126,7 @@ Rich possède une fonction [inspect](https://rich.readthedocs.io/en/latest/refer
126126

127127
Consultez la [documentation d'inspect](https://rich.readthedocs.io/en/latest/reference/init.html#rich.inspect) pour plus de détails.
128128

129-
## Bibliothèque Rich
129+
## Bibliothèque Rich
130130
Rich contient un certain nombre _d'éléments de rendu_ intégrés que vous pouvez utiliser pour créer une sortie élégante dans votre CLI et vous aider à déboguer votre code.
131131

132132
Cliquez sur les rubriques suivantes pour plus de détails :

README.id.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Lihat pendapat [pengguna yang telah menggunakan Rich](https://www.willmcgugan.co
3535

3636
## Kompabilitas
3737

38-
Rich dapat berjalan di Linux, OSX, dan Windows. Warna tambahan / emoji dapat berjalan di Windows Terminal baru, untuk terminal lama pewarnaan terbatas ke dalam 16 warna. Rich memerlukan versi Python 3.6.1 atau ke atas.
38+
Rich dapat berjalan di Linux, OSX, dan Windows. Warna tambahan / emoji dapat berjalan di Windows Terminal baru, untuk terminal lama pewarnaan terbatas ke dalam 16 warna. Rich memerlukan versi Python 3.6.3 atau ke atas.
3939

4040
Rich dapat berjalan di [Jupyter notebooks](https://jupyter.org/) tanpa memerlukan konfigurasi tambahan.
4141

@@ -92,7 +92,7 @@ Console object memiliki method `print` yang berfungsi serupa dengan built-in `pr
9292
console.print("Hello", "World!")
9393
```
9494

95-
Seperti yang anda perkirakan, perintah tersebut akan menampilkan `"Hello World!"` sebagai output di terminal. Catatan, perbedaan dengan fungsi built-in `print`, Rich membuat teks termampatkan disesuaikan dengan lebar terminal.
95+
Seperti yang anda perkirakan, perintah tersebut akan menampilkan `"Hello World!"` sebagai output di terminal. Catatan, perbedaan dengan fungsi built-in `print`, Rich membuat teks termampatkan disesuaikan dengan lebar terminal.
9696

9797
Terdapat beberapa cara untuk melakukan penambahan warna dan gaya output dari program anda. Anda dapat mengatur keseluruhan output dengan menambahkan keyword argumen `style`. Berikut adalah contoh penerapannya:
9898

@@ -135,9 +135,9 @@ Rich mengandung sejumlah built-in yang bersifat _renderables_, artinya anda dapa
135135
Klik pilihan berikut untuk detail lebih lanjut:
136136

137137
<details>
138-
<summary>Log</summary>
138+
<summary>Log</summary>
139139

140-
Console object mempunyai method bernama `log()` yang serupa dengan `print()`, tetapi juga mendukung fitur perenderan kolom waktu terkini serta baris file yang melakukan pemanggilan fungsi tertentu. Secara default Rich akan menghilight syntax untuk struktur python dan REPR strings. Jika anda melakukan log pada sekumpulan data (misal dictionary atau list) Rich akan memperindah output yang ditampilkan serta disesuaikan dengan ukuran terminal yang tersedia. Berikut adalah contoh penerapan dari beberapa fitur ini.
140+
Console object mempunyai method bernama `log()` yang serupa dengan `print()`, tetapi juga mendukung fitur perenderan kolom waktu terkini serta baris file yang melakukan pemanggilan fungsi tertentu. Secara default Rich akan menghilight syntax untuk struktur python dan REPR strings. Jika anda melakukan log pada sekumpulan data (misal dictionary atau list) Rich akan memperindah output yang ditampilkan serta disesuaikan dengan ukuran terminal yang tersedia. Berikut adalah contoh penerapan dari beberapa fitur ini.
141141

142142
```python
143143
from rich.console import Console
@@ -456,7 +456,7 @@ Berikut adalah beberpa projek yang menggunakan Rich:
456456
- [tryolabs/norfair](https://github.com/tryolabs/norfair)
457457
Library Python ringan untuk menambahkan deteksi objek secara real-time pada objek 2D pada suatu detektor.
458458
- [ansible/ansible-lint](https://github.com/ansible/ansible-lint) Sebuah ansible-lint untuk memeriksa playbooks yang digunakan sebagai practices and behaviour yang secara potensial dapat ditingkatkan.
459-
- [ansible-community/molecule](https://github.com/ansible-community/molecule) Ansible Molecule untuk framework testing
459+
- [ansible-community/molecule](https://github.com/ansible-community/molecule) Ansible Molecule untuk framework testing
460460
- +[Lebih banyak lagi](https://github.com/willmcgugan/rich/network/dependents)!
461461

462462
<!-- This is a test, no need to translate -->

README.it.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Guarda cosa [le persone dicono su Rich](https://www.willmcgugan.com/blog/pages/p
3333

3434
## Compatibilità
3535

36-
Rich funziona su Linux, OSX, e Windows. True color / emoji funzionano con il nuovo Windows Terminal, il terminale classico è limitato a 16 colori. Rich richiede Python 3.6.1 o superiore.
36+
Rich funziona su Linux, OSX, e Windows. True color / emoji funzionano con il nuovo Windows Terminal, il terminale classico è limitato a 16 colori. Rich richiede Python 3.6.3 o superiore.
3737

3838
Rich funziona con i [Jupyter notebooks](https://jupyter.org/) senza configurazioni aggiuntive.
3939

README.ja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Richの紹介動画はこちらをご覧ください。 [calmcode.io](https://ca
3333

3434
## 互換性
3535

36-
RichはLinux、OSX、Windowsに対応しています。True colorと絵文字は新しい Windows ターミナルで動作しますが、古いターミナルでは8色に制限されています。Richを使用するにはPythonのバージョンは3.6.1以降が必要です
36+
RichはLinux、OSX、Windowsに対応しています。True colorと絵文字は新しい Windows ターミナルで動作しますが、古いターミナルでは8色に制限されています。Richを使用するにはPythonのバージョンは3.6.3以降が必要です
3737

3838
Richは追加の設定を行わずとも、[Jupyter notebooks](https://jupyter.org/)で動作します。
3939

README.kr.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
Rich는 터미널에서 _풍부한(rich)_ 텍스트와 아름다운 서식을 지원하기 위한 파이썬 라이브러리입니다.
2525

26-
[Rich API](https://rich.readthedocs.io/en/latest/)는 터미널 출력에 색깔과 스타일을 입히기 쉽게 도와줍니다. 또한 Rich는 별다른 설정 없이 표, 진행 바, 마크다운, 소스코드 구문 강조, tracebacks 등을 예쁘게 보여줄 수 있습니다.
26+
[Rich API](https://rich.readthedocs.io/en/latest/)는 터미널 출력에 색깔과 스타일을 입히기 쉽게 도와줍니다. 또한 Rich는 별다른 설정 없이 표, 진행 바, 마크다운, 소스코드 구문 강조, tracebacks 등을 예쁘게 보여줄 수 있습니다.
2727

2828
![Features](https://github.com/willmcgugan/rich/raw/master/imgs/features.png)
2929

@@ -33,7 +33,7 @@ Rich에 대한 동영상 설명을 보시려면 [@fishnets88](https://twitter.co
3333

3434
## 호환성
3535

36-
Rich는 리눅스, OSX, 윈도우에서 동작합니다. 트루 컬러 / 이모지는 새로운 윈도우 터미널에서 동작하지만 구형 터미널에서는 16가지 색으로 제한됩니다. Rich는 파이썬 3.6.1 버전 혹은 그 이후 버전이 필요합니다.
36+
Rich는 리눅스, OSX, 윈도우에서 동작합니다. 트루 컬러 / 이모지는 새로운 윈도우 터미널에서 동작하지만 구형 터미널에서는 16가지 색으로 제한됩니다. Rich는 파이썬 3.6.3 버전 혹은 그 이후 버전이 필요합니다.
3737

3838
Rich는 [Jupyter notebooks](https://jupyter.org/)에서 별도의 설정없이 바로 동작합니다.
3939

@@ -53,7 +53,7 @@ python -m rich
5353

5454
## Rich Print
5555

56-
간단하게 당신의 어플리케이션에 rich한 출력을 추가하려면, 파이썬 내장 함수와 signature가 같은 [rich print](https://rich.readthedocs.io/en/latest/introduction.html#quick-start) 메서드를 import 할 수 있습니다.
56+
간단하게 당신의 어플리케이션에 rich한 출력을 추가하려면, 파이썬 내장 함수와 signature가 같은 [rich print](https://rich.readthedocs.io/en/latest/introduction.html#quick-start) 메서드를 import 할 수 있습니다.
5757
따라해보세요:
5858

5959
```python
@@ -84,13 +84,13 @@ from rich.console import Console
8484

8585
console = Console()
8686
```
87-
87+
8888
콘솔 객체에는 `print` 메서드가 있는데, 내부적으로 내장 `print` 함수와 유사한 인터페이스를 가지고 있습니다. 아래는 예제입니다:
8989

9090
```python
9191
console.print("Hello", "World!")
9292
```
93-
93+
9494
예상대로 `"Hello World!"`이 터미널에 출력될 것입니다. 내장 `print` 함수와 달리, Rich는 터미널 폭에 맞춰 자동 줄바꿈(word-wrap)을 적용하는 것에 유의하세요.
9595

9696
출력에 색깔과 스타일을 입히는 방법은 몇가지가 있습니다. `style` 키워드 전달인자를 추가해 전체 출력에 대해 스타일을 변경할 수 있습니다. 예제는 다음과 같습니다:
@@ -129,13 +129,13 @@ Rich는 class나 instance, builtin 같은 파이썬 객체의 레포트를 생
129129

130130
# Rich Library
131131

132-
Rich는 CLI에서 우아하게 출력하거나 코드 디버깅을 돕도록 다양한 빌트인 _렌더링을_ 포함하고 있습니다.
132+
Rich는 CLI에서 우아하게 출력하거나 코드 디버깅을 돕도록 다양한 빌트인 _렌더링을_ 포함하고 있습니다.
133133

134134
자세한 내용을 확인하려면 제목을 눌러주세요:
135135

136136
<details>
137137
<summary>Log</summary>
138-
138+
139139
Console 객체는 `print()`와 인터페이스가 유사한 `log()` 메서드를 가지고 있습니다. `Log()`는 호출이 이루어진 파일과 라인, 현재 시간도 같이 출력합니다. 기본적으로 Rich는 파이썬 구조체와 repr string에 대해 신택스 하이라이팅을 지원합니다. 만약 당신이 collection(예를 들어 dict나 list)을 로깅한다면, Rich는 표현 가능한 공간에 맞춰 예쁘게 출력해줍니다. 이러한 기능들에 대한 예시입니다:
140140

141141
```python
@@ -167,7 +167,7 @@ test_log()
167167

168168
`log_locals` 인자를 사용하면 log 메서드가 호출된 곳의 로컬 변수들을 표로 보여준다는 것도 알아두세요.
169169

170-
로그 메서드는 서버처럼 오랫동안 실행되는 어플리케이션을 터미널로 로깅할때 사용할 수 있지만 디버깅 할 때도 매우 좋습니다.
170+
로그 메서드는 서버처럼 오랫동안 실행되는 어플리케이션을 터미널로 로깅할때 사용할 수 있지만 디버깅 할 때도 매우 좋습니다.
171171

172172
</details>
173173
<details>
@@ -238,7 +238,7 @@ console.print(table)
238238

239239
![table](https://github.com/willmcgugan/rich/raw/master/imgs/table.png)
240240

241-
콘솔 출력은 `print()``log()`와 같은 방식으로 렌더링 된다는 것을 주의하세요. 사실, Rich로 표현할 수 있는 것은 무엇이든 headers / rows (심지어 다른 표들도)에 포함할 수 있습니다.
241+
콘솔 출력은 `print()``log()`와 같은 방식으로 렌더링 된다는 것을 주의하세요. 사실, Rich로 표현할 수 있는 것은 무엇이든 headers / rows (심지어 다른 표들도)에 포함할 수 있습니다.
242242

243243
`Table` 클래스는 터미널의 폭에 맞춰 필요한 만큼 줄을 내리고 열 길이를 스스로 조절합니다. 위의 표보다 작은 터미널에서 만들어진 표 예시입니다:
244244

@@ -309,7 +309,7 @@ python -m rich.spinner
309309

310310
<details>
311311
<summary>Tree(트리)</summary>
312-
312+
313313
Rich는 가이드라인과 함께 [트리](https://rich.readthedocs.io/en/latest/tree.html)를 표현할 수 있습니다. 파일 구조나, 계층적 데이터를 보여주는데 적합합니다.
314314

315315
트리의 라벨은 간단한 텍스트나 Rich로 표현할 수 있는 것은 모든지 가능합니다. 아래의 예시를 따라해보세요:
@@ -321,7 +321,7 @@ python -m rich.tree
321321
이는 아래와 같이 출력됩니다:
322322

323323
![markdown](https://github.com/willmcgugan/rich/raw/master/imgs/tree.png)
324-
324+
325325
리눅스의 `tree` 명령어처럼 아무 디렉토리의 트리를 보여주는 스크립트 예제를 보시려면 [tree.py](https://github.com/willmcgugan/rich/blob/master/examples/tree.py)를 확인해주세요.
326326

327327
</details>
@@ -408,8 +408,8 @@ console.print(syntax)
408408

409409
<details>
410410
<summary>Tracebacks</summary>
411-
412-
Rich는 [예쁜 tracebacks](https://rich.readthedocs.io/en/latest/traceback.html)을 표현할 수 있습니다. 이것은 읽기도 더 쉽고 일반적인 파이썬 tracebacks 보다 더 많은 코드를 보여줍니다. uncaught exceptions가 Rich로 출력되도록 Rich를 기본 Traceback 핸들러로 설정할 수도 있습니다.
411+
412+
Rich는 [예쁜 tracebacks](https://rich.readthedocs.io/en/latest/traceback.html)을 표현할 수 있습니다. 이것은 읽기도 더 쉽고 일반적인 파이썬 tracebacks 보다 더 많은 코드를 보여줍니다. uncaught exceptions가 Rich로 출력되도록 Rich를 기본 Traceback 핸들러로 설정할 수도 있습니다.
413413

414414
OSX에서는 이렇게 출력됩니다 (리눅스도 유사함):
415415

@@ -423,7 +423,7 @@ OSX에서는 이렇게 출력됩니다 (리눅스도 유사함):
423423

424424
Tidelift 구독의 일환으로 가능합니다.
425425

426-
Rich를 포함한 수천가지 다른 패키지들의 메인테이너들은 당신이 앱을 만들기 위해 사용하는 오픈소스 패키지의 상업적인 지원과 유지보수를 위해 Tidelift와 함께 일하고 있습니다. 당신이 사용하는 패키지의 메인테이너에게 비용을 지불하는 대신 시간을 절약하고, 리스크를 줄이고, 코드의 품질을 향상시킬 수 있습니다. [더 자세한 정보는 여기를 참고바랍니다.](https://tidelift.com/subscription/pkg/pypi-rich?utm_source=pypi-rich&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
426+
Rich를 포함한 수천가지 다른 패키지들의 메인테이너들은 당신이 앱을 만들기 위해 사용하는 오픈소스 패키지의 상업적인 지원과 유지보수를 위해 Tidelift와 함께 일하고 있습니다. 당신이 사용하는 패키지의 메인테이너에게 비용을 지불하는 대신 시간을 절약하고, 리스크를 줄이고, 코드의 품질을 향상시킬 수 있습니다. [더 자세한 정보는 여기를 참고바랍니다.](https://tidelift.com/subscription/pkg/pypi-rich?utm_source=pypi-rich&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
427427

428428
# Rich를 사용하는 프로젝트들
429429

@@ -451,7 +451,7 @@ Rich를 사용하는 몇가지 프로젝트들입니다:
451451
자동으로 자막과 영상의 싱크를 맞추세요.
452452
- [tryolabs/norfair](https://github.com/tryolabs/norfair)
453453
모든 탐지된 것에 실시간으로 2D 오브젝트 트래킹을 추가하는 경량화된 파이썬 라이브러리.
454-
- [ansible/ansible-lint](https://github.com/ansible/ansible-lint)
454+
- [ansible/ansible-lint](https://github.com/ansible/ansible-lint)
455455
Ansible-lint가 playbooks를 확인해 잠재적으로 개선될 수 있는 practices나 동작을 확인합니다.
456456
- [ansible-community/molecule](https://github.com/ansible-community/molecule)
457457
Ansible Molecule의 테스트 프레임워크

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ See what [people are saying about Rich](https://www.willmcgugan.com/blog/pages/p
3434

3535
## Compatibility
3636

37-
Rich works with Linux, OSX, and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.6.1 or later.
37+
Rich works with Linux, OSX, and Windows. True color / emoji works with new Windows Terminal, classic terminal is limited to 16 colors. Rich requires Python 3.6.3 or later.
3838

3939
Rich works with [Jupyter notebooks](https://jupyter.org/) with no additional configuration required.
4040

README.pt-br.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Veja aqui [o que estão falando sobre o Rich](https://www.willmcgugan.com/blog/p
3232

3333
## Compatibilidade
3434

35-
Rich funciona no Linux, OSX e Windows. True color / emoji funciona no novo Terminal do Windows, o terminal classico é limitado a 16 cores. Rich requer Python 3.6.1 ou superior.
35+
Rich funciona no Linux, OSX e Windows. True color / emoji funciona no novo Terminal do Windows, o terminal classico é limitado a 16 cores. Rich requer Python 3.6.3 ou superior.
3636

3737
Rich funciona com [Jupyter notebooks](https://jupyter.org/) sem a necessidade de configurações adicionais.
3838

README.ru.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Rich это Python библиотека позволяющая отобража
3434

3535
## Cовместимость
3636

37-
Rich работает с Linux, OSX, и Windows. True color / эмоджи работают с новым терминалом Windows, классический терминал лимитирован 16 цветами. Rich требует Python 3.6.1 или более новый.
37+
Rich работает с Linux, OSX, и Windows. True color / эмоджи работают с новым терминалом Windows, классический терминал лимитирован 16 цветами. Rich требует Python 3.6.3 или более новый.
3838

3939
Rich работает с [Jupyter notebooks](https://jupyter.org/) без дополнительной конфигурации.
4040

0 commit comments

Comments
 (0)