mirror of https://github.com/Textualize/rich.git
Merge pull request #2221 from wasi-master/fix-codecov-links
Fix invalid code coverage badge links
This commit is contained in:
commit
695256ce53
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
44
README.hi.md
44
README.hi.md
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
@ -22,14 +22,14 @@
|
|||
• [Русский readme](https://github.com/willmcgugan/rich/blob/master/README.ru.md)
|
||||
• [فارسی readme](https://github.com/willmcgugan/rich/blob/master/README.fa.md)
|
||||
|
||||
Rich टर्मिनल में _समृद्ध_ पाठ और सुंदर स्वरूपण के लिए एक Python संग्रह है।
|
||||
Rich टर्मिनल में _समृद्ध_ पाठ और सुंदर स्वरूपण के लिए एक Python संग्रह है।
|
||||
|
||||
|
||||
[Rich API](https://rich.readthedocs.io/en/latest/) टर्मिनल उत्पादन में रंग और शैली डालना आसान बनाता है। Rich सुंदर सारणियाँ, प्रगति सूचक डंडे, markdown, रचनाक्रम चिन्हांकित स्त्रोत कोड, ट्रेसबैक आदि प्रस्तुत कर सकता है - बिना कुछ बदले।
|
||||
|
||||

|
||||
|
||||
Rich के वीडियो परिचय के लिए देखें [@fishnets88](https://twitter.com/fishnets88) द्वारा बनाई गई [calmcode.io](https://calmcode.io/rich/introduction.html)।
|
||||
Rich के वीडियो परिचय के लिए देखें [@fishnets88](https://twitter.com/fishnets88) द्वारा बनाई गई [calmcode.io](https://calmcode.io/rich/introduction.html)।
|
||||
|
||||
|
||||
देखें [लोग रिच के बारे में क्या कह रहे हैं](https://www.willmcgugan.com/blog/pages/post/rich-tweets/)।
|
||||
|
@ -42,7 +42,7 @@ Rich बिना किसी अतिरिक्त विन्यास
|
|||
|
||||
## स्थापना करना
|
||||
|
||||
`pip` या अपने पसंदीदा PyPI संकुल प्रबंधक (package manager) के द्वारा आप इसे स्थापित कर सकते हैं।
|
||||
`pip` या अपने पसंदीदा PyPI संकुल प्रबंधक (package manager) के द्वारा आप इसे स्थापित कर सकते हैं।
|
||||
|
||||
```sh
|
||||
python -m pip install rich
|
||||
|
@ -67,7 +67,7 @@ print("Hello, [bold magenta]World[/bold magenta]!", ":vampire:", locals())
|
|||
|
||||
## Rich REPL
|
||||
|
||||
Rich को Python REPL में स्थापित किया जा सकता है, ताकि कोई भी डेटा संरचनाएं सुंदरता से छपे तथा चिह्नांकित हों।
|
||||
Rich को Python REPL में स्थापित किया जा सकता है, ताकि कोई भी डेटा संरचनाएं सुंदरता से छपे तथा चिह्नांकित हों।
|
||||
```python
|
||||
>>> from rich import pretty
|
||||
>>> pretty.install()
|
||||
|
@ -135,7 +135,7 @@ Rich में कई अंतर्निहित _प्रतिपाद
|
|||
<details>
|
||||
<summary>लॉग (Log)</summary>
|
||||
|
||||
Console वस्तु के पास एक `log()` फलन होता है जिसका अंतरापृष्ठ `print()` से मिलता है, पर साथ में वर्तमान समय और आवाहन करने वाली पंक्ति के लिए एक खाना प्रस्तुत करता है। व्यक्तिक्रम तौर पर Rich Python संरचनाएं एवं repr मालाओं (स्ट्रिंगों) पर रचनाक्रम चिह्नांकन करेगा। यदि आप एक संग्रह (यानि एक डिक्शनेरी या एक सूची) को लॉग करते हैं तो Rich उसे सुंदरता से छापेगा ताकि वह उपलब्ध जगह में फस सके। इनमें से कुछ विशेषताओं का उदहरण प्रस्तुत है:
|
||||
Console वस्तु के पास एक `log()` फलन होता है जिसका अंतरापृष्ठ `print()` से मिलता है, पर साथ में वर्तमान समय और आवाहन करने वाली पंक्ति के लिए एक खाना प्रस्तुत करता है। व्यक्तिक्रम तौर पर Rich Python संरचनाएं एवं repr मालाओं (स्ट्रिंगों) पर रचनाक्रम चिह्नांकन करेगा। यदि आप एक संग्रह (यानि एक डिक्शनेरी या एक सूची) को लॉग करते हैं तो Rich उसे सुंदरता से छापेगा ताकि वह उपलब्ध जगह में फस सके। इनमें से कुछ विशेषताओं का उदहरण प्रस्तुत है:
|
||||
|
||||
```python
|
||||
from rich.console import Console
|
||||
|
@ -181,7 +181,7 @@ Python के `logging` मापांक से आए हुए उत्प
|
|||
<details>
|
||||
<summary>इमोजी</summary>
|
||||
|
||||
Console उत्पादन में इमोजी डालने के लिए नाम को दो अपूर्ण विरामों (:) के बीच रखें। इसका एक उदाहरण:
|
||||
Console उत्पादन में इमोजी डालने के लिए नाम को दो अपूर्ण विरामों (:) के बीच रखें। इसका एक उदाहरण:
|
||||
```python
|
||||
>>> console.print(":smiley: :vampire: :pile_of_poo: :thumbs_up: :raccoon:")
|
||||
😃 🧛 💩 👍 🦝
|
||||
|
@ -199,7 +199,7 @@ Rich यूनिकोड डिब्बा अक्षरों की स
|
|||
|
||||
उपर्युक्त अनुप्राणन examples डायरेक्टरी के [table_movie.py](https://github.com/willmcgugan/rich/blob/master/examples/table_movie.py) से बनाया गया है।
|
||||
|
||||
इससे सरल संचिका का उदाहरण:
|
||||
इससे सरल संचिका का उदाहरण:
|
||||
```python
|
||||
from rich.console import Console
|
||||
from rich.table import Table
|
||||
|
@ -236,7 +236,7 @@ console.print(table)
|
|||
|
||||
ध्यान दें की कॉनसोल मार्कअप `print()` और `log()` की तरह ही प्रदर्शित होते हैं। वास्तव में, कोई भी वस्तु जो Rich के द्वारा प्रदर्शनीय है वह शीर्षकों / पंक्तियों (दूसरी संचिकाओं में भी) में युक्त किया जा सकता है।
|
||||
|
||||
`Table` वर्ग इतनी बुद्धिमान है की वह टर्मिनल की उपलब्ध चौड़ाई में फ़साने के लिए स्तंभों का आकार बदल सकता है, आवश्यकता के अनुसार पाठ को लपेटते हुए। यह वही उदाहरण है, टर्मिनल को उपर्युक्त संचिका से छोटा रखते हुए:
|
||||
`Table` वर्ग इतनी बुद्धिमान है की वह टर्मिनल की उपलब्ध चौड़ाई में फ़साने के लिए स्तंभों का आकार बदल सकता है, आवश्यकता के अनुसार पाठ को लपेटते हुए। यह वही उदाहरण है, टर्मिनल को उपर्युक्त संचिका से छोटा रखते हुए:
|
||||
|
||||

|
||||
|
||||
|
@ -255,10 +255,10 @@ for step in track(range(100)):
|
|||
do_step(step)
|
||||
```
|
||||
|
||||
अनेक प्रगति सूचक डंडे जोड़ने इससे अधिक कठिन नहीं है। ये रहा एक उदाहरण जो प्रलेखन से उठाया गया है:
|
||||
अनेक प्रगति सूचक डंडे जोड़ने इससे अधिक कठिन नहीं है। ये रहा एक उदाहरण जो प्रलेखन से उठाया गया है:
|
||||

|
||||
|
||||
स्तंभों का विन्यास इस प्रकार किया जा सकता है की आपकी इच्छानुसार विवरण दिखाए जाएँ। अंतर्निहित स्तंभ में प्रतिशत पूरा, संचिका आकार, संचिका गति तथा शेष समय युक्त होते हैं। ये रहा एक और उदाहरण एक चालू डाउनलोड को दर्शाते हुए।
|
||||
स्तंभों का विन्यास इस प्रकार किया जा सकता है की आपकी इच्छानुसार विवरण दिखाए जाएँ। अंतर्निहित स्तंभ में प्रतिशत पूरा, संचिका आकार, संचिका गति तथा शेष समय युक्त होते हैं। ये रहा एक और उदाहरण एक चालू डाउनलोड को दर्शाते हुए।
|
||||

|
||||
|
||||
इसे स्वयं आजमाने के लिए, देखें [examples/downloader.py](https://github.com/willmcgugan/rich/blob/master/examples/downloader.py) जो अनेक URL एक साथ डाउनलोड करते हुए प्रगति दर्शाता है।
|
||||
|
@ -267,7 +267,7 @@ for step in track(range(100)):
|
|||
<details>
|
||||
<summary>स्थिति</summary>
|
||||
|
||||
ऐसी परिस्थितियों में जहां प्रगति की गणना करना कठिन हों, आप [status](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console.status) (स्थिति) फलन का उपयोग कर सकते हैं जो एक 'स्पिनर' अनुप्राणन और संदेश दर्शाएगा। अनुप्राणन आपको सामान्य तरीके से कॉनसोल को इस्तेमाल करने से नहीं रोकेगा। ये एक उदाहरण:
|
||||
ऐसी परिस्थितियों में जहां प्रगति की गणना करना कठिन हों, आप [status](https://rich.readthedocs.io/en/latest/reference/console.html#rich.console.Console.status) (स्थिति) फलन का उपयोग कर सकते हैं जो एक 'स्पिनर' अनुप्राणन और संदेश दर्शाएगा। अनुप्राणन आपको सामान्य तरीके से कॉनसोल को इस्तेमाल करने से नहीं रोकेगा। ये एक उदाहरण:
|
||||
```python
|
||||
from time import sleep
|
||||
from rich.console import Console
|
||||
|
@ -282,15 +282,15 @@ with console.status("[bold green]Working on tasks...") as status:
|
|||
console.log(f"{task} complete")
|
||||
```
|
||||
|
||||
इससे टर्मिनल में निम्नलिखित उत्पादन उत्पन्न होता है:
|
||||
इससे टर्मिनल में निम्नलिखित उत्पादन उत्पन्न होता है:
|
||||

|
||||
|
||||
स्पिनर अनुप्राणन [cli-spinners](https://www.npmjs.com/package/cli-spinners) से उधारे गए थे। आप `spinner` प्राचल को उल्लिखित करके स्पिनर चुन सकते हैं। उपलब्ध विकल्प देखने के लिए निम्नलिखित आदेश चलकर देखें:
|
||||
स्पिनर अनुप्राणन [cli-spinners](https://www.npmjs.com/package/cli-spinners) से उधारे गए थे। आप `spinner` प्राचल को उल्लिखित करके स्पिनर चुन सकते हैं। उपलब्ध विकल्प देखने के लिए निम्नलिखित आदेश चलकर देखें:
|
||||
```
|
||||
python -m rich.spinner
|
||||
```
|
||||
|
||||
उपर्युक्त आदेश टर्मिनल में निम्नलिखित उत्पादन उतपन्न करता है:
|
||||
उपर्युक्त आदेश टर्मिनल में निम्नलिखित उत्पादन उतपन्न करता है:
|
||||

|
||||
|
||||
</details>
|
||||
|
@ -300,7 +300,7 @@ python -m rich.spinner
|
|||
|
||||
Rich मरकदर्शक रेखाओं से [tree](https://rich.readthedocs.io/en/latest/tree.html) (वृक्ष) प्रदर्शित कर सकता है। संचिता संरचना, अथवा कोई भी और पदानुक्रमित डेटा दर्शाने के लिए वृक्ष एक आदर्श विकल्प है।
|
||||
|
||||
वृक्ष के नाम सरल पाठ्यांश या कुछ भी और जो Rich प्रदर्शित कर सके। इसके एक प्रदर्शन के लिए निम्नलिखित को चलाएं:
|
||||
वृक्ष के नाम सरल पाठ्यांश या कुछ भी और जो Rich प्रदर्शित कर सके। इसके एक प्रदर्शन के लिए निम्नलिखित को चलाएं:
|
||||
```
|
||||
python -m rich.tree
|
||||
```
|
||||
|
@ -338,7 +338,7 @@ print(Columns(directory))
|
|||
<details>
|
||||
<summary>Markdown</summary>
|
||||
|
||||
Rich [markdown](https://rich.readthedocs.io/en/latest/markdown.html) को प्रदर्शित कार सकता है और स्वरूपण का अनुवाद टर्मिनल पर करने में उचित कार्य करता है।
|
||||
Rich [markdown](https://rich.readthedocs.io/en/latest/markdown.html) को प्रदर्शित कार सकता है और स्वरूपण का अनुवाद टर्मिनल पर करने में उचित कार्य करता है।
|
||||
|
||||
|
||||
Markdown प्रदर्शित करने के लिए आप `Markdown` वर्ग को आयात कार सकते हैं और उसे markdown कोड युक्त अक्षरमाला के साथ निर्मित कर सकते हैं। फिर उसे कॉनसोल पर छापें। एक उदाहरण प्रस्तुत है:
|
||||
|
@ -403,7 +403,7 @@ OSX (Linux पर समान) पर यह कुछ इस प्रका
|
|||
|
||||
</details>
|
||||
|
||||
सभी Rich प्रतिपाद्य [कॉनसोल प्रोटोकॉल](https://rich.readthedocs.io/en/latest/protocol.html) का उपयोग करते हैं, जिसे आप स्वयं की Rich सामग्री बनाने के लिए भी इस्तेमाल कार सकते हैं।
|
||||
सभी Rich प्रतिपाद्य [कॉनसोल प्रोटोकॉल](https://rich.readthedocs.io/en/latest/protocol.html) का उपयोग करते हैं, जिसे आप स्वयं की Rich सामग्री बनाने के लिए भी इस्तेमाल कार सकते हैं।
|
||||
|
||||
# उद्यम के लिए Rich
|
||||
|
||||
|
@ -419,11 +419,11 @@ Rich एवं सहस्त्रों और संग्रहों क
|
|||
- [Ciphey/Ciphey](https://github.com/Ciphey/Ciphey)
|
||||
स्वचालित विकोडन उपकरण
|
||||
- [emeryberger/scalene](https://github.com/emeryberger/scalene)
|
||||
Python के लिए एक उच्च-प्रदर्शन, उच्च-सूक्ष्मता CPU एवं स्मृति प्रोफाइलर
|
||||
Python के लिए एक उच्च-प्रदर्शन, उच्च-सूक्ष्मता CPU एवं स्मृति प्रोफाइलर
|
||||
- [hedythedev/StarCli](https://github.com/hedythedev/starcli)
|
||||
अपनी आदेश पंक्ति (कमांड लाइन) से GitHub रुझानि परियोजिनाएं ब्राउज़ करें
|
||||
अपनी आदेश पंक्ति (कमांड लाइन) से GitHub रुझानि परियोजिनाएं ब्राउज़ करें
|
||||
- [intel/cve-bin-tool](https://github.com/intel/cve-bin-tool)
|
||||
यह उपकरण कई साधारण, भेद्य घटकों (openssl, libpng, libxml2, expat और कुछ और) के लिए जांच करता है ताकि आपको बता सके की क्या आपके तंत्र में जानी हुई कमज़ोरियों वाले संग्रह युक्त हैं।
|
||||
यह उपकरण कई साधारण, भेद्य घटकों (openssl, libpng, libxml2, expat और कुछ और) के लिए जांच करता है ताकि आपको बता सके की क्या आपके तंत्र में जानी हुई कमज़ोरियों वाले संग्रह युक्त हैं।
|
||||
- [nf-core/tools](https://github.com/nf-core/tools)
|
||||
nf-core समुदाय के लिए सहायक उपकरणों युक्त Python संग्रह
|
||||
- [cansarigol/pdbr](https://github.com/cansarigol/pdbr)
|
||||
|
@ -435,7 +435,7 @@ Rich एवं सहस्त्रों और संग्रहों क
|
|||
- [smacke/ffsubsync](https://github.com/smacke/ffsubsync)
|
||||
स्वतः उपशीर्षकों को वीडियो के साथ समकालित करें।
|
||||
- [tryolabs/norfair](https://github.com/tryolabs/norfair)
|
||||
किसी भी संसूचक में सद्य-अनुक्रिया द्विविम वस्तु ट्रैकिंग जोड़ने के लिए एक हल्का Python संग्रह।
|
||||
किसी भी संसूचक में सद्य-अनुक्रिया द्विविम वस्तु ट्रैकिंग जोड़ने के लिए एक हल्का Python संग्रह।
|
||||
- [ansible/ansible-lint](https://github.com/ansible/ansible-lint)
|
||||
Ansible-lint उन आचरणों और व्यवहारों के लिए प्लेबुकों में जाँच करता है जिन्हे संभावित रूप से सुधारा जा सकता है
|
||||
- [ansible-community/molecule](https://github.com/ansible-community/molecule) Ansible Molecule testing framework
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[](https://pypi.org/project/rich/) [](https://badge.fury.io/py/rich)
|
||||
|
||||
[](https://pepy.tech/project/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[](https://pypi.org/project/rich/) [](https://badge.fury.io/py/rich)
|
||||
|
||||
[](https://pepy.tech/project/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[](https://pepy.tech/project/rich)
|
||||
[](https://badge.fury.io/py/rich)
|
||||
[](https://codecov.io/gh/willmcgugan/rich)
|
||||
[](https://codecov.io/gh/Textualize/rich)
|
||||
[](https://www.willmcgugan.com/tag/rich/)
|
||||
[](https://twitter.com/willmcgugan)
|
||||
|
||||
|
|
Loading…
Reference in New Issue