You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.de-ch.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Lueg was [anderi öber Rich säged](https://www.willmcgugan.com/blog/pages/post/
33
33
34
34
## Kompatibilität
35
35
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.
37
37
38
38
Rich funktioniert mit [Jupyter notebooks](https://jupyter.org/) ohni irgendwelchä zuäsätzloche konfiguration.
39
39
@@ -76,7 +76,7 @@ Rich cha i de Python REPL installiert werde so dass irgend e Datestruktuur hübs
76
76
77
77
## Console bruchä
78
78
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.
Copy file name to clipboardExpand all lines: README.de.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Schau hier, was [andere über Rich sagen](https://www.willmcgugan.com/blog/pages
33
33
34
34
## Kompatibilität
35
35
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.
37
37
38
38
Rich funktioniert ohne zusätzliche Konfiguration mit [Jupyter Notebooks](https://jupyter.org/).
Copy file name to clipboardExpand all lines: README.es.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Vea lo que [la gente dice sobre Rich](https://www.willmcgugan.com/blog/pages/pos
33
33
34
34
## Compatibilidad
35
35
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.
37
37
38
38
Rich funciona con [Jupyter notebooks](https://jupyter.org/) sin necesidad de configuración adicional.
Copy file name to clipboardExpand all lines: README.fr.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Voyez ce que [les gens disent de Rich](https://www.willmcgugan.com/blog/pages/po
33
33
34
34
## Compatibilité
35
35
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.
37
37
38
38
Rich fonctionne avec les notebooks Jupyter sans configuration supplémentaire.
39
39
@@ -126,7 +126,7 @@ Rich possède une fonction [inspect](https://rich.readthedocs.io/en/latest/refer
126
126
127
127
Consultez la [documentation d'inspect](https://rich.readthedocs.io/en/latest/reference/init.html#rich.inspect) pour plus de détails.
128
128
129
-
## Bibliothèque Rich
129
+
## Bibliothèque Rich
130
130
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.
131
131
132
132
Cliquez sur les rubriques suivantes pour plus de détails :
Copy file name to clipboardExpand all lines: README.id.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Lihat pendapat [pengguna yang telah menggunakan Rich](https://www.willmcgugan.co
35
35
36
36
## Kompabilitas
37
37
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.
39
39
40
40
Rich dapat berjalan di [Jupyter notebooks](https://jupyter.org/) tanpa memerlukan konfigurasi tambahan.
41
41
@@ -92,7 +92,7 @@ Console object memiliki method `print` yang berfungsi serupa dengan built-in `pr
92
92
console.print("Hello", "World!")
93
93
```
94
94
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.
96
96
97
97
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:
98
98
@@ -135,9 +135,9 @@ Rich mengandung sejumlah built-in yang bersifat _renderables_, artinya anda dapa
135
135
Klik pilihan berikut untuk detail lebih lanjut:
136
136
137
137
<details>
138
-
<summary>Log</summary>
138
+
<summary>Log</summary>
139
139
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.
141
141
142
142
```python
143
143
from rich.console import Console
@@ -456,7 +456,7 @@ Berikut adalah beberpa projek yang menggunakan Rich:
Library Python ringan untuk menambahkan deteksi objek secara real-time pada objek 2D pada suatu detektor.
458
458
-[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
460
460
- +[Lebih banyak lagi](https://github.com/willmcgugan/rich/network/dependents)!
Copy file name to clipboardExpand all lines: README.it.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Guarda cosa [le persone dicono su Rich](https://www.willmcgugan.com/blog/pages/p
33
33
34
34
## Compatibilità
35
35
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.
37
37
38
38
Rich funziona con i [Jupyter notebooks](https://jupyter.org/) senza configurazioni aggiuntive.
Copy file name to clipboardExpand all lines: README.kr.md
+15-15
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
24
24
Rich는 터미널에서 _풍부한(rich)_ 텍스트와 아름다운 서식을 지원하기 위한 파이썬 라이브러리입니다.
25
25
26
-
[Rich API](https://rich.readthedocs.io/en/latest/)는 터미널 출력에 색깔과 스타일을 입히기 쉽게 도와줍니다. 또한 Rich는 별다른 설정 없이 표, 진행 바, 마크다운, 소스코드 구문 강조, tracebacks 등을 예쁘게 보여줄 수 있습니다.
26
+
[Rich API](https://rich.readthedocs.io/en/latest/)는 터미널 출력에 색깔과 스타일을 입히기 쉽게 도와줍니다. 또한 Rich는 별다른 설정 없이 표, 진행 바, 마크다운, 소스코드 구문 강조, tracebacks 등을 예쁘게 보여줄 수 있습니다.
@@ -33,7 +33,7 @@ Rich에 대한 동영상 설명을 보시려면 [@fishnets88](https://twitter.co
33
33
34
34
## 호환성
35
35
36
-
Rich는 리눅스, OSX, 윈도우에서 동작합니다. 트루 컬러 / 이모지는 새로운 윈도우 터미널에서 동작하지만 구형 터미널에서는 16가지 색으로 제한됩니다. Rich는 파이썬 3.6.1 버전 혹은 그 이후 버전이 필요합니다.
36
+
Rich는 리눅스, OSX, 윈도우에서 동작합니다. 트루 컬러 / 이모지는 새로운 윈도우 터미널에서 동작하지만 구형 터미널에서는 16가지 색으로 제한됩니다. Rich는 파이썬 3.6.3 버전 혹은 그 이후 버전이 필요합니다.
37
37
38
38
Rich는 [Jupyter notebooks](https://jupyter.org/)에서 별도의 설정없이 바로 동작합니다.
39
39
@@ -53,7 +53,7 @@ python -m rich
53
53
54
54
## Rich Print
55
55
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 할 수 있습니다.
57
57
따라해보세요:
58
58
59
59
```python
@@ -84,13 +84,13 @@ from rich.console import Console
84
84
85
85
console = Console()
86
86
```
87
-
87
+
88
88
콘솔 객체에는 `print` 메서드가 있는데, 내부적으로 내장 `print` 함수와 유사한 인터페이스를 가지고 있습니다. 아래는 예제입니다:
89
89
90
90
```python
91
91
console.print("Hello", "World!")
92
92
```
93
-
93
+
94
94
예상대로 `"Hello World!"`이 터미널에 출력될 것입니다. 내장 `print` 함수와 달리, Rich는 터미널 폭에 맞춰 자동 줄바꿈(word-wrap)을 적용하는 것에 유의하세요.
95
95
96
96
출력에 색깔과 스타일을 입히는 방법은 몇가지가 있습니다. `style` 키워드 전달인자를 추가해 전체 출력에 대해 스타일을 변경할 수 있습니다. 예제는 다음과 같습니다:
Rich는 CLI에서 우아하게 출력하거나 코드 디버깅을 돕도록 다양한 빌트인 _렌더링을_ 포함하고 있습니다.
132
+
Rich는 CLI에서 우아하게 출력하거나 코드 디버깅을 돕도록 다양한 빌트인 _렌더링을_ 포함하고 있습니다.
133
133
134
134
자세한 내용을 확인하려면 제목을 눌러주세요:
135
135
136
136
<details>
137
137
<summary>Log</summary>
138
-
138
+
139
139
Console 객체는 `print()`와 인터페이스가 유사한 `log()` 메서드를 가지고 있습니다. `Log()`는 호출이 이루어진 파일과 라인, 현재 시간도 같이 출력합니다. 기본적으로 Rich는 파이썬 구조체와 repr string에 대해 신택스 하이라이팅을 지원합니다. 만약 당신이 collection(예를 들어 dict나 list)을 로깅한다면, Rich는 표현 가능한 공간에 맞춰 예쁘게 출력해줍니다. 이러한 기능들에 대한 예시입니다:
140
140
141
141
```python
@@ -167,7 +167,7 @@ test_log()
167
167
168
168
`log_locals` 인자를 사용하면 log 메서드가 호출된 곳의 로컬 변수들을 표로 보여준다는 것도 알아두세요.
169
169
170
-
로그 메서드는 서버처럼 오랫동안 실행되는 어플리케이션을 터미널로 로깅할때 사용할 수 있지만 디버깅 할 때도 매우 좋습니다.
170
+
로그 메서드는 서버처럼 오랫동안 실행되는 어플리케이션을 터미널로 로깅할때 사용할 수 있지만 디버깅 할 때도 매우 좋습니다.
리눅스의 `tree` 명령어처럼 아무 디렉토리의 트리를 보여주는 스크립트 예제를 보시려면 [tree.py](https://github.com/willmcgugan/rich/blob/master/examples/tree.py)를 확인해주세요.
326
326
327
327
</details>
@@ -408,8 +408,8 @@ console.print(syntax)
408
408
409
409
<details>
410
410
<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 핸들러로 설정할 수도 있습니다.
413
413
414
414
OSX에서는 이렇게 출력됩니다 (리눅스도 유사함):
415
415
@@ -423,7 +423,7 @@ OSX에서는 이렇게 출력됩니다 (리눅스도 유사함):
423
423
424
424
Tidelift 구독의 일환으로 가능합니다.
425
425
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)
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ See what [people are saying about Rich](https://www.willmcgugan.com/blog/pages/p
34
34
35
35
## Compatibility
36
36
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.
38
38
39
39
Rich works with [Jupyter notebooks](https://jupyter.org/) with no additional configuration required.
Copy file name to clipboardExpand all lines: README.pt-br.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Veja aqui [o que estão falando sobre o Rich](https://www.willmcgugan.com/blog/p
32
32
33
33
## Compatibilidade
34
34
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.
36
36
37
37
Rich funciona com [Jupyter notebooks](https://jupyter.org/) sem a necessidade de configurações adicionais.
Copy file name to clipboardExpand all lines: README.ru.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Rich это Python библиотека позволяющая отобража
34
34
35
35
## Cовместимость
36
36
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 или более новый.
38
38
39
39
Rich работает с [Jupyter notebooks](https://jupyter.org/) без дополнительной конфигурации.
0 commit comments