Search Criteria
Package Details: python-googletrans 4.0.0rc1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-googletrans.git (read-only, click to copy) |
---|---|
Package Base: | python-googletrans |
Description: | Free Google Translate API for Python. |
Upstream URL: | https://github.com/ssut/py-googletrans |
Licenses: | MIT |
Submitter: | timschumi |
Maintainer: | timschumi |
Last Packager: | timschumi |
Votes: | 8 |
Popularity: | 0.047045 |
First Submitted: | 2019-10-03 12:02 (UTC) |
Last Updated: | 2021-11-22 12:06 (UTC) |
Dependencies (2)
- python-httpx (python-httpx-gitAUR)
- python-setuptools (make)
Required by (3)
- albert (optional)
- autosub-git
- mnemosyne (optional)
Latest Comments
1 2 3 Next › Last »
Tomsod commented on 2023-11-08 04:15 (UTC)
Don't feel brave enough to publish it, but here's an edited PKGBUILD for the fork that seems to work for me: https://pastebin.com/5qFDGghL
timschumi commented on 2023-01-08 12:17 (UTC)
@simonzack Considering that the fork is published under a different name on PyPI, it should be published as
python-googletrans-py
on the AUR as well.simonzack commented on 2023-01-08 09:18 (UTC) (edited on 2023-01-08 09:19 (UTC) by simonzack)
I tried to use
downgrade
to installpython-httpx=0.13.3-5
. The PGP signature was invalid.There's a fork at ShivangKakkar/googletrans: Fork of py-googletrans to use newer versions of httpx, which updates httpx. Although the fork said it won't be maintained.
Despite py-googletrans being a dead project, I think it's still a good idea to use the fork. At least that will be installable. I haven't tested if it works.
timschumi commented on 2021-09-27 22:00 (UTC)
@D3SOX: This is intentional. googletrans doesn't accept anything else than that specific version of httpx, and it's a hard requirement.
D3SOX commented on 2021-09-27 21:23 (UTC)
yochananmarqos commented on 2021-09-14 23:46 (UTC)
@rafaelff:
I don't know, does it? What's your use case? As I already said,
timschumi commented on 2021-09-14 20:15 (UTC)
You could install an old version of
python-httpx
via thedowngrade
tool, the package is still available on the archive servers.Other than that, using sed would probably work, at least if other users are to be believed.
rafaelff commented on 2021-09-14 20:03 (UTC)
Since this package relies on a unavailable dependency, is there any recommended workaround (except using
pip
, obviously) ? Does running sed on the requirement file work?timschumi commented on 2021-09-08 14:40 (UTC) (edited on 2021-09-08 14:40 (UTC) by timschumi)
@yochananmarqos: I'm aware that I could just work around the requirement itself. However, upstream had patches ready to update the httpx version but did not merge them, so I believe that requirement is there for a reason.
If you want to get it fixed, file an issue or open a pull request on GitHub.
EDIT: Wrong mention :P
yochananmarqos commented on 2021-09-08 14:08 (UTC)
@timschumi: You can get around it by relaxing the requirements. I'm having no issues with translations with Dialect.
Add this to a prepare() function:
1 2 3 Next › Last »