Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrS0m30n3/google-translate
/ functions
Functions
572 in github.com/MrS0m30n3/google-translate
⨍
Functions
572
◇
Types & classes
28
↳
Endpoints
56
Function
later
()
docs/docs/_static/underscore-1.3.1.js:533
Method
max_size
(self)
google_translate/cache.py:80
Function
next
()
docs/docs/_static/jquery-1.11.1.js:3984
Function
o
(a,c)
docs/docs/_static/js/modernizr.min.js:4
Function
ra
()
docs/docs/_static/jquery.js:2
Function
raf
()
docs/docs/_static/jquery-3.1.0.js:6639
Method
replace_func
Replace the multiple commas in the json reply.
google_translate/translator.py:749
Method
reset_mocks
()
tests/test_google_translate.py:666
Function
restoreScript
( elem )
docs/docs/_static/jquery-3.1.0.js:5533
Function
returnFalse
()
docs/docs/_static/jquery-1.11.1.js:4259
Function
returnFalse
()
docs/docs/_static/jquery-3.1.0.js:4797
Function
returnTrue
()
docs/docs/_static/jquery-1.11.1.js:4255
Function
returnTrue
()
docs/docs/_static/jquery-3.1.0.js:4793
Function
setFilters
()
docs/docs/_static/jquery-1.11.1.js:2021
Function
setFilters
()
docs/docs/_static/jquery-3.1.0.js:2118
Method
setUp
(self)
tests/test_google_translate.py:29
Method
setUp
(self)
tests/test_google_translate.py:182
Method
setUp
(self)
tests/test_google_translate.py:924
Method
setUp
(self)
tests/test_google_translate.py:977
Method
setUp
(self)
tests/test_google_translate.py:1007
Method
setUp
(self)
tests/test_google_translate.py:1044
Method
setUp
(self)
tests/test_google_translate.py:1079
Method
setUp
(self)
tests/test_google_translate.py:1104
Method
setUp
(self)
tests/test_useragent_selector.py:28
Method
setUp
(self)
tests/test_proxy_selector.py:44
Method
setUp
(self)
tests/test_proxy_selector.py:95
Method
setUp
(self)
tests/test_proxy_selector.py:228
Function
sortOrder
( a, b )
docs/docs/_static/jquery-1.11.1.js:628
Function
sortOrder
( a, b )
docs/docs/_static/jquery-3.1.0.js:587
Function
split_text
Generator to split text into chunks. Tries to split the given text into sentences (using the given punctuations) where each sentence length d
google_translate/utils.py:258
Function
superMatcher
( seed, context, xml, results, outermost )
docs/docs/_static/jquery-1.11.1.js:2350
Function
superMatcher
( seed, context, xml, results, outermost )
docs/docs/_static/jquery-3.1.0.js:2459
Method
tearDown
(self)
tests/test_google_translate.py:185
Method
tearDown
(self)
tests/test_google_translate.py:927
Method
tearDown
(self)
tests/test_google_translate.py:980
Method
tearDown
(self)
tests/test_google_translate.py:1010
Method
tearDown
(self)
tests/test_google_translate.py:1047
Method
tearDown
(self)
tests/test_google_translate.py:1082
Method
tearDown
(self)
tests/test_google_translate.py:1107
Method
test_add_cache_empty
(self, mock_time)
tests/test_cache.py:162
Method
test_add_cache_full
(self, mock_time, mock_get_oldest)
tests/test_cache.py:172
Method
test_add_header
(self)
tests/test_google_translate.py:1085
Method
test_add_header_invalid_input
(self)
tests/test_google_translate.py:1092
Method
test_add_item_already_in_cache
(self, mock_time)
tests/test_cache.py:186
Method
test_append_to_ua_list
(self)
tests/test_useragent_selector.py:51
Method
test_build_request
(self, mock_quote, mock_gettk)
tests/test_google_translate.py:566
Method
test_convert_output
(self, mock_json_dumps)
tests/test_google_translate.py:857
Method
test_decode_string
(self, mock_encoding)
tests/test_utils.py:103
Method
test_default_ua
(self)
tests/test_useragent_selector.py:64
Method
test_detect
(self, mock_twodict, mock_get_info)
tests/test_google_translate.py:728
Method
test_detect
(self, mock_do_work)
tests/test_google_translate.py:984
Method
test_detect_full
(self)
tests/test_google_translate.py:996
Method
test_display_unicode_item
(self)
tests/test_utils.py:245
Method
test_do_work
(self, mock_convert_output, mock_validate_word, mock_wait)
tests/test_google_translate.py:896
Method
test_edit_max_size
(self)
tests/test_cache.py:78
Method
test_edit_valid_period
(self)
tests/test_cache.py:89
Method
test_exists
(self, mock_do_work, mock_val_lang)
tests/test_google_translate.py:1052
Method
test_exists_full
(self)
tests/test_google_translate.py:1067
Method
test_extract_data
(self)
tests/test_google_translate.py:257
Method
test_get_absolute_path
(self, mock_os_path)
tests/test_utils.py:240
Method
test_get_default_case
(self)
tests/test_proxy_selector.py:49
Method
test_get_dict_failure_file_not_exists
(self, mock_exists)
tests/test_utils.py:355
Method
test_get_dict_failure_invalid_format
(self, mock_exists, mock_jload, mock_open)
tests/test_utils.py:335
Method
test_get_dict_failure_permission_denied
(self, mock_exists, mock_open)
tests/test_utils.py:346
Method
test_get_dict_invalid_filename
(self)
tests/test_utils.py:361
Method
test_get_dict_success
(self, mock_exists, mock_jload, mock_open)
tests/test_utils.py:323
Method
test_get_from_http
(self, mock_parse_reply, mock_make_request)
tests/test_useragent_selector.py:35
Method
test_get_headers_default
(self)
tests/test_google_translate.py:82
Method
test_get_headers_default_with_uaselector
(self)
tests/test_google_translate.py:98
Method
test_get_headers_with_user_specific_headers
(self)
tests/test_google_translate.py:87
Method
test_get_headers_with_user_specific_headers_and_uaselector
(self)
tests/test_google_translate.py:119
Method
test_get_info_cache_hit
(self, mock_cache_get, mock_deepcopy)
tests/test_google_translate.py:135
Method
test_get_info_dict_default_params
(self, mock_do_work, mock_val_lang)
tests/test_google_translate.py:34
Method
test_get_info_dict_full
(self)
tests/test_google_translate.py:49
Method
test_get_info_dict_non_default_params
(self, mock_do_work, mock_val_lang)
tests/test_google_translate.py:42
Method
test_get_info_invalid_request
(self, mock_cache_get, mock_build_request, mock_try_make_request)
tests/test_google_translate.py:145
Method
test_get_info_valid_request
(self, mock_cache, mock_parse_reply, mock_deepcopy, mock_build_request, mock_try_make_request, mock_string_to_
tests/test_google_translate.py:163
Method
test_get_item_in_cache_invalid_timestamp
(self, mock_valid_timestamp)
tests/test_cache.py:206
Method
test_get_item_in_cache_valid_timestamp
(self, mock_valid_timestamp)
tests/test_cache.py:196
Method
test_get_item_not_in_cache
(self)
tests/test_cache.py:215
Method
test_get_items
(self)
tests/test_cache.py:108
Method
test_get_oldest
(self)
tests/test_cache.py:148
Method
test_get_oldest_empty_cache
(self)
tests/test_cache.py:157
Method
test_get_proxy
(self)
tests/test_google_translate.py:188
Method
test_get_with_multiple_proxies_norm
(self)
tests/test_proxy_selector.py:58
Method
test_get_with_multiple_proxies_overwrite
(self)
tests/test_proxy_selector.py:84
Method
test_get_with_multiple_proxies_rand
(self, mock_rand_choice)
tests/test_proxy_selector.py:68
Method
test_get_with_single_proxy
(self)
tests/test_proxy_selector.py:53
Method
test_has_key_false
(self)
tests/test_cache.py:144
Method
test_has_key_true
(self)
tests/test_cache.py:139
Method
test_has_space_false
(self)
tests/test_cache.py:133
Method
test_has_space_true
(self)
tests/test_cache.py:129
Method
test_init
(self, mock_load_from_file, mock_twodict, mock_cache)
tests/test_google_translate.py:1116
Method
test_init_invalid_size_type
(self)
tests/test_cache.py:25
Method
test_init_invalid_size_value
(self)
tests/test_cache.py:29
Method
test_init_invalid_timeperiod_type
(self)
tests/test_cache.py:32
Method
test_init_invalid_timeperiod_value
(self)
tests/test_cache.py:36
Method
test_is_valid_proxy_false
(self)
tests/test_proxy_selector.py:33
Method
test_is_valid_proxy_true
(self)
tests/test_proxy_selector.py:28
Method
test_load_failure
(self, mock_get_dict)
tests/test_cache.py:277
← previous
next →
401–500 of 572, ranked by callers