{ "info": { "author": "Mario Faundez", "author_email": "mariofaundez@hotmail.com", "bugtrack_url": null, "classifiers": [], "description": "# fifbucket \n[![Build Status](https://travis-ci.com/fiftech/fifbucket.svg?branch=master)](https://travis-ci.com/fiftech/fifbucket) [![Coverage Status](https://coveralls.io/repos/github/fiftech/fifbucket/badge.svg)](https://coveralls.io/github/fiftech/fifbucket) [![Pypi Status](https://pypip.in/v/fifbucket/badge.png)](https://pypi.python.org/pypi/fifbucket/) [![Pypi Download](https://pypip.in/d/fifbucket/badge.png)](https://pypi.python.org/pypi/fifbucket/) [![Pypi Wheel](https://pypip.in/wheel/fifbucket/badge.png)](https://pypi.python.org/pypi/fifbucket/)\n\n\n**fifbucket** is a python library for call Bitbucket api: \n> Bitbucket Api Documentation: https://developer.atlassian.com/bitbucket/api/2/reference/resource/\n\n## Configuration\n\nObligatory arguments\n\n| Argument |Description |\n|----------------|-----------------------------------------|\n|owner |`Bitbucket repository owner` |\n|username |`Bitbucket username` |\n|password |`Bitbucket user password or app password`|\n\n\n## Basic usage\n**How install**\n```bash\npip install fifbucket\n```\n\n**How load the class:**\n```python\n# -*- coding: utf-8 -*-\n\nOWNER=\"owner\"\nBITBUCKET_USER=\"username\"\nBUTBUCKET_PASSWORD=\"password\"\n\nfrom fifbucket.client import Bitbucket\nbitbucket = Bitbucket(owner=OWNER, username=BITBUCKET_USER, password=BUTBUCKET_PASSWORD)\n```\n**get_repos(query) example:** list all repository from a project\n* API info: [`https://api.bitbucket.org/2.0/repositories/{username}`](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D)\n```python\nPROJECT = 'PROJ'\nQUERY = 'project.key=\"{}\"'.format(PROJECT)\nbitbucket.get_repos(query=QUERY)\n```\n**get_pr example(repo_slug, query) example:** list pull request info from a repo\n* API info: [`https://api.bitbucket.org/2.0/repositories/{username}/{repository}/pullrequests`](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pullrequests)\n\n```python\nREPOSITORY = 'repository_slug'\nbitbucket.get_pr_info(REPOSITORY)\n```\n\n**get_permissions_repo(repo_slug, query) example:** list info of all admins in a repository\n* API info: [`https://api.bitbucket.org/2.0/teams/{username}/permissions/repositories`](https://developer.atlassian.com/bitbucket/api/2/reference/resource/teams/%7Busername%7D/repositories)\n\n```python\nREPOSITORY = 'repository_slug'\nQUERY = 'permission=\"admin\"'\nbitbucket.get_permissions_repo(REPOSITORY, query=QUERY)\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/fiftech/fifbucket/archive/0.10.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fiftech/fifbucket", "keywords": "bitbucket", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fifbucket", "package_url": "https://pypi.org/project/fifbucket/", "platform": "", "project_url": "https://pypi.org/project/fifbucket/", "project_urls": { "Download": "https://github.com/fiftech/fifbucket/archive/0.10.2.tar.gz", "Homepage": "https://github.com/fiftech/fifbucket" }, "release_url": "https://pypi.org/project/fifbucket/0.10.2/", "requires_dist": [ "requests (==2.21.0)" ], "requires_python": "", "summary": "Bitbucket Api Library", "version": "0.10.2" }, "last_serial": 5194694, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "2d618787f675de15681a07675c68ae2d", "sha256": "312ae2c0c36bd75e9c3e4d54202fec180375a05b24ff44da8d9dc841544ac9bb" }, "downloads": -1, "filename": "fifbucket-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2d618787f675de15681a07675c68ae2d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1932, "upload_time": "2018-03-14T01:52:45", "url": "https://files.pythonhosted.org/packages/fa/ff/80b3f485cba976350b6a6943da8771949e3fe91f06761224afe73be89362/fifbucket-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9ee34f2ec39a5f479bde8cfa9b640544", "sha256": "93bf51abf891ff143784bc296bbea290ceabfe48926f65a4a2b099864add0aaf" }, "downloads": -1, "filename": "fifbucket-0.1.tar.gz", "has_sig": false, "md5_digest": "9ee34f2ec39a5f479bde8cfa9b640544", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 896, "upload_time": "2018-03-14T01:52:47", "url": "https://files.pythonhosted.org/packages/e3/a9/18b6e62caf91c3149a802b490c4d4a4305bf0c9b1790ada14a5a5d3d7f0b/fifbucket-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "32c7d09b644b498f47e5b06950bf8885", "sha256": "250a19d98ffb7600b494f12dbb8a47a98897526fbbe20a811abe1b1ed37f6577" }, "downloads": -1, "filename": "fifbucket-0.10-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "32c7d09b644b498f47e5b06950bf8885", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4827, "upload_time": "2019-04-26T19:34:31", "url": "https://files.pythonhosted.org/packages/46/73/27f422a5d63726d21918c4519eead0ab7fac71e5416c42a5e104b654bf2c/fifbucket-0.10-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a48aac28294bdd9593ad062630fab6de", "sha256": "bd685874900083e68f4335f9a2ed513f53861970e94f06f79da6b5a73db24182" }, "downloads": -1, "filename": "fifbucket-0.10.tar.gz", "has_sig": false, "md5_digest": "a48aac28294bdd9593ad062630fab6de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3299, "upload_time": "2019-04-26T19:34:51", "url": "https://files.pythonhosted.org/packages/13/d8/aa11b245c8cdeebd690d1378b16f00a3c0d231108038a68ec5e6057a4f14/fifbucket-0.10.tar.gz" } ], "0.10.1": [ { "comment_text": "", "digests": { "md5": "3195dc8ed8c7a52d51e71df6f6852a78", "sha256": "04eb64f5f3ef5e7f3f2e7da4556027d1c53d0613fe46a5c9f411bc4b906392fd" }, "downloads": -1, "filename": "fifbucket-0.10.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3195dc8ed8c7a52d51e71df6f6852a78", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4848, "upload_time": "2019-04-26T19:58:47", "url": "https://files.pythonhosted.org/packages/e5/41/82a7751126e7bacccae9fe3562ee78b821a77c3c549f88aa9d2626a7645f/fifbucket-0.10.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1af374fdf91c78eb75520abf90ed686b", "sha256": "5e47c42bd122f71e0dc74b560aa3ea8db3a11449a8ce89b654532f51173da961" }, "downloads": -1, "filename": "fifbucket-0.10.1.tar.gz", "has_sig": false, "md5_digest": "1af374fdf91c78eb75520abf90ed686b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3302, "upload_time": "2019-04-26T19:58:51", "url": "https://files.pythonhosted.org/packages/8a/3a/bed7bee07d017e5e3691f8376e59f29449ec96479e33c79692de6152dc52/fifbucket-0.10.1.tar.gz" } ], "0.10.2": [ { "comment_text": "", "digests": { "md5": "014520426fa121dbe0f5adbf25f89b29", "sha256": "a4289db17af48da52150cf8835c98ebff53c433c69a4c4742f87298794d2559f" }, "downloads": -1, "filename": "fifbucket-0.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "014520426fa121dbe0f5adbf25f89b29", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4850, "upload_time": "2019-04-26T20:04:32", "url": "https://files.pythonhosted.org/packages/a9/13/052f4accf84111458b50c7d118a8fdf63c8757bfca0929c5dab405d50bd8/fifbucket-0.10.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f498cbce1843a5e5768ae91693ece08", "sha256": "c493e82626a93c83efd431022571cf8a1a56895e7368c233162ec4f603892bf0" }, "downloads": -1, "filename": "fifbucket-0.10.2.tar.gz", "has_sig": false, "md5_digest": "2f498cbce1843a5e5768ae91693ece08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3301, "upload_time": "2019-04-26T20:04:36", "url": "https://files.pythonhosted.org/packages/de/d5/6dc220f4d806be58c75b53d0553099c1fe0cfcc68a46820d969c13297bbe/fifbucket-0.10.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7ae17770c1d02f4d6c3aeb8a143d8cc0", "sha256": "9747d512c26e55c72bc68506f6f829e2fcd4465bdb3ebd54bb3b3d76c8392d69" }, "downloads": -1, "filename": "fifbucket-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ae17770c1d02f4d6c3aeb8a143d8cc0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1936, "upload_time": "2018-03-14T14:52:10", "url": "https://files.pythonhosted.org/packages/0e/ed/bc34cf588698a0d4f2ec1a570d29c52d5d4c82de315796e1e16dfebe6e76/fifbucket-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba987e14a92be37095731f50430c57dd", "sha256": "20bec2b4e1a31389303bbcc22be55ab163829fd0c264e5be140e31cfe3287264" }, "downloads": -1, "filename": "fifbucket-0.2.tar.gz", "has_sig": false, "md5_digest": "ba987e14a92be37095731f50430c57dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 896, "upload_time": "2018-03-14T14:52:11", "url": "https://files.pythonhosted.org/packages/3f/93/7595534cf82ea133c3638569536175e7e2969a2227c5cfb4d2d48e3c5c5e/fifbucket-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "4887b459434a952b303aa3f342ce2160", "sha256": "2f8ae843bd4d31d30ebc2fc7fd5b9980edfaa261b2671354df7b1cfa06bcda4b" }, "downloads": -1, "filename": "fifbucket-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4887b459434a952b303aa3f342ce2160", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2962, "upload_time": "2018-03-14T15:04:32", "url": "https://files.pythonhosted.org/packages/8a/21/9b3c43fdc47dc3c2faf5b9895ac8738340e1fa53a74e787c758707c1d91b/fifbucket-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ab93ef46f4fd440881981568fcdf1a", "sha256": "cd49d7c395d26d1ff677e528f2e17d9ff09341bb4fc1424aba66901d26ca9e8b" }, "downloads": -1, "filename": "fifbucket-0.3.tar.gz", "has_sig": false, "md5_digest": "91ab93ef46f4fd440881981568fcdf1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1667, "upload_time": "2018-03-14T15:04:33", "url": "https://files.pythonhosted.org/packages/34/6d/cba57a64d990807d47af7523716c8bbf16198f462ca931b97d0828ba83df/fifbucket-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "cf31ea0ece80f730fbf34bf0651a3457", "sha256": "cc74c599440e78f77c51d4e94b66c104591e4d6a5ac8a2cb4f5363be9ea1f7c9" }, "downloads": -1, "filename": "fifbucket-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cf31ea0ece80f730fbf34bf0651a3457", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3781, "upload_time": "2018-03-14T15:18:19", "url": "https://files.pythonhosted.org/packages/59/66/6617a2e17a6b796560ad860cd6d0d88ef4860a87ef36cd00a1904b780c20/fifbucket-0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6f5290dbbca93f14de02aa139b8579e", "sha256": "6d4a1358165ca2b3387b9fa80b9bb709945f2f4aa3879020845c83500194fd67" }, "downloads": -1, "filename": "fifbucket-0.4.tar.gz", "has_sig": false, "md5_digest": "d6f5290dbbca93f14de02aa139b8579e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1664, "upload_time": "2018-03-14T15:18:20", "url": "https://files.pythonhosted.org/packages/50/a3/b590d44cb28c616c8f75dc69feacfc62a75489995f50872fc2cb5c130933/fifbucket-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "a4a074766107eac2fbc22449c523a28f", "sha256": "6aa1bccff1c3128fd89b87b59f98c32e33b42f27c9e538209f2a7bf19b45e6f3" }, "downloads": -1, "filename": "fifbucket-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a4a074766107eac2fbc22449c523a28f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3808, "upload_time": "2018-03-15T17:42:20", "url": "https://files.pythonhosted.org/packages/90/28/973b553febc10b2a6b1bfbcacc3783b4e6c0724092928df3e67784009759/fifbucket-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "56697515a691cac66e982c709b9ea801", "sha256": "5b5e766dcc2bf1e8346f1fd778d523bbcf9cfc6f714feda773779a85c28a39d8" }, "downloads": -1, "filename": "fifbucket-0.5.tar.gz", "has_sig": false, "md5_digest": "56697515a691cac66e982c709b9ea801", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1664, "upload_time": "2018-03-15T17:42:21", "url": "https://files.pythonhosted.org/packages/11/8d/ff656412e68730a1cb011bfb11f386e6646f06d5422d190ade4d8dd023ec/fifbucket-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "adce97b3216807ba0c4d0e49b63d4199", "sha256": "b3129a3d7f80ddf84fa1959e1b00631d630ddf1a1ae7731b791bf133e90be4fa" }, "downloads": -1, "filename": "fifbucket-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "adce97b3216807ba0c4d0e49b63d4199", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3929, "upload_time": "2018-03-15T21:23:50", "url": "https://files.pythonhosted.org/packages/b2/99/2f2fd0ed64ced58c544b61e1fe24de8477d9bae7fdd0b6b70be1bf84744a/fifbucket-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc6edf26cf40b1a744163c85566d212a", "sha256": "409fd316bbd2e6a3be77fc364a817295ad92ac179bd992b14206c1915b459824" }, "downloads": -1, "filename": "fifbucket-0.6.tar.gz", "has_sig": false, "md5_digest": "bc6edf26cf40b1a744163c85566d212a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1775, "upload_time": "2018-03-15T21:23:51", "url": "https://files.pythonhosted.org/packages/fd/8f/0d60788a56389b7de3606e4b7534aba41fa14cfacb705497533c0fda62d2/fifbucket-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "c8a20062eb4cce4fbf00e95f43ecc533", "sha256": "d3f4a5a4bb559fefcb78294742195fb44d515e9c5332f410607bc2971bbeaa5f" }, "downloads": -1, "filename": "fifbucket-0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c8a20062eb4cce4fbf00e95f43ecc533", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3928, "upload_time": "2018-03-15T21:47:53", "url": "https://files.pythonhosted.org/packages/d9/95/863a343af76b817d5c287590e50468f4df9ee39bff053fb43522456d2c44/fifbucket-0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a2f1ebeeb07823cd11d7b8d7e0c0415", "sha256": "bff241ae5ac2cb2e537b3bd836641b4990f3a80790d7ccff449ba81e8e6ae629" }, "downloads": -1, "filename": "fifbucket-0.7.tar.gz", "has_sig": false, "md5_digest": "9a2f1ebeeb07823cd11d7b8d7e0c0415", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1782, "upload_time": "2018-03-15T21:47:54", "url": "https://files.pythonhosted.org/packages/63/1a/4aa109538d6c2156149bcd1b0d4f2f9a9df005d75067c6b0f8ffd2a39abb/fifbucket-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "4bac55d301ff2080b816de290a28a600", "sha256": "f23f5e33a81ef1bde3b644f20e8bdb9922ce08c32305bce25584c0fbd5ead042" }, "downloads": -1, "filename": "fifbucket-0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4bac55d301ff2080b816de290a28a600", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3260, "upload_time": "2019-01-05T04:11:25", "url": "https://files.pythonhosted.org/packages/00/67/4a9a61adf8334dcf85b1d2fa07db54de590ae8f3b913c9a898cec194c071/fifbucket-0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ac0a3a0866c03b1c634694d0ca41fe9", "sha256": "637a559db582ac0d52fea616328e180499bc91b33ab88a45d3a705d4e8d3420b" }, "downloads": -1, "filename": "fifbucket-0.8.tar.gz", "has_sig": false, "md5_digest": "0ac0a3a0866c03b1c634694d0ca41fe9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1894, "upload_time": "2019-01-05T04:11:12", "url": "https://files.pythonhosted.org/packages/4b/33/831b575466ef934ea955463b4f46b525d4a97764d6ca566ba3f6e6eaaa79/fifbucket-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "3ce9a526177ed18df4e18dddedd9c301", "sha256": "e3c5faeb8d18174dba217eddf531b290e5cc5f830b8a5de1ab5822af5b5cefa0" }, "downloads": -1, "filename": "fifbucket-0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ce9a526177ed18df4e18dddedd9c301", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4805, "upload_time": "2019-01-06T00:59:12", "url": "https://files.pythonhosted.org/packages/89/d5/8a378c79b53170a27ccf087cf32b55680dc450e636d815989cd1497cb51a/fifbucket-0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0a2a2ea3dc4647597e6178e444c5db3", "sha256": "1c96d5bdb3e4dd723635aeb443a676582a24fe39eba0165c2fa994a95fa7f50f" }, "downloads": -1, "filename": "fifbucket-0.9.tar.gz", "has_sig": false, "md5_digest": "e0a2a2ea3dc4647597e6178e444c5db3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3326, "upload_time": "2019-01-06T00:59:14", "url": "https://files.pythonhosted.org/packages/78/95/c4d0a0c6648c99f2307da4c8397191cba40f969dbe7ff5c60b187cfd2853/fifbucket-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "014520426fa121dbe0f5adbf25f89b29", "sha256": "a4289db17af48da52150cf8835c98ebff53c433c69a4c4742f87298794d2559f" }, "downloads": -1, "filename": "fifbucket-0.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "014520426fa121dbe0f5adbf25f89b29", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4850, "upload_time": "2019-04-26T20:04:32", "url": "https://files.pythonhosted.org/packages/a9/13/052f4accf84111458b50c7d118a8fdf63c8757bfca0929c5dab405d50bd8/fifbucket-0.10.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f498cbce1843a5e5768ae91693ece08", "sha256": "c493e82626a93c83efd431022571cf8a1a56895e7368c233162ec4f603892bf0" }, "downloads": -1, "filename": "fifbucket-0.10.2.tar.gz", "has_sig": false, "md5_digest": "2f498cbce1843a5e5768ae91693ece08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3301, "upload_time": "2019-04-26T20:04:36", "url": "https://files.pythonhosted.org/packages/de/d5/6dc220f4d806be58c75b53d0553099c1fe0cfcc68a46820d969c13297bbe/fifbucket-0.10.2.tar.gz" } ] }