{ "info": { "author": "Ali Raja ", "author_email": "alir6716@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "AgeCalc\r\n=======\r\n\r\n\r\nSynopsis\r\n--------\r\n\r\nCalculates birth information based on a specified Date of Birth.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\npip install agecalc\r\n\r\n\r\n\r\nWhat's Inside\r\n-------------\r\n\r\nClasses\r\n~~~~~~~\r\n\r\nAgeCalc\r\n^^^^^^^\r\n\r\nThis stores the DOB data into a class. You can then use the methods\r\nbelow to get data from this.\r\n\r\nFunctions\r\n~~~~~~~~~\r\n\r\nage\r\n^^^\r\n\r\nDisplays a DOB's age in years.\r\n\r\nage\\_days\r\n^^^^^^^^^\r\n\r\nDisplays a DOB's age in days.\r\n\r\nage\\_hours\r\n^^^^^^^^^^\r\n\r\nDisplays a DOB's age in hours.\r\n\r\nage\\_months\r\n^^^^^^^^^^^\r\n\r\nDisplays a DOB's age in months.\r\n\r\nage\\_weeks\r\n^^^^^^^^^^\r\n\r\nDisplays a DOB's age in weeks.\r\n\r\nage\\_weeks\\_days\r\n^^^^^^^^^^^^^^^^\r\n\r\nDisplays a DOB's age in weeks/days. Will return a dictionary with the\r\n'weeks' and 'days' keys, and their values.\r\n\r\nage\\_years\\_months\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nDisplays a DOB\ufffds age in years/months. Will return a dictionary with the\r\n'years' and 'months' keys, and their values.\r\n\r\ndating\\_ages\r\n^^^^^^^^^^^^\r\n\r\nDisplays the socially acceptable dating ages for a person. Will return a \r\ndictionary with the \"max\", \"min\" and \"original\" keys, with their values.\r\n\r\nday\\_of\\_birth\r\n^^^^^^^^^^^^^^\r\n\r\nDisplays the DAY of birth of a DOB.\r\n\r\nlast\\_birthday\r\n^^^^^^^^^^^^^^\r\n\r\nDisplays the days since a DOB's last birthday\r\n\r\nnext\\_birthday\r\n^^^^^^^^^^^^^^\r\n\r\nDisplays the days until a DOB's next birthday\r\n\r\n\r\nExample (age function)\r\n----------------------\r\n\r\nWith AgeCalc class\r\n~~~~~~~~~~~~~~~~~~\r\n\r\n.. code:: python\r\n\r\n import agecalc\r\n dob = agecalc.AgeCalc(1, 1, 2000) \r\n print dob.age\r\n\r\nWith Functions\r\n~~~~~~~~~~~~~~\r\n\r\n.. code:: python\r\n\r\n import agecalc\r\n print agecalc.age(1, 1, 2000)\r\n\r\n\r\nNotes\r\n-----\r\n\r\nAll functions/classes take only these three arguments:\r\n\r\ndd: Day\r\n\r\nmm: Month\r\n\r\nyy: Year\r\n\r\nDates should be passed as if they were integers. If the Date/Month\r\ncontains a '0' before the integer, the '0' should be ommitted.\r\n\r\nE.G. DOB '01/01/2000' should be passed as:\r\n\r\ndd: 1\r\n\r\nmm: 1\r\n\r\nyy: 2000\r\n\r\n\r\nSubmitting an Issue\r\n-------------------\r\n\r\nIf you wish to submit an issue with this module, or suggest any changes,\r\nyou can either use the `GitHub Issue Tracker`_, or email me at\r\nalir6716@gmail.com\r\n\r\n\r\nCopyright/License\r\n-----------------\r\n\r\nCopyright (C) 2015, Ali Raja\r\n\r\nThis program is free software: you can redistribute it and/or modify it\r\nunder the terms of the GNU General Public License as published by the\r\nFree Software Foundation, either version 3 of the License, or (at your\r\noption) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but\r\nWITHOUT ANY WARRANTY; without even the implied warranty of\r\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\r\nPublic License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along\r\nwith this program. If not, see http://www.gnu.org/licenses/.\r\n\r\n.. _GitHub Issue Tracker: https://github.com/alir6716/agecalc/issues", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/alir6716/agecalc/tarball/3.5.2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://alir6716.me/agecalc", "keywords": "agecalc,age,calculator", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "agecalc", "package_url": "https://pypi.org/project/agecalc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/agecalc/", "project_urls": { "Download": "https://github.com/alir6716/agecalc/tarball/3.5.2", "Homepage": "http://alir6716.me/agecalc" }, "release_url": "https://pypi.org/project/agecalc/3.5.2/", "requires_dist": null, "requires_python": null, "summary": "Calculates birth information based on a specified Date of Birth.", "version": "3.5.2" }, "last_serial": 1628922, "releases": { "2.0": [ { "comment_text": "", "digests": { "md5": "d35c0019e3152ec3236881784b27a7f7", "sha256": "47d28db15678ac3bee1ef94d314a7597b61684372e8d22c03f56543a8b8f0034" }, "downloads": -1, "filename": "agecalc-2.0.zip", "has_sig": false, "md5_digest": "d35c0019e3152ec3236881784b27a7f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2475, "upload_time": "2015-04-08T11:30:29", "url": "https://files.pythonhosted.org/packages/d2/01/d3fce65221d7f742958298c69107342656e841d75863b2ff62f1734d19a9/agecalc-2.0.zip" } ], "3.1": [ { "comment_text": "", "digests": { "md5": "b07710094cfa687332266a4b20f44df7", "sha256": "405d0db9d7ea50d0d4eb8b6d31fdfd5a7af79d6da07fed628e2e99d94dbe5a96" }, "downloads": -1, "filename": "agecalc-3.1.zip", "has_sig": false, "md5_digest": "b07710094cfa687332266a4b20f44df7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2473, "upload_time": "2015-04-11T11:46:30", "url": "https://files.pythonhosted.org/packages/98/37/4e998be237626ad1a85f75d9c47ea8556cadc5a6453544d14a4f2ade1059/agecalc-3.1.zip" } ], "3.2": [ { "comment_text": "", "digests": { "md5": "d6c6b0b454816e023f9c5c2bbc1cda3f", "sha256": "b799dedf2c6afdec7ff0f6822788a33c5e5a6227591cfc2822036fd4f9544fc9" }, "downloads": -1, "filename": "agecalc-3.2.zip", "has_sig": false, "md5_digest": "d6c6b0b454816e023f9c5c2bbc1cda3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2439, "upload_time": "2015-04-12T17:06:43", "url": "https://files.pythonhosted.org/packages/ea/d3/0b68a85078dca0547c725fd7c8a00a9160129459ebec627d18ef8a27ab94/agecalc-3.2.zip" } ], "3.3": [ { "comment_text": "", "digests": { "md5": "94b58e33f6b035b20f047ec1a09fed0d", "sha256": "1fe3b0fff16148570201b8933b85c2b650eee11d9d1d6c4518a07e8d43913d35" }, "downloads": -1, "filename": "agecalc-3.3.zip", "has_sig": false, "md5_digest": "94b58e33f6b035b20f047ec1a09fed0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2449, "upload_time": "2015-04-13T11:37:32", "url": "https://files.pythonhosted.org/packages/c4/fe/93783a3f00d353ba15aaddef41bb8e6ed30a2c45da593f609eec456db68e/agecalc-3.3.zip" } ], "3.4": [ { "comment_text": "", "digests": { "md5": "ecbf95c2998278d31b0d9588c0fbd3cf", "sha256": "e55da6eca38d92469089ed731c240576dd2dd11090eed53a813f8ec06a8d6b39" }, "downloads": -1, "filename": "agecalc-3.4.zip", "has_sig": false, "md5_digest": "ecbf95c2998278d31b0d9588c0fbd3cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2632, "upload_time": "2015-05-03T10:17:21", "url": "https://files.pythonhosted.org/packages/14/12/282418a8a296a82815f5c6d81411b2c22124cd97285755f3456b2aae936e/agecalc-3.4.zip" } ], "3.4.1": [ { "comment_text": "", "digests": { "md5": "5a3a2d1713c93dfce59fe3d500ac1cae", "sha256": "dd28586ea4b49b408c6b55607da1716dac18dc0472b740d5f50519c08727e743" }, "downloads": -1, "filename": "agecalc-3.4.1.zip", "has_sig": false, "md5_digest": "5a3a2d1713c93dfce59fe3d500ac1cae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2658, "upload_time": "2015-05-14T15:59:51", "url": "https://files.pythonhosted.org/packages/6d/e4/8c723811a69c1c6571eab813fe8759e9c2bd9cc034aa664fb4a7ee6dfd63/agecalc-3.4.1.zip" } ], "3.4.2": [ { "comment_text": "", "digests": { "md5": "bd70caa9c1935635e3bcc26a814f5c28", "sha256": "1da1dfe0a8a976e0a78e1ba853b6a8029a9deb3cc5d0be1d6f26ab27258ec292" }, "downloads": -1, "filename": "agecalc-3.4.2.zip", "has_sig": false, "md5_digest": "bd70caa9c1935635e3bcc26a814f5c28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2717, "upload_time": "2015-05-31T13:58:05", "url": "https://files.pythonhosted.org/packages/de/1d/654d0f6f384645a7b70cb1284c502abb7ab0de0e437f3b3db8fa0c43ca1c/agecalc-3.4.2.zip" } ], "3.5.0": [ { "comment_text": "", "digests": { "md5": "0a88c97e791fb0df07833a4c722306d8", "sha256": "4ebb2450b92b575b6bce4147868575f45c1a93846b47185900488fdf6edbba7b" }, "downloads": -1, "filename": "agecalc-3.5.0.zip", "has_sig": false, "md5_digest": "0a88c97e791fb0df07833a4c722306d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3151, "upload_time": "2015-06-14T14:04:12", "url": "https://files.pythonhosted.org/packages/8e/4c/3a462c531c9671df0b1b6543d335fe96b0cbf44c93d81018a3bf2ba035a0/agecalc-3.5.0.zip" } ], "3.5.1": [ { "comment_text": "", "digests": { "md5": "009bca50c1e303692dec42e0ddbbe58c", "sha256": "cb159350140425eca26389a1f0c3dd1fcdbc9475bbdd88d18f4e6b9cc7073c8f" }, "downloads": -1, "filename": "agecalc-3.5.1.zip", "has_sig": false, "md5_digest": "009bca50c1e303692dec42e0ddbbe58c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4546, "upload_time": "2015-07-01T15:02:41", "url": "https://files.pythonhosted.org/packages/ad/ee/f21defa223ba5bdeb775c3f25af044c90532779fa840a9876fd61361a7d8/agecalc-3.5.1.zip" } ], "3.5.2": [ { "comment_text": "", "digests": { "md5": "ee6ae9d1b81f2057258c7e02d65ff1d9", "sha256": "3a719fd444d0c9de05bff84be1ec16c270bf2f3b25871535851f3691eae54fd0" }, "downloads": -1, "filename": "agecalc-3.5.2.zip", "has_sig": false, "md5_digest": "ee6ae9d1b81f2057258c7e02d65ff1d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4541, "upload_time": "2015-07-11T12:53:55", "url": "https://files.pythonhosted.org/packages/5d/37/3ca78c3d3d9182605638873d9aee086c2b232f72de1ed81eb8b678151d41/agecalc-3.5.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee6ae9d1b81f2057258c7e02d65ff1d9", "sha256": "3a719fd444d0c9de05bff84be1ec16c270bf2f3b25871535851f3691eae54fd0" }, "downloads": -1, "filename": "agecalc-3.5.2.zip", "has_sig": false, "md5_digest": "ee6ae9d1b81f2057258c7e02d65ff1d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4541, "upload_time": "2015-07-11T12:53:55", "url": "https://files.pythonhosted.org/packages/5d/37/3ca78c3d3d9182605638873d9aee086c2b232f72de1ed81eb8b678151d41/agecalc-3.5.2.zip" } ] }