{ "info": { "author": "Martin P. Hellwig", "author_email": "martin.hellwig@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": ".. image:: https://img.shields.io/codeship/7ce18320-21cb-0134-bdd9-5a97be3a7e25/default.svg\n :target: https://bitbucket.org/hellwig/BBCS-Tools\n.. image:: https://coveralls.io/repos/bitbucket/hellwig/bbcs-tools/badge.svg?branch=default \n :target: https://coveralls.io/bitbucket/hellwig/bbcs-tools?branch=default\n.. image:: https://img.shields.io/pypi/v/BBCS-Tools.svg\n :target: https://pypi.python.org/pypi/BBCS-Tools/\n.. image:: https://img.shields.io/badge/Donate-PayPal-blue.svg\n :target: https://paypal.me/MartinHellwig\n.. image:: https://img.shields.io/badge/Donate-Patreon-orange.svg\n :target: https://www.patreon.com/hellwig\n \n##########\nBBCS Tools\n##########\n\nPython3 / Bitbucket / Codeship / Mercurial / Coveralls / PyPI Integration.\n\nWhat is it?\n===========\n- Tools for integrating several services together.\n\nWhat problem does it solve?\n===========================\n- Uploading build status to the hg commit in Bitbucket\n- Uploading coverage status to coveralls\n- Uploading packages to pypi\n\nHow do I install it?\n====================\n::\n\n $ pip install bbcs-tools\n\n\nHow do I use it?\n================\nThis package is meant to be used within codeship itself, here is a guide how I\nconfigured it:\n\nEnvironment\n-----------\nMake sure you have the following keys defined:\n\n* BB_USERNAME # This is your bitbucket username, used for updating the build status update.\n* BB_PASSWORD # This is your bitbucket password, again for the build status update.\n* COVERALLS_REPO_TOKEN # This is the token as generated by coveralls.\n* PP_USERNAME # The username you use for uploading pypi packages.\n* PP_PASSWORD # And the corresponding password.\n* RUN_SOURCE # This tells coverage only to cover the source in this directory.\n* RUN_MODULE # This is the module that contains/runs your tests, for example 'test.py'\n\nTest\n----\nTest comes in two parts, 'Setup Commands' and 'Configure Test Pipelines', you \nwant to chose 'I want to create my own custom commands'.\n\nSetup Commands\n++++++++++++++\nThis is what I have in there:\n\n.. sourcecode:: shell\n\n ################################################################################\n # Switch to python 3\n virtualenv -p $(which python3) \"${HOME}/cache/python3_env\"\n source \"${HOME}/cache/python3_env/bin/activate\"\n ################################################################################\n # First install bitbucket/codeship integration tools\n pip install bbcs-tools\n # Notify bitbucket that build has started\n bbcs_build_started\n ################################################################################\n # Now install application specific requirements\n pip install -r requirements.txt\n ################################################################################\n\n\nConfigure Test Pipelines\n++++++++++++++++++++++++\nAnd here is what is in mine:\n\n.. sourcecode:: shell\n\n ################################################################################\n # Run the unit test with coverage, if there is a fail we notify bitbucket\n coverage run --source=$RUN_SOURCE $RUN_MODULE || bbcs_build_failure\n # Notify bitbucket the build has run successfully.\n bbcs_build_stopped\n ################################################################################\n # Upload coverage data to coveralls\n bbcs_upload_coverage_to_coveralls\n ################################################################################\n \n\nDeployment\n----------\nAgain choose custom script, I have mine configure to do a build and upload on\nevery commit on the default branch. Here is what is in my deploy script:\n\n\n.. sourcecode:: shell\n\n ################################################################################\n # Build an sdist package and upload it to pypi.\n bbcs_upload_package_to_pypi\n ################################################################################\n\n \nWhat license is this?\n=====================\nTwo-clause BSD\n\n\nHow can I get support?\n======================\nPlease use the repo's bug tracker to leave behind any questions, feedback,\nsuggestions and comments. I will handle them depending on my time and what looks\ninteresting. If you require guaranteed support please contact me via\ne-mail so we can discuss appropriate compensation.\n\n\nSigning Off\n===========\nIs my work helpful or valuable to you? You can repay me by donating via:\n\nhttps://paypal.me/MartinHellwig\n\n.. image:: https://img.shields.io/badge/PayPal-MartinHellwig-blue.svg\n :target: https://paypal.me/MartinHellwig\n :alt: Donate via PayPal.Me\n :scale: 120 %\n\n-or-\n\nhttps://www.patreon.com/hellwig\n\n.. image:: https://img.shields.io/badge/Patreon-hellwig-orange.svg\n :target: https://www.patreon.com/hellwig\n :alt: Donate via Patreon\n :scale: 120 %\n\n\nThank you!", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/hellwig/BBCS-Tools/get/0d863c554c3b4f01057b5da5b2e8ddcf45fb63c3.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/hellwig/BBCS-Tools/", "keywords": "Coveralls,Codeship,BitBucket,PyPI", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "BBCS-Tools", "package_url": "https://pypi.org/project/BBCS-Tools/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/BBCS-Tools/", "project_urls": { "Download": "https://bitbucket.org/hellwig/BBCS-Tools/get/0d863c554c3b4f01057b5da5b2e8ddcf45fb63c3.zip", "Homepage": "https://bitbucket.org/hellwig/BBCS-Tools/" }, "release_url": "https://pypi.org/project/BBCS-Tools/1.0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Bitbucket Codeship integration tools.", "version": "1.0.2.1" }, "last_serial": 2355826, "releases": { "0.0.0.1": [], "0.0.0.10": [ { "comment_text": "", "digests": { "md5": "5932fa8e15c3bd1e8418fd2c7cdb6b94", "sha256": "e22600245b5af1f20f6baa69120a4a7665f27d7529addc9e3b73074ed8d90732" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.10.tar.gz", "has_sig": false, "md5_digest": "5932fa8e15c3bd1e8418fd2c7cdb6b94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4295, "upload_time": "2016-07-02T11:14:10", "url": "https://files.pythonhosted.org/packages/b8/ba/75822e39f0f1ef196812a078acd40db25c0e37a688bbbde5da3a0343d5ef/BBCS-Tools-0.0.0.10.tar.gz" } ], "0.0.0.11": [ { "comment_text": "", "digests": { "md5": "d37e030efbed23752d9542851327117d", "sha256": "a5f14525780a2f36f4e66efbb433eac5826615cc57ac0c406695397ef4390aee" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.11.tar.gz", "has_sig": false, "md5_digest": "d37e030efbed23752d9542851327117d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4288, "upload_time": "2016-07-02T11:30:40", "url": "https://files.pythonhosted.org/packages/5b/3c/a8576e14862b8d272a8ed5696c08c0e6a10ddfdaa7af4f487b945b92e1ac/BBCS-Tools-0.0.0.11.tar.gz" } ], "0.0.0.13": [ { "comment_text": "", "digests": { "md5": "f021a5b74fc513002080c3ad2b135d1f", "sha256": "826d07b2a84580a31e329c4f2abe94944a066a9e715015d9fb59e50264dc89ce" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.13.tar.gz", "has_sig": false, "md5_digest": "f021a5b74fc513002080c3ad2b135d1f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4277, "upload_time": "2016-07-02T11:35:26", "url": "https://files.pythonhosted.org/packages/ef/15/9301f475a6e3374ed1b2aea96cfcfad6d82808645e7efd7733c11e5de4bf/BBCS-Tools-0.0.0.13.tar.gz" } ], "0.0.0.14": [ { "comment_text": "", "digests": { "md5": "12bae0873646b537e40e90ac4b44548a", "sha256": "d87bea3df9a776f50131e710e3686da85197e884150998d4404ab62e78e5cec0" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.14.tar.gz", "has_sig": false, "md5_digest": "12bae0873646b537e40e90ac4b44548a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4280, "upload_time": "2016-07-02T11:38:09", "url": "https://files.pythonhosted.org/packages/6e/6a/7b8fae409fdfb9129ad403b79e50a11373d9bc1e0c36c791a69af0317954/BBCS-Tools-0.0.0.14.tar.gz" } ], "0.0.0.16": [ { "comment_text": "", "digests": { "md5": "5a348d678ea6a4e72f154b7e237a07d6", "sha256": "53d8880ff115b2ead45a2d5b3bafd754f7e66c100582f08e41ec4f9bbf2903d2" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.16.tar.gz", "has_sig": false, "md5_digest": "5a348d678ea6a4e72f154b7e237a07d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4278, "upload_time": "2016-07-02T11:47:37", "url": "https://files.pythonhosted.org/packages/2d/53/21dc2a6c8ebbc20c56e1a62054f7b700e20e382cd8f3fcc8b5a9cb49ff97/BBCS-Tools-0.0.0.16.tar.gz" } ], "0.0.0.17": [ { "comment_text": "", "digests": { "md5": "76733c497881b91caca32b858270cb83", "sha256": "654601e95cbea2b0874c2dd132c5584c6a85f6a39f699a8f142b481172bf3fc9" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.17.tar.gz", "has_sig": false, "md5_digest": "76733c497881b91caca32b858270cb83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4282, "upload_time": "2016-07-02T11:49:38", "url": "https://files.pythonhosted.org/packages/ac/ee/1eceb502d48a72daed671e648ed539a43377a62cb05e43178a57aeae6fcf/BBCS-Tools-0.0.0.17.tar.gz" } ], "0.0.0.3": [ { "comment_text": "", "digests": { "md5": "82a21ea2091efad35313dd5ab5bc63c2", "sha256": "eefa735cd1e6d009b53fcbe549925e0240c88a1f52d731ff562a604267aea4fe" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.3.tar.gz", "has_sig": false, "md5_digest": "82a21ea2091efad35313dd5ab5bc63c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4015, "upload_time": "2016-07-01T22:15:52", "url": "https://files.pythonhosted.org/packages/d3/f5/43031be16b0a356b4a435897c02c9a83e38014960f88111e0a8008bacbb9/BBCS-Tools-0.0.0.3.tar.gz" } ], "0.0.0.4": [ { "comment_text": "", "digests": { "md5": "3a91e4d3feb8bfbb2475bd5459cb0bb0", "sha256": "5e4d8c503b127fd6fdec7b647745446f70b3abc0262a6228fbc9c2f9f0897e4d" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.4.tar.gz", "has_sig": false, "md5_digest": "3a91e4d3feb8bfbb2475bd5459cb0bb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4169, "upload_time": "2016-07-01T23:49:22", "url": "https://files.pythonhosted.org/packages/12/00/c02415ed3f8fec657cfaa43834721c6a3185b8eaa9298657967e031e0ce8/BBCS-Tools-0.0.0.4.tar.gz" } ], "0.0.0.5": [ { "comment_text": "", "digests": { "md5": "9eeb72c6efad38b019d22cc87ef330b0", "sha256": "edc6975ae34016a3106b61342912d58bc47ddad70f0d6a6a18a7f409635f32bd" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.5.tar.gz", "has_sig": false, "md5_digest": "9eeb72c6efad38b019d22cc87ef330b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4214, "upload_time": "2016-07-02T00:37:41", "url": "https://files.pythonhosted.org/packages/80/e1/c30e4b4cedcb6d8159443f8549b22847130ca99490a369422c316bb94011/BBCS-Tools-0.0.0.5.tar.gz" } ], "0.0.0.6": [ { "comment_text": "", "digests": { "md5": "9a1fc11a84bb986f55b8d9dc541e463d", "sha256": "c56f7590ae6c907b90ea49534dbe00428388ee646e05e920661bcdf9238b3290" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.6.tar.gz", "has_sig": false, "md5_digest": "9a1fc11a84bb986f55b8d9dc541e463d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4265, "upload_time": "2016-07-02T01:24:00", "url": "https://files.pythonhosted.org/packages/4c/95/109f65d46dffb81de5400aba5fef6592e3fafd02c11e76978b0bcd8bd7bb/BBCS-Tools-0.0.0.6.tar.gz" } ], "0.0.0.8": [ { "comment_text": "", "digests": { "md5": "ded435d3bae103be032361de6e8bf7c2", "sha256": "115274d08dcff8d5a0070a2eaa6d799c53f2ee69e1f3b581309ce83d24998752" }, "downloads": -1, "filename": "BBCS-Tools-0.0.0.8.tar.gz", "has_sig": false, "md5_digest": "ded435d3bae103be032361de6e8bf7c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4276, "upload_time": "2016-07-02T02:10:27", "url": "https://files.pythonhosted.org/packages/e1/f2/1070adf57174f06e708697d302b9887ce8ba9d4885682b9e0cb3d2dd8157/BBCS-Tools-0.0.0.8.tar.gz" } ], "0.9.0.1": [ { "comment_text": "", "digests": { "md5": "c0d7ec59c5b4fe94804c84be65bd1076", "sha256": "687fde14db95dbd09f74838238c0b7179322d92a0c0807d8328bea5968235b9e" }, "downloads": -1, "filename": "BBCS-Tools-0.9.0.1.tar.gz", "has_sig": false, "md5_digest": "c0d7ec59c5b4fe94804c84be65bd1076", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4643, "upload_time": "2016-07-02T12:52:23", "url": "https://files.pythonhosted.org/packages/c3/91/419cc71b98acfdcb288ec50765dba7ff9698da200e75f569cc3d339a918c/BBCS-Tools-0.9.0.1.tar.gz" } ], "0.9.9.1": [ { "comment_text": "", "digests": { "md5": "61037f5468b82a1e3166bb69c3f11f42", "sha256": "0098841afc9a38b75677c184706650af7f71fae0eb3ef5442a49bb10091b93e5" }, "downloads": -1, "filename": "BBCS-Tools-0.9.9.1.tar.gz", "has_sig": false, "md5_digest": "61037f5468b82a1e3166bb69c3f11f42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4642, "upload_time": "2016-07-02T13:09:29", "url": "https://files.pythonhosted.org/packages/20/07/1d02e052b9ff4ac747890cc6acbc90b2801620a8617fe02e52baecc28898/BBCS-Tools-0.9.9.1.tar.gz" } ], "1.0.0.1": [ { "comment_text": "", "digests": { "md5": "97041e1e950c11bbf1c69e0314716049", "sha256": "f70acdabed5c4f6a0a2b727f1b553e15292f43f3812fb74afb5df6c580e4033a" }, "downloads": -1, "filename": "BBCS-Tools-1.0.0.1.tar.gz", "has_sig": false, "md5_digest": "97041e1e950c11bbf1c69e0314716049", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2016-07-02T17:19:05", "url": "https://files.pythonhosted.org/packages/98/04/aecfd8e93b0213bd0d243bc244d0880c1273c901cb03d1391b764d003bd4/BBCS-Tools-1.0.0.1.tar.gz" } ], "1.0.1.1": [ { "comment_text": "", "digests": { "md5": "4e7066956825a0ef0196d328c19fc35e", "sha256": "e4acc636403aec234b6eadaabfb7d9b48d5613011bc66973d32a78adc10cb76e" }, "downloads": -1, "filename": "BBCS-Tools-1.0.1.1.tar.gz", "has_sig": false, "md5_digest": "4e7066956825a0ef0196d328c19fc35e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5253, "upload_time": "2016-09-21T15:54:24", "url": "https://files.pythonhosted.org/packages/35/fa/bdfbc51de5c85e692441c49383d41f710c521144d1d3aae671ba51e58785/BBCS-Tools-1.0.1.1.tar.gz" } ], "1.0.2.1": [ { "comment_text": "", "digests": { "md5": "bc2804cd42fdd89e6ec492ec0aa7c118", "sha256": "64340acb1f750d118ce13553286b68bbc980ebc4f3e1ee282bff2da9848a61d3" }, "downloads": -1, "filename": "BBCS-Tools-1.0.2.1.tar.gz", "has_sig": false, "md5_digest": "bc2804cd42fdd89e6ec492ec0aa7c118", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5243, "upload_time": "2016-09-21T19:32:51", "url": "https://files.pythonhosted.org/packages/7c/86/1bfce365b54c75f1e879530f5538e69c11b3dbac243c7f735480ef4372c8/BBCS-Tools-1.0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bc2804cd42fdd89e6ec492ec0aa7c118", "sha256": "64340acb1f750d118ce13553286b68bbc980ebc4f3e1ee282bff2da9848a61d3" }, "downloads": -1, "filename": "BBCS-Tools-1.0.2.1.tar.gz", "has_sig": false, "md5_digest": "bc2804cd42fdd89e6ec492ec0aa7c118", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5243, "upload_time": "2016-09-21T19:32:51", "url": "https://files.pythonhosted.org/packages/7c/86/1bfce365b54c75f1e879530f5538e69c11b3dbac243c7f735480ef4372c8/BBCS-Tools-1.0.2.1.tar.gz" } ] }