fifbucket
fifbucket is a python library for call Bitbucket api:
Bitbucket Api Documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/
Configuration
Obligatory arguments
| Argument | Description |
|---|---|
| owner | Bitbucket repository owner |
| username | Bitbucket username |
| password | Bitbucket user password or app password |
Basic usage
How install
pip install fifbucket
How load the class:
# -*- coding: utf-8 -*-
OWNER="owner"
BITBUCKET_USER="username"
BUTBUCKET_PASSWORD="password"
from fifbucket.client import Bitbucket
bitbucket = Bitbucket(owner=OWNER, username=BITBUCKET_USER, password=BUTBUCKET_PASSWORD)
get_repos(query) example: list all repository from a project
PROJECT = 'PROJ'
QUERY = 'project.key="{}"'.format(PROJECT)
bitbucket.get_repos(query=QUERY)
get_pr example(repo_slug, query) example: list pull request info from a repo
REPOSITORY = 'repository_slug'
bitbucket.get_pr_info(REPOSITORY)
get_permissions_repo(repo_slug, query) example: list info of all admins in a repository
REPOSITORY = 'repository_slug'
QUERY = 'permission="admin"'
bitbucket.get_permissions_repo(REPOSITORY, query=QUERY)
Metadata
Release files for fifbucket 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fifbucket-0.10.2.tar.gz | 3.3 kB | Without provenance | Details for fifbucket-0.10.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fifbucket-0.10.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for fifbucket-0.10.2-py2.py3-none-any.whl |
Total release size: 8.2 kB
Release files / fifbucket-0.10.2.tar.gz
| Download URL | fifbucket-0.10.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c493e82626a93c83efd431022571cf8a1a56895e7368c233162ec4f603892bf0
|
|
BLAKE2b-256 checksum How to use checksums |
ded56dc220f4d806be58c75b53d0553099c1fe0cfcc68a46820d969c13297bbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / fifbucket-0.10.2-py2.py3-none-any.whl
| Download URL | fifbucket-0.10.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a4289db17af48da52150cf8835c98ebff53c433c69a4c4742f87298794d2559f
|
|
BLAKE2b-256 checksum How to use checksums |
a913052f4accf84111458b50c7d118a8fdf63c8757bfca0929c5dab405d50bd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for fifbucket 0.10.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.