![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
BucketKit is a BitBucket REST API client that is heavily inspired by Octokit.
Add this line to your application's Gemfile:
gem 'bucketkit'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bucketkit
You can use either basic authentication:
c = Bucketkit::Client.new(login: 'foo', password: 'bar')
Or two legged OAuth:
c = Bucketkit::Client.new do |c|
c.login = 'foo'
c.oauth_tokens = {
{
consumer_key: 'BUCKETKIT_CONSUMER_KEY',
consumer_secret: 'BUCKETKIT_CONSUMER_SECRET',
token: 'BUCKETKIT_TOKEN',
token_secret: 'BUCKETKIT_TOKEN_SECRET'
}
end
Get a list of pull requests:
c.pull_requests('xystushi/bucketkit')
Get single pull request by id:
c.pull_request('xystushi/bucketkit', 1)
Get commits on a pull request:
c.pull_request_commits('xystushi/bucketkit', 1)
Get comments on a pull request:
c.pull_request_comments('xystushi/bucketkit', 1)
Get the pull request activity:
c.pull_request_activity('xystushi/bucketkit', 1)
Get the diff of a pull request:
c.pull_request_diff('xystushi/bucketkit', 1)
Approve a pull request:
c.approve_pull_request('xystushi/bucketkit', 1)
Delete a pull request approval:
c.delete_pull_request_approval('xystushi/bucketkit', 1)
Merge a pull request:
c.merge_pull_request('xystushi/bucketkit', 1)
# or
c.accept_pull_request('xystushi/bucketkit', 1)
Decline a pull request:
c.decline_pull_request('xystushi/bucketkit', 1)
# or
c.reject_pull_request('xystushi/bucketkit', 1)
Create a pull request:
c.create_pull_request('xystushi/bucketkit', 'title', 'some/fork', 'master',
'this is a new pull request')
Get a list of commits of a repository:
c.commits('xystushi/bucketkit')
Get a single commit of a repository:
c.commit('xystushi/bucketkit', 'abcdef123456')
Get comments on a commit:
c.commit_comments('xystushi/bucketkit', 'abcdef123456')
Get a single comment on a commit by id:
c.commit_comment('xystushi/bucketkit', 'abcdef123456', 1)
Approve a commit:
c.approve_commit('xystushi/bucketkit', 'abcdef123456')
Delete a commit's approval:
c.delete_commit_approval('xystushi/bucketkit', 'abcdef123456')
For more, please refer to Bitbucket's API documentation
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that bucketkit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.