Commit Graph

13 Commits

Author SHA1 Message Date
Suhun Han ee02d4b6fd
feat(http2): add http2 support (#213)
* feat(client): add http2 option

* chore(deps): update httpx

* refactor(gtoken): gtoken should always accept client argument in order to follow client's options

* chore(ci): change dist to ubuntu 18.04 bionic

* chore:test available service_urls and multi-lang result in different service_urls (#216)

* feat(models): add Base model

* test: reuse test client

* feat(client): return Translated and Detected with the original response

* test(client): ConnectError has been replaced with httpx.ConnectTimeout

* fix: possible merge conflict

* chore(docs): add a description for checking http2

* chore(deps): add sphinx to dev deps

* test(client): httpx will raise ConnectError in some conditions

omg i missed

Co-authored-by: Terry Zhuo <terryzhuo25@gmail.com>
2020-09-05 13:00:21 +10:00
Terry Zhuo 919db3c7b2
doc: update the document (#199) 2020-07-11 19:35:24 +10:00
Terry Zhuo 69e26336c6
doc: upload contributing document and update (#197) 2020-07-11 19:23:18 +10:00
Terry Zhuo 15b613d305
Typo Fixed (#192)
Readme Typo FIxed
2020-07-04 02:22:25 +10:00
Ojas Sinha f7b8811b14
readme: fix typo (#191) 2020-07-04 01:57:32 +10:00
SuHun Han e10c5e8fa7
chore: v3.0.0 (#181)
Co-authored-by: Kirill Bobrov <miaplanedo@gmail.com>
Co-authored-by: Zhuopsticks <36221214+terryyz@users.noreply.github.com>
2020-06-14 15:42:32 +09:00
Bastien Vallet 778b00758e
chore: Remove python 2.7 support and various cleanup (#179)
Co-authored-by: Bastien Vallet <b.vallet@criteo.com>
2020-06-08 19:09:24 +09:00
Sebastian Stabinger 8ebf364a44 fix: link to API documentation (#68) 2018-06-12 00:17:38 +09:00
ssut 15549dcdf8 Refactor googletrans to work properly (#40)
* Fix for invalid token array of the text

* Remove unused compacted-json decoder

because Google apparently now does not send like that before. This
commit refers the issue #37.

* Remove a test case for multiline text

This is a temporary fix: will be reverted after mocking tests.

* Add pipenv supports

* Update README
2017-10-02 23:26:34 +09:00
SuHun Han d1c64a11d6 Update documentation with a new sphinx theme 'solar' 2017-03-15 22:10:37 +09:00
SuHun Han 0f943b6a64 Add support for customizable service url 2017-03-11 22:37:03 +09:00
SuHun Han 92ea3cd2c1 Update README 2017-03-11 16:20:27 +09:00
SuHun Han 791e32a23b Minor updates for package
- Change the package name to googletrans
- reStructedText README for PyPI
- Travis CI
2017-03-10 23:43:06 +09:00