{ "info": { "author": "Shlomi Ben-David", "author_email": "shlomi.ben.david@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": "# PYLIB3\n\n- The pylib3 is a shared python library, that includes common functions\n that can be used in any python package.\n- This package can be used both with python2 and python3\n\n## Usage:\n- Install the pylib3 package (inside your project virtual environment)\n```\npip install pylib3\n```\n\n- To import the pylib3 package\n```\nimport pylib3\n```\n\n- To use one of the common functions from the pylib3 package\n```\nfrom pylib3 import timer\n```\n\n## Common Functions:\n\n```\nget_version(caller, version_file)\n```\n\nGets the version number from the version_file\n\nparam str caller: source file caller (i.e __file__)\nparam str version_file: a version file to get the version number from\nreturns (str): version number or '0.0.0' if the version_file doesn't exists\n\n```\ninit_logging(log_file, verbose=False, console=False)\n```\n\nLogger initialization\n\nparam str log_file: log file name\nparam bool console: if set to True will print logs both to a file and to stdout (console)\nparam bool verbose: if set to True will print more information\n\n```\ntimer(func)\n```\n\nThis function used as a decorator function to print the\nelapsed time of the passed function\n\nparam obj func: original function\nreturns (obj): wrapper function", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/shlomi.ben.david/pylib3", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pylib3", "package_url": "https://pypi.org/project/pylib3/", "platform": "", "project_url": "https://pypi.org/project/pylib3/", "project_urls": { "Homepage": "https://gitlab.com/shlomi.ben.david/pylib3" }, "release_url": "https://pypi.org/project/pylib3/0.0.3/", "requires_dist": null, "requires_python": ">=2.7", "summary": "Python Shared Library", "version": "0.0.3" }, "last_serial": 5879963, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3526dd6b3830bb43ee9393faca9163fb", "sha256": "f8199c58d326d481808ca50feb9d10bc42df3634cf430dfb3abf72f2d56bfdb1" }, "downloads": -1, "filename": "pylib3-0.0.1.tar.gz", "has_sig": false, "md5_digest": "3526dd6b3830bb43ee9393faca9163fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6923, "upload_time": "2019-09-02T22:31:54", "url": "https://files.pythonhosted.org/packages/64/68/64546d4222808a4473743ac7eeb23198194271875fc240ebdefe8acf1d79/pylib3-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e5425006502774984b50c6e91f6353f4", "sha256": "0c7ccbde16656ecce66eefca160f41778f69169f63de043e32769d17f582ea6a" }, "downloads": -1, "filename": "pylib3-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e5425006502774984b50c6e91f6353f4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7199, "upload_time": "2019-09-02T23:02:10", "url": "https://files.pythonhosted.org/packages/1a/68/351131c6a0560a75bb9cae6559b564ae34e636fb32bbf98922a2cfb7e58c/pylib3-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0ad1312f4941aa12e2d94ad68019acb4", "sha256": "8c61e189839c39ab37b56ac78f6cfc464fdd523421aad2baa2484433b61da0c0" }, "downloads": -1, "filename": "pylib3-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0ad1312f4941aa12e2d94ad68019acb4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7767, "upload_time": "2019-09-24T14:12:43", "url": "https://files.pythonhosted.org/packages/a2/cd/2a95a18bcab8ca8240a72430fedc0c6920ed4eb9cf606ccd2c10b86807cb/pylib3-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ad1312f4941aa12e2d94ad68019acb4", "sha256": "8c61e189839c39ab37b56ac78f6cfc464fdd523421aad2baa2484433b61da0c0" }, "downloads": -1, "filename": "pylib3-0.0.3.tar.gz", "has_sig": false, "md5_digest": "0ad1312f4941aa12e2d94ad68019acb4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 7767, "upload_time": "2019-09-24T14:12:43", "url": "https://files.pythonhosted.org/packages/a2/cd/2a95a18bcab8ca8240a72430fedc0c6920ed4eb9cf606ccd2c10b86807cb/pylib3-0.0.3.tar.gz" } ] }