Did I find the right examples for you? yes no

All Samples(12)  |  Call(0)  |  Derive(0)  |  Import(12)
Bitbucket has a REST API publicly available, this package provide methods to interact with it.
It allows you to access repositories and perform various actions on them.

Various usages : ::

    from bitbucket.bitbucket import Bitbucket

    # Access a public repository
    bb = Bitbucket(USERNAME, repo_name_or_slug="public_repository")
(more...)

src/b/i/BitBucket-0.4a/bb_example.py   BitBucket(Download)
#!/usr/bin/env python
import bitbucket
import os
import getopt
 

src/b/i/bitbucket2github-0.1/bitbucket2github/github2bitbucket.py   bitbucket2github(Download)
import vault
from scriptine.shell import sh
import bitbucket, github
 
github_username = vault.get('github.com', 'username')

src/b/i/bitbucket2github-0.1/bitbucket2github/bitbucket2github.py   bitbucket2github(Download)
import vault
from scriptine.shell import sh
import bitbucket, github
 
bitbucket_username = vault.get('bitbucket.org', 'username')

src/b/i/BitBucket-0.4a/bb_shell.py   BitBucket(Download)
#!/usr/bin/env python
import bitbucket
import cmd
import sys
import getopt

src/b/i/bitbucket2github-HEAD/bitbucket2github/github2bitbucket.py   bitbucket2github(Download)
import vault
from scriptine.shell import sh
import bitbucket, github
 
github_username = vault.get('github.com', 'username')

src/b/i/bitbucket2github-HEAD/bitbucket2github/bitbucket2github.py   bitbucket2github(Download)
import vault
from scriptine.shell import sh
import bitbucket, github
 
bitbucket_username = vault.get('bitbucket.org', 'username')

src/b/i/bitbucket-api-0.5.0/setup.py   bitbucket-api(Download)
# -*- coding: utf-8 -*-
from distutils.core import setup
 
import bitbucket
 

src/b/i/bitbucket-github-export-HEAD/bitbucket_github_export.py   bitbucket-github-export(Download)
import tempfile
 
import bitbucket
import pygithub3
 

src/b/i/BitBucket-api-HEAD/setup.py   BitBucket-api(Download)
# -*- coding: utf-8 -*-
from distutils.core import setup
 
import bitbucket
 

src/b/i/bitbucket-backup-HEAD/backup.py   bitbucket-backup(Download)
#!/usr/bin/env python
 
import bitbucket
import os
import argparse

  1 | 2  Next