nidhal baccouri commited on
Commit
97c5727
·
1 Parent(s): 53e803f

updated readme

Browse files
Files changed (1) hide show
  1. README.rst +17 -1
README.rst CHANGED
@@ -81,6 +81,8 @@ Why you should use it
81
  - Easy to use and extend
82
  - Support for most famous universal translators
83
  - Stable and maintained regularly
 
 
84
 
85
  ========
86
  Features
@@ -94,6 +96,7 @@ Features
94
  * Support for the `Yandex translator <https://yandex.com/>`_ (version >= 1.2.1)
95
  * Support for the `QCRI translator <https://mt.qcri.org/api/>`_ (version >= 1.2.4)
96
  * Support for the `DeepL translator <https://www.deepl.com/en/translator/>`_ (version >= 1.2.5)
 
97
  * Automatic single language detection
98
  * Batch language detection
99
  * Translate directly from a text file
@@ -122,7 +125,20 @@ Quick Start
122
  from deep_translator import GoogleTranslator
123
  translated = GoogleTranslator(source='auto', target='de').translate("keep it up, you are awesome") # output -> Weiter so, du bist großartig
124
 
125
- or from terminal
 
 
 
 
 
 
 
 
 
 
 
 
 
126
 
127
  .. code-block:: console
128
 
 
81
  - Easy to use and extend
82
  - Support for most famous universal translators
83
  - Stable and maintained regularly
84
+ - The API is very easy to use
85
+ - Proxy integration is supported
86
 
87
  ========
88
  Features
 
96
  * Support for the `Yandex translator <https://yandex.com/>`_ (version >= 1.2.1)
97
  * Support for the `QCRI translator <https://mt.qcri.org/api/>`_ (version >= 1.2.4)
98
  * Support for the `DeepL translator <https://www.deepl.com/en/translator/>`_ (version >= 1.2.5)
99
+ * Support for proxy usage
100
  * Automatic single language detection
101
  * Batch language detection
102
  * Translate directly from a text file
 
125
  from deep_translator import GoogleTranslator
126
  translated = GoogleTranslator(source='auto', target='de').translate("keep it up, you are awesome") # output -> Weiter so, du bist großartig
127
 
128
+ or using proxies:
129
+
130
+ .. code-block:: python
131
+
132
+ from deep_translator import GoogleTranslator
133
+
134
+ proxies_example = {
135
+ "https": "34.195.196.27:8080",
136
+ "http": "34.195.196.27:8080"
137
+ }
138
+ translated = GoogleTranslator(source='auto', target='de', proxies=proxies_example).translate("keep it up, you are awesome") # output -> Weiter so, du bist großartig
139
+
140
+
141
+ or even directly from terminal:
142
 
143
  .. code-block:: console
144