Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A tool for bulk updating access to repos.

Project Description

bitbucket-batch is a command-line tool for making bulk access updates to Bitbucket repositories. It is useful in a corporate team situation where a single company account exists for managing private repositories with each team member having their own account with write access to these repositories. When a new member joins or leaves the team, the process of manually adding or removing write access to all of the company’s repositories can be tedious. bitbucket-batch allows you to make access updates to all of the company’s repositories in a single command.


Assuming you have setuptools installed, the easiest method is to install directly from pypi by running the following command:

$ easy_install -U bitbucket-batch

Otherwise you can download bitbucket-batch and install it directly from source:

$ python install


Once installed, the command bitbucket-batch should be available which can be run in the following format:

$ bitbucket-batch repo_owner operation role user

Each of the required arguments are:

  • repo_owner: The Bitbucket username for the owner of the repositories the bulk update will be made to.
  • operation: The operation to apply which is either add or remove.
  • role: The role to use for the operation which is either reader, writer or admin.
  • user: The Bitbucket username that the operation will be made for.

For example, to add the user stephenmcd as a writer to all repositories owned by the user citrus, the command would be:

$ bitbucket-batch citrus add writer stephenmcd
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
bitbucket-batch-0.1.2.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Aug 12, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting