Skip to main content

Bitbucket Api Library

Project description


Build Status Coverage Status Pypi Status Pypi Download Pypi Wheel

fifbucket is a python library for call Bitbucket api:

Bitbucket Api Documentation:


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 -*-


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

QUERY = 'project.key="{}"'.format(PROJECT)

get_pr example(repo_slug, query) example: list pull request info from a repo

REPOSITORY = 'repository_slug'

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)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fifbucket, version 0.10.2
Filename, size File type Python version Upload date Hashes
Filename, size fifbucket-0.10.2-py2.py3-none-any.whl (4.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fifbucket-0.10.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page