Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/MrS0m30n3/google-translate
/ types & classes
Types & classes
28 in github.com/MrS0m30n3/google-translate
⨍
Functions
572
◇
Types & classes
28
↳
Endpoints
56
↓ 40 callers
Class
GoogleTranslator
Uses the Google translate API to provide different functionalities. GoogleTranslator currently provides four different functionalities.
google_translate/translator.py:48
↓ 27 callers
Class
Cache
Store objects for a period of time. Cache like object that uses a dictionary to store multiple objects for a period of time. This cache can a
google_translate/cache.py:17
↓ 17 callers
Class
ProxySelector
Select proxy base on some criterias. ProxySelector supports two proxy modes. Single proxy given by the user or multiple proxies from a file.
google_translate/selectors.py:34
↓ 15 callers
Class
UserAgentSelector
Select user-agent base on some criterias. UserAgentSelector supports three basic modes. Single user-agent given by the user, multiple user-ag
google_translate/selectors.py:203
Class
TestCache
docstring for TestCache
tests/test_cache.py:118
Class
TestCacheExtra
docstring for TestCacheExtra
tests/test_cache.py:74
Class
TestCacheInit
tests/test_cache.py:23
Class
TestCachePrivateMethods
tests/test_cache.py:40
Class
TestCacheSuite
tests/test_cache.py:66
Class
TestDetect
docstring for TestDetect
tests/test_google_translate.py:973
Class
TestExists
docstring for TestExists
tests/test_google_translate.py:1040
Class
TestExtra
docstring for TestExtra
tests/test_google_translate.py:1075
Class
TestExtra
tests/test_useragent_selector.py:167
Class
TestFunctions
tests/test_utils.py:78
Class
TestGetHeaders
tests/test_google_translate.py:76
Class
TestGetInfo
tests/test_google_translate.py:131
Class
TestGetInfoDict
tests/test_google_translate.py:27
Class
TestGetProxy
tests/test_proxy_selector.py:42
Class
TestGoogleTranslatorInitiation
docstring for TestGoogleTranslatorInitiation
tests/test_google_translate.py:1100
Class
TestPrivateMethods
docstring for TestPrivateMethods
tests/test_google_translate.py:178
Class
TestPrivateMethods
tests/test_useragent_selector.py:26
Class
TestProxySelectorInit
docstring for TestObjectState
tests/test_proxy_selector.py:224
Class
TestRemove
tests/test_proxy_selector.py:93
Class
TestRomanize
docstring for Romanize
tests/test_google_translate.py:1003
Class
TestSplitText
tests/test_utils.py:26
Class
TestStaticMethods
docstring for TestStaticMethods
tests/test_proxy_selector.py:24
Class
TestTranslate
docstring for TestTranslate
tests/test_google_translate.py:920
Class
TestUserAgentSelector
tests/test_useragent_selector.py:62