如何从Python访问Bitbucket?

huangapple go评论47阅读模式
英文:

How to access bitbucket from python?

问题

  1. 我搜索并找到了2个结果,但都不起作用...

  2. https://pypi.org/project/bitbucket-python/,我在登录时失败了...我尝试了APP密码和bitbucket账户密码,都以bitbucket.exceptions.NotAuthenticatedError: 由于不正确的登录凭据或方法而登录失败。

  3. https://atlassian-python-api.readthedocs.io/bitbucket.html,但我不知道在哪里找到它提到的API...

有什么建议吗?

英文:

I googled and found 2 results, but none works...

  1. https://pypi.org/project/bitbucket-python/, i failed in login.. I tried APP password and bitbucket account password, all failed with bitbucket.exceptions.NotAuthenticatedError: Login failed due to incorrect login credentials or method.

  2. https://atlassian-python-api.readthedocs.io/bitbucket.html, but I have no idea where to found the API it mentioned...

Any suggestion?

答案1

得分: 1

#2中,如果你导航到主页面,你会注意到;

pip install atlassian-python-api

页面顶部还有徽章,将带你到pypi上的该软件包

我很惊讶地看到非官方软件包有最近的更新,因为官方软件包已经发布。

英文:

In #2, if you navigate to the main page you'll notice;

pip install atlassian-python-api

There are also badges at the top of that page that will take you to that package on pypi.

I'm surprised to see the unofficial package has recent updates, since the official packages were released.

huangapple
  • 本文由 发表于 2023年5月15日 10:51:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76250603.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定