{ "info": { "author": "Luca Cappelletti", "author_email": "cappelletti.luca94@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "extra_keras_utils\n=========================================================================================\n|travis| |sonar_quality| |sonar_maintainability| |codacy| |code_climate_maintainability| |pip| |downloads|\n\nPython package collecting commonly used snippets for the Keras library.\n\nHow do I install this package?\n----------------------------------------------\nAs usual, just download it using pip:\n\n.. code:: shell\n\n pip install extra_keras_utils\n\nTests Coverage\n----------------------------------------------\nSince some software handling coverages sometime get slightly different results, here's three of them:\n\n|coveralls| |sonar_coverage| |code_climate_coverage|\n\nis_gpu_available\n--------------------------------------\nMethod that returns a boolean if a GPU is detected or not.\n\n.. code:: python\n\n from extra_keras_utils import is_gpu_available\n\n if is_gpu_available():\n print(\"Using gpu!\")\n\nis_multi_gpu\n--------------------------------------\nMethod that returns a boolean if more than one GPU is detected.\n\n.. code:: python\n\n from extra_keras_utils import is_multi_gpu\n\n if is_multi_gpu():\n print(\"More than one GPU is available!\")\n\nset_seed\n--------------------------------------\nMethod to get reproducible results.\n\n.. code:: python\n\n from extra_keras_utils import set_seed\n\n set_seed(42) # set as seed 42, the results are nearly reproducible.\n set_seed(42, kill_parallelism=true) # set as seed 42, the results are fully reproducible.\n\n.. |travis| image:: https://travis-ci.org/LucaCappelletti94/extra_keras_utils.png\n :target: https://travis-ci.org/LucaCappelletti94/extra_keras_utils\n :alt: Travis CI build\n\n.. |sonar_quality| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_extra_keras_utils&metric=alert_status\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_extra_keras_utils\n :alt: SonarCloud Quality\n\n.. |sonar_maintainability| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_extra_keras_utils&metric=sqale_rating\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_extra_keras_utils\n :alt: SonarCloud Maintainability\n\n.. |sonar_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_extra_keras_utils&metric=coverage\n :target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_extra_keras_utils\n :alt: SonarCloud Coverage\n\n.. |coveralls| image:: https://coveralls.io/repos/github/LucaCappelletti94/extra_keras_utils/badge.svg?branch=master\n :target: https://coveralls.io/github/LucaCappelletti94/extra_keras_utils?branch=master\n :alt: Coveralls Coverage\n\n.. |pip| image:: https://badge.fury.io/py/extra-keras-utils.svg\n :target: https://badge.fury.io/py/extra-keras-utils\n :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/extra-keras-utils\n :target: https://pepy.tech/badge/extra-keras-utils\n :alt: Pypi total project downloads \n\n.. |codacy| image:: https://api.codacy.com/project/badge/Grade/cfef06c9def842369ce3a6ef9ea12a51\n :target: https://www.codacy.com/app/LucaCappelletti94/extra_keras_utils?utm_source=github.com&utm_medium=referral&utm_content=LucaCappelletti94/extra_keras_utils&utm_campaign=Badge_Grade\n :alt: Codacy Maintainability\n\n.. |code_climate_maintainability| image:: https://api.codeclimate.com/v1/badges/eb5c1a23d890b8da6cd5/maintainability\n :target: https://codeclimate.com/github/LucaCappelletti94/extra_keras_utils/maintainability\n :alt: Maintainability\n\n.. |code_climate_coverage| image:: https://api.codeclimate.com/v1/badges/eb5c1a23d890b8da6cd5/test_coverage\n :target: https://codeclimate.com/github/LucaCappelletti94/extra_keras_utils/test_coverage\n :alt: Code Climate Coverate", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LucaCappelletti94/extra_keras_utils", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "extra-keras-utils", "package_url": "https://pypi.org/project/extra-keras-utils/", "platform": "", "project_url": "https://pypi.org/project/extra-keras-utils/", "project_urls": { "Homepage": "https://github.com/LucaCappelletti94/extra_keras_utils" }, "release_url": "https://pypi.org/project/extra-keras-utils/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "Python package collecting commonly used snippets for the Keras library.", "version": "1.0.4" }, "last_serial": 5935847, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "94a7825c6c51c9d6c833eb77af0877a0", "sha256": "493f9f93ec87dedd626d7c9248d4234f59cfaa63a746b71e30a71828cea74a88" }, "downloads": -1, "filename": "extra_keras_utils-1.0.0.tar.gz", "has_sig": false, "md5_digest": "94a7825c6c51c9d6c833eb77af0877a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3165, "upload_time": "2019-05-25T12:59:44", "url": "https://files.pythonhosted.org/packages/4a/a1/67e99c8f3ce435de345046de59ff5864a1daa7a6abe4ebbd8b10550c51fe/extra_keras_utils-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "ac01ee206d0dd774eb0eb755a89b9e79", "sha256": "7b2774324945f4351931870ffa3bc726494be50efdf1dfca0039e0bb9d7672ce" }, "downloads": -1, "filename": "extra_keras_utils-1.0.1.tar.gz", "has_sig": false, "md5_digest": "ac01ee206d0dd774eb0eb755a89b9e79", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3241, "upload_time": "2019-06-02T17:49:12", "url": "https://files.pythonhosted.org/packages/6e/fc/66035c968add3810662559b5c2856086dc938527640048d5de392ad67f43/extra_keras_utils-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ece43995d6eea712df057c5c0850413f", "sha256": "daf12a8fa4caac2bb3f938885c215f678af42f8ebd9161902d64ff55b2c85689" }, "downloads": -1, "filename": "extra_keras_utils-1.0.2.tar.gz", "has_sig": false, "md5_digest": "ece43995d6eea712df057c5c0850413f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3249, "upload_time": "2019-07-02T08:39:15", "url": "https://files.pythonhosted.org/packages/c6/64/aaa2302b44040ed4229691fe6f52973851b07798465800c959c3792efadf/extra_keras_utils-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e46b4aa5ecc316b7c8e33ce27e2fde82", "sha256": "d18d5e3c5601d0aac5b634ad7930e12e874c17d4b5611abaecb4a3a6217b5c4f" }, "downloads": -1, "filename": "extra_keras_utils-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e46b4aa5ecc316b7c8e33ce27e2fde82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3582, "upload_time": "2019-08-08T19:10:49", "url": "https://files.pythonhosted.org/packages/55/93/007cb14ab4150c9d5615b00f509961b9abd78b9fe4f06cf7e2e80c1802e7/extra_keras_utils-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "f485d13d494bbcfa95f3fab4a77658f5", "sha256": "31bb6d51aca22cd36fe3b421f1181087b7969ba3a64f73df0e72b30447785d07" }, "downloads": -1, "filename": "extra_keras_utils-1.0.4.tar.gz", "has_sig": false, "md5_digest": "f485d13d494bbcfa95f3fab4a77658f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3570, "upload_time": "2019-10-06T20:06:47", "url": "https://files.pythonhosted.org/packages/77/c5/862ac6cbe995048d88f04460018f6320cdae601f1a7721db45aea9ffd5bc/extra_keras_utils-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f485d13d494bbcfa95f3fab4a77658f5", "sha256": "31bb6d51aca22cd36fe3b421f1181087b7969ba3a64f73df0e72b30447785d07" }, "downloads": -1, "filename": "extra_keras_utils-1.0.4.tar.gz", "has_sig": false, "md5_digest": "f485d13d494bbcfa95f3fab4a77658f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3570, "upload_time": "2019-10-06T20:06:47", "url": "https://files.pythonhosted.org/packages/77/c5/862ac6cbe995048d88f04460018f6320cdae601f1a7721db45aea9ffd5bc/extra_keras_utils-1.0.4.tar.gz" } ] }