pybitbucketapi facilitates the usage of bitbucket apis inside a python module or in command line
Project description
pybitbucketapi
pybitbucketapi contains some functions to facilitate the usage of bitbucket apis inside python modules or in command line.
The source for this project is available here.
Example of importing bitbucketapi inside a python module :
import os
from pygitlabapi import gitlabApi
iurl = "https://gitlab.com/api/v4"
ijson = "project.json"
imethod="POST"
iapi = "/projects"
iuser= os.environ.get("GITLAB_USER")
itoken = os.environ.get("GITLAB_TOKEN")
message= gitlabApi.rungitlabApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)
Release notes
1.0.0 Initial version
1.0.1 Managing http error codes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybitbucketapi-1.0.1.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for pybitbucketapi-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 090b5977c8b73965b0bbe2eabdaa0cf8be9d03f0ac84b8900175534e2a75fbaf |
|
MD5 | 2c0c9f4cef48143f64a05999c45587b4 |
|
BLAKE2b-256 | b913ead1727c5778fd9a1bde8396616eb2d9b278e277f5485393ccd56336960f |