{ "info": { "author": "Carlos Ferras", "author_email": "c4rlos.ferra5@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "## Ormuco Code Challenge\n\nThis project has been created only for demonstration purpose.\n>\n> ### The challenge\n>\n> The goal of this\u00a0question\u00a0is to write a software library that accepts 2 version string as input and returns whether one is greater than, equal, or less than the other. As an example: \u201c1.2\u201d is greater than \u201c1.1\u201d. Please provide all\u00a0test\u00a0cases you could think of.\n>\n\n\n### The Answer\n\nsource directory: `./compare_versions`\n\n- Run `pip3 install cf_compare_versions`\n\nusage: \n```\nfrom compare_versions.compare_versions import compare_versions\n\nresult = compare_versions('1.0.0.2.9', '1.0.0.3.4')\n\n# It will return:\n# A positive number: If the first version is greater than the second \n# A negative number: If the first version is smaller than the second\n# Zero: If the versions are equals\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlos-ferras/code-challenge/compare_versions", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cf-compare-versions", "package_url": "https://pypi.org/project/cf-compare-versions/", "platform": "", "project_url": "https://pypi.org/project/cf-compare-versions/", "project_urls": { "Homepage": "https://github.com/carlos-ferras/code-challenge/compare_versions" }, "release_url": "https://pypi.org/project/cf-compare-versions/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Compare version strings", "version": "0.0.2" }, "last_serial": 5234516, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "1afd9bf82bd84908a2a7168003b741d4", "sha256": "bf16ef18a3b2a8653796d79f194dd8c08205c5cba46c772428485eba6ca761ff" }, "downloads": -1, "filename": "cf_compare_versions-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "1afd9bf82bd84908a2a7168003b741d4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3505, "upload_time": "2019-05-06T19:07:15", "url": "https://files.pythonhosted.org/packages/c0/1a/a6e419820715198c66e6fd4d1fd27af2c2aa3a181549514f3282cb67740e/cf_compare_versions-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "829137b4d873adaf27b5d6bb2ed651b1", "sha256": "567c3deaf35ca08afc4265bbadbd407b217ada0d63ec698eb2009c6a2cff73c9" }, "downloads": -1, "filename": "cf_compare_versions-0.0.1.tar.gz", "has_sig": false, "md5_digest": "829137b4d873adaf27b5d6bb2ed651b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1769, "upload_time": "2019-05-06T19:07:17", "url": "https://files.pythonhosted.org/packages/ae/1b/725d07b2e178752090425f8ca2e51e92c1c48e6a4f5622d106f4651a7a0e/cf_compare_versions-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "daf97dfb5aefa2f235fe02c9f6f63592", "sha256": "947e363f0bc597cc62b0c82ebdf471cb6929a4b6e57529769279930fafd64885" }, "downloads": -1, "filename": "cf_compare_versions-0.0.2.tar.gz", "has_sig": false, "md5_digest": "daf97dfb5aefa2f235fe02c9f6f63592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1657, "upload_time": "2019-05-06T19:35:31", "url": "https://files.pythonhosted.org/packages/a2/8d/0aea481f4e31bb94f84a2fcb757777f8657fe8a6d6b298307f241fb28608/cf_compare_versions-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "daf97dfb5aefa2f235fe02c9f6f63592", "sha256": "947e363f0bc597cc62b0c82ebdf471cb6929a4b6e57529769279930fafd64885" }, "downloads": -1, "filename": "cf_compare_versions-0.0.2.tar.gz", "has_sig": false, "md5_digest": "daf97dfb5aefa2f235fe02c9f6f63592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1657, "upload_time": "2019-05-06T19:35:31", "url": "https://files.pythonhosted.org/packages/a2/8d/0aea481f4e31bb94f84a2fcb757777f8657fe8a6d6b298307f241fb28608/cf_compare_versions-0.0.2.tar.gz" } ] }